API Reference
Webhooks (Subscription API)

Cancel a subscription

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

Use this endpoint to cancel a subscription.

Authorization

Public route, no token.

Body

application/json
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.

subscription_idstringrequired

The subscription ID. You can get the IDs of subscriptions under an app via subscription_id returned by /subscription/get/.

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.

dataobject

Returned data.

Show child attributes
subscription_idstring

The subscription ID.

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