TikTok for Developers

Developer Docs

Last updated November 24, 2026

Query Mini Drama Authorizations

Retrieves the mini apps that have been granted access to a mini drama and their authorization status. Call this endpoint with the client access token of the mini app that owns the mini drama.

Endpoint

HTTP URL

https://open.tiktokapis.com/v2/sg/shortdrama/album/authorize/query/

HTTP method

GET

Scopes

None

Request

Headers

Field

Type

Description

Required

Example

Authorization

string

The client access token of the mini app that owns the mini drama, prefixed with Bearer.

Yes

Bearer clt.example12345Example12345Example

Query parameters

Field

Type

Description

Required

Example

album_id

int64

The ID of the mini drama. Must be greater than 0.

Yes

7300000000000000001

Request example

curl --location 'https://open.tiktokapis.com/v2/sg/shortdrama/album/authorize/query/?album_id=7300000000000000001' \
--header 'Authorization: Bearer CLIENT_ACCESS_TOKEN'

Replace CLIENT_ACCESS_TOKEN with the client access token of the mini app that owns the mini drama.

Response

Response body

Field

Type

Description

data

AuthorizationData

The authorization records.

error

ErrorStruct

The error object.

AuthorizationData

Field

Type

Description

client_key_result

list<ClientKeyResult>

The authorization status of each target mini app. Omitted or empty when no authorization record exists.

ClientKeyResult

Field

Type

Description

Example

client_key

string

The client key of the target mini app. Partially masked.

mnexample0****

auth_status

int32

The authorization status. One of:
• 1: Authorized.
• 2: Removed.

1

ErrorStruct

Field

Type

Description

code

string

The error code. Omitted on success.

message

string

A human-readable description of the error.

log_id

string

The unique identifier for the request. Include this value when contacting support.

Response example

{
  "data": {
    "client_key_result": [
      {
        "client_key": "mnexample0****",
        "auth_status": 1
      },
      {
        "client_key": "mnexample1****",
        "auth_status": 2
      }
    ]
  },
  "error": {
    "log_id": "202508010000000000000000000000000"
  }
}

Error codes

Error code

Description

Resolution

5001

The service is temporarily unavailable.

Retry later. If the error persists, contact support with the log_id.

2121008

A field is missing or invalid. For example, album_id isn't greater than 0.

Provide your client key and an album_id greater than 0.

2121109

The mini drama wasn't found.

Verify the album_id and retry.

2123208

Your client key doesn't own this mini drama.

Query with the client access token of the mini app that owns the mini drama.

TikTok for Developers