API Reference
Get Pixels
/open_api/v1.3/pixel/list/https://tiktok-ads.mimicr.dev · provider: https://business-api.tiktok.comUse this endpoint to get the Pixels of an ad account, with the events they received. In Mimicr pixels are created in the console or with the control action pixel.create.
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
Advertiser ID.
Pixel ID. If specified, the returned information will be filtered by Pixel ID.
Pixel name. Fuzzy matching is supported. If specified, the returned information will be filtered by pixel whose name contains the passed-in data.
Sorting method, optional values include: EARLIEST_CREATE (Prioritizes the earliest created pixel), LATEST_CREATE (Prioritizes the latest created pixel). Default value is EARLIEST_CREATE
Current page number. Default value: 1. Value range: ≥ 1.
Page size. Default value is 10, value range: 1-20.
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
A list of Pixels.
Show child attributes
Pixel ID.
Pixel Code. The ID you see on the Events Manager platform.
Pixel name.
The Pixel data connection event category for the Pixel.
ONLINE_STOREFILLING_FORMCONTACTSLANDING_PAGECUSTOMIZE_EVENTSTime when the pixel was created, in the format of YYYY-MM-DD HH:MM:SS. See ISO 8601.
Setup mode of the pixel. Enum values: STANDARD, DEVELOPER. Pixels that are created via the /pixel/create/ endpoint after September 15th, 2022 are in the DEVELOPER mode.
STANDARDDEVELOPERManual Advanced Matching settings for the pixel.
Show child attributes
Whether phone number is enabled for Manual Advanced Matching.
Whether email is enabled for Manual Advanced Matching.
A list of Pixel Events. Pixel Events data is refreshed every 2-4 hours. If events occur within four hours, the value of this field might be an empty list ([]). You can retry after four hours to obtain the data of these events.
Pagination information.
Show child attributes
Current page number. Default value: 1. Value range: ≥ 1.
Page size.
Total number of results.
Total pages of results.
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.
Return code. 0 means success; see the return codes appendix for the others.
Return message: OK on success, otherwise the error description.
The log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).