API Reference
Leads (Instant Form)

Get Instant Forms

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

Use this endpoint to get the Instant Forms of an ad account (business_type LEAD_GEN; other types return an empty list). preview_url is the form as a user sees it, hosted by Mimicr. In Mimicr forms are created in the console or with the control action form.create.

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_idstring

Either advertiser_id or library_id has to be set.

pagenumber

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

page_sizenumber

Page size.

statusstring

Page status.

EDITEDPUBLISHED
titlestring

The page name for filtering results.

business_typestring

Page type.

LEAD_GENSTORE_FRONTAPP_PROFILE_PAGETIKTOK_INSTANT_PAGESHOP_ADS_PLPSHOP_ADS_PDPPOP_UP_FORM

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

Page list.

Show child attributes
page_idstring

Page ID.

statusstring

Page status.

EDITEDPUBLISHED
titlestring

Title.

preview_urlstring

Preview link of the page. The link is generated after the page is ready, and will be empty when the page is only a draft.

template_idstring

The ID for the page's template. It indicates the specific template type associated with this page.

template_namestring

The name of the template type that the page uses.

thumbnailstring

Page preview thumbnail image.

create_timestring

The creation time of the page in the format of YYYY-MM-DD HH:MM:SS (UTC time).

update_timestring

The time the page was last updated in the format of YYYY-MM-DD HH:MM:SS (UTC time).

publish_timestring

The publishing time of the page in the format of YYYY-MM-DD HH:MM:SS (UTC time).

page_infoobject

Pagination information.

Show child attributes
pagenumber

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

page_sizenumber

Page size.

total_numbernumber

Total number of results.

total_pagenumber

Total pages of results.

request_idstring

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

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