Query a Mini Drama
Retrieves the versions of a mini drama, including metadata, episodes, review results, and listing status. Use this endpoint to check review results and rejection reasons.
Endpoint
HTTP URL |
|
HTTP method |
|
Scopes |
|
Request
Headers
Field | Type | Description | Required | Example |
|
| The client access token of your mini app, prefixed with | Yes |
|
Query parameters
Field | Type | Description | Required | Example |
|
| The client key of your mini app. | Yes |
|
|
| The ID of the mini drama. | Yes |
|
|
| The version to retrieve. If omitted, all versions are returned. | No |
|
Request example
curl --location --request GET 'https://open.tiktokapis.com/v2/sg/shortdrama/album/query/?client_key=CLIENT_KEY&album_id=7300000000000000001&version=2' \
--header 'Authorization: Bearer CLIENT_ACCESS_TOKEN'Replace the following:
CLIENT_KEY: your mini app's client key.CLIENT_ACCESS_TOKEN: your mini app's client access token.
Response
Response body
Field | Type | Description |
| The mini drama's versions. | |
| The error object. |
QueryAlbumData
Field | Type | Description |
| The versions of the mini drama. |
AlbumVersionInfo
Field | Type | Description | Example |
|
| The ID of the mini drama. |
|
|
| The version number. |
|
| The mini drama's metadata in this version. | See AlbumInfo. | |
| The episodes in this version. | See EpisodeInfo. | |
|
| The current draft version number. |
|
|
| The current online version number. Empty when no online version is set. |
|
|
| The listing status. One of: |
|
|
| The review status of this version. One of: |
|
|
| The reasons the version was rejected. Returned only when the version is rejected. |
|
AlbumInfo
AlbumInfo contains the AlbumInfoInput fields and the following additional fields:
Field | Type | Description | Example |
| The review result of the mini drama's metadata. Returned when the review status is | See ReviewResult. | |
|
| The listing status. One of: |
|
EpisodeInfo
Field | Type | Description | Example |
|
| The ID of the episode. |
|
|
| The title of the episode. |
|
|
| The description of the episode. |
|
|
| The episode number. |
|
|
| The episode cover image IDs. |
|
|
| The |
|
|
| The playback URL of the episode. |
|
| The review result of the episode. Returned when the review status is | See ReviewResult. | |
| The subtitles linked to the episode. | See SubtitleInfo. | |
|
| The reason the episode can't play. Returned when the video has been deleted from BytePlus. |
|
ReviewResult
Field | Type | Description | Example |
|
| The overall review status, including appeal states. Uses the same values as |
|
| The review result of each field. | See FieldReviewResult. |
FieldReviewResult
Field | Type | Description | Example |
|
| The reviewed field. |
|
|
| The type of element reviewed. One of: |
|
|
| The ID of the episode. Returned for episode fields. Empty for mini drama fields. |
|
|
| The review status of the field. One of: |
|
|
| The reasons the field was rejected. |
|
SubtitleInfo
Field | Type | Description | Example |
|
| The subtitle language. |
|
|
| The subtitle format. |
|
|
| The subtitle title. |
|
|
| The ID of the subtitle file. |
|
|
| The ID of the linked video. |
|
ErrorStruct
Field | Type | Description |
|
| The error code. Omitted on success. |
|
| A human-readable description of the error. |
|
| The unique identifier for the request. Include this value when contacting support. |
Response example
{
"data": {
"album_version_list": [
{
"album_id": 7300000000000000001,
"version": 2,
"album_info": {
"language": "en",
"title": "Example Drama",
"seq_num": 1,
"cover_list": ["b4c45eb643861b84b3b678a2f20e7acd"],
"year": 2026,
"album_status": 3,
"desp": "An example description.",
"drama_type": 1,
"tag_list": [101],
"review_result": {
"overall_review_status": 3,
"field_review_results": [
{
"field_key": "title",
"element_type": 1,
"review_status": 3,
"reject_reasons": ["Non-compliant content"]
}
]
},
"publish_status": 0
},
"episode_info_list": [
{
"episode_id": "7300000000000000002",
"title": "episode_01",
"desc": "An example episode description.",
"seq": 1,
"cover_list": ["b4c45eb643861b84b3b678a2f20e7acd"],
"byteplus_vid": "v0d000example0000000000000000000",
"byteplus_play_url": "https://example.com/play/episode-01.m3u8",
"review_result": {
"overall_review_status": 3,
"field_review_results": [
{
"field_key": "title",
"element_type": 3,
"episode_id": "7300000000000000002",
"review_status": 3,
"reject_reasons": ["Non-compliant content"]
}
]
},
"subtitle_info_list": [
{
"language": "en",
"format": "srt",
"title": "episode_01",
"file_id": "file_0000example",
"vid": "v0d000example0000000000000000000"
}
]
}
],
"current_version": 2,
"online_version": 2,
"publish_status": 0,
"review_status": 3,
"review_fail_reasons": ["Non-compliant content"]
}
]
},
"error": {
"log_id": "202508010000000000000000000000000"
}
}Error codes
Error code | Description | Resolution |
| The service is temporarily unavailable. | Retry later. If the error persists, contact support with the |
| The query is invalid. | Provide a valid |
| The mini drama wasn't found. | Verify the |
| The version wasn't found. | Verify the |
| Your client key doesn't own this mini drama. | Use the owner's client key and retry. |