API Reference
Videos, images and identities

Get identities

GET/open_api/v1.3/identity/get/
Base URL: https://tiktok-ads.mimicr.dev · provider: https://business-api.tiktok.com

Use this endpoint to get the identities of an ad account. Mimicr lists the custom identities (CUSTOMIZED_USER); filtering.keyword searches the display name.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Headers

Access-Tokenstringrequired

Authorized access token, sent in this header (not Authorization: Bearer). Marketing API tokens never expire.

Query parameters

advertiser_idstringrequired

Advertiser ID.

identity_typestring

Identity type.

CUSTOMIZED_USERAUTH_CODETT_USERBC_AUTH_TT
filteringobject

Filters, as a JSON object. Mimicr applies keyword (substring of the display name).

pagenumber

Current page number. Default value: 1. Value range: ≥ 1.

page_sizenumber

Page size.

Responses

200Response envelope {code, message, request_id, data}. code 0 (message "OK") is success. Validation and business errors also come with HTTP 200 and a non-zero code: check code, not the HTTP status.
codenumber

Return code. 0 means success; see the return codes appendix for the others.

messagestring

Return message: OK on success, otherwise the error description.

request_idstring

The log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).

dataobject

Returned data.

Show child attributes
identity_listobject[]

List of identities.

Show child attributes
identity_idstring

Identity ID.

identity_typestring

Identity type.

can_push_videoboolean

Whether the BC_AUTH_TT or TT_USER identity can create or edit videos.

can_pull_videoboolean

Whether the BC_AUTH_TT or TT_USER identity can get all videos under the TikTok account.

can_use_live_adsboolean

Whether the BC_AUTH_TTor TT_USER identity can access the live room.

display_namestring

Display name.

profile_imagestring

Profile image URL.

page_infoobject

Pagination information.

Show child attributes
pagenumber

Current page number. Default value: 1. Value range: ≥ 1.

total_pagenumber

Total pages of results.

total_numbernumber

Total number of results.

page_sizenumber

Number of results on each page.

501The route or feature is documented by TikTok but outside Mimicr's integration core: code 40014 with HTTP 501.
codeinteger

Return code. 0 means success; see the return codes appendix for the others.

messagestring

Return message: OK on success, otherwise the error description.

request_idstring

The log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).