API Reference
Get image info
/open_api/v1.3/file/image/ad/info/https://tiktok-ads.mimicr.dev · provider: https://business-api.tiktok.comUse this endpoint to get information about up to 100 images (image_ids as a JSON array).
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.
Image IDs, as a JSON array. Max size: 100.
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.
The log ID of the request, which uniquely identifies it (also sent in the X-Tt-Logid header).
Returned data.
Show child attributes
Image information.
Show child attributes
Image ID that is used to create ads.
Material ID.
Whether the source of the image is valid for Carousel Ads.
Whether it can be displayed on the platform.
Image height.
Image width.
Image Format.
Image URL, valid for an hour and needs to be re-acquired after expiration.
MD5 of picture.
Image size in bytes.
Image name.
Creation time. UTC time. Format: 2020-06-10T07:39:14Z.
Modification time. UTC time. Format: 2020-06-10T07:39:14Z.
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).