API Reference
Webhooks (Subscription API)

Get subscriptions

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

Use this endpoint to get the subscriptions of a developer app (app_id and secret in the query). The access_token of each subscription is masked.

Authorization

Public route, no token.

Query parameters

app_idstringrequired

ID of your developer application. You can find the App ID by navigating to My Apps > App Detail > Basic Information.

secretstringrequired

Secret of your developer application. You can find the Secret by navigating to My Apps > App Detail > Basic Information.

subscribe_entitystring

The object that you want to subscribe to.

REPORT_DATA_CHANGEAD_ACCOUNT_SUSPENSIONLEADAD_GROUPADTCM_VIDEOSCREATIVE_FATIGUEAPI_SERVICE_STATUS
pagenumber

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

page_sizenumber

The page size. Default value:10. Value range: 1-1000.

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
subscriptionsobject[]

Subscription information.

Show child attributes
app_idstring

The App ID.

subscription_idstring

The subscription ID.

subscribe_entitystring

The object that you want to subscribe to.

REPORT_DATA_CHANGEAD_ACCOUNT_SUSPENSIONLEADAD_GROUPADTCM_VIDEOSCREATIVE_FATIGUEAPI_SERVICE_STATUS
callback_urlstring

The callback URL.

subscription_detailobject

Details about the subscription.

Show child attributes
advertiser_idsstring[]
notify_frequencystring

Returned when subscribe_entity is REPORT_DATA_CHANGE. The frequency of the notification.

advertiser_idstring

The advertiser ID.

page_idstring

The ID of the Instant Form that you want to subscribe to.

adgroup_idstring

Ad group ID.

ad_idstring

Ad ID.

page_infoobject

Pagination information.

Show child attributes
pagenumber

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

page_sizenumber

The page size.

total_numbernumber

Total number of results.

total_pagenumber

Total pages of results.

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).