API Reference
List authorized ad accounts
/open_api/v1.3/oauth2/advertiser/get/https://tiktok-ads.mimicr.dev · provider: https://business-api.tiktok.comUse this endpoint to get the ad accounts that the access token is authorized to reach. app_id and secret go in the query. The response has data.list and no page_info. A wrong secret returns 40101.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Headers
Authorized access token, sent in this header (not Authorization: Bearer). Marketing API tokens never expire.
Query parameters
The App id applied by the developer, which can be found on the Application Management page.
The private key of the developer's application, which can be found on the Application Management page.
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.
Return code. 0 means success; see the return codes appendix for the others.
Return message: OK on success, otherwise the error description.
Returned data.
Show child attributes
Advertiser information list.
Show child attributes
Authorising Advertiser ID.
Authorising Advertiser Name.
The log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).