API Reference
Events API 2.0

Get Pixels

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

Use 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

Access-Tokenstringrequired

Authorized access token, sent in this header (not Authorization: Bearer). Marketing API tokens never expire.

Query parameters

advertiser_idstringrequired

Advertiser ID.

pixel_idstring

Pixel ID. If specified, the returned information will be filtered by Pixel ID.

namestring

Pixel name. Fuzzy matching is supported. If specified, the returned information will be filtered by pixel whose name contains the passed-in data.

order_bystring

Sorting method, optional values include: EARLIEST_CREATE (Prioritizes the earliest created pixel), LATEST_CREATE (Prioritizes the latest created pixel). Default value is EARLIEST_CREATE

pagenumber

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

page_sizenumber

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.
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
pixelsobject[]

A list of Pixels.

Show child attributes
pixel_idstring

Pixel ID.

pixel_codestring

Pixel Code. The ID you see on the Events Manager platform.

pixel_namestring

Pixel name.

pixel_categorystring

The Pixel data connection event category for the Pixel.

ONLINE_STOREFILLING_FORMCONTACTSLANDING_PAGECUSTOMIZE_EVENTS
create_timestring

Time when the pixel was created, in the format of YYYY-MM-DD HH:MM:SS. See ISO 8601.

pixel_setup_modestring

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.

STANDARDDEVELOPER
advanced_matching_fieldsobject

Manual Advanced Matching settings for the pixel.

Show child attributes
phone_numberboolean

Whether phone number is enabled for Manual Advanced Matching.

emailboolean

Whether email is enabled for Manual Advanced Matching.

eventsobject[]

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.

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