TikTok pulls the video from the URL asynchronously and delivers it to the user's TikTok inbox as a draft (TikTok's sandbox/unverified app behaviour) or publishes it directly. Poll this endpoint until status is SEND_TO_USER_INBOX, PUBLISH_COMPLETE, or FAILED. Query param: ?publish_id=xxx
TikTok pulls the video from the URL asynchronously and delivers it to the user's TikTok inbox as a draft (TikTok's sandbox/unverified app behaviour) or publishes it directly. Poll this endpoint until status is SEND_TO_USER_INBOX, PUBLISH_COMPLETE, or FAILED.
Query param: ?publish_id=xxx
{
"status": "SEND_TO_USER_INBOX, PUBLISH_COMPLETE, or FAILED",
"fail_reason": ""
}
Send your requests to the following URL using the specified HTTP method.
GET https://eranol.com/api/v1/social/tiktok/statusInclude the following headers with every request. Your API key is required for authentication.
Send the following JSON payload in the request body. Adjust the values to match your use case.
{}All available options for this endpoint. Required parameters are marked accordingly.
| Parameter | Type | Default | Description |
|---|---|---|---|
| publish_id | | The publish_id returned from the TikTok publish endpoint |
Use the following cURL command to make a request to this API endpoint. Replace YOUR_API_KEY with your actual API key from the dashboard.
curl -X GET "https://eranol.com/api/v1/social/tiktok/status" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json"Below is an example of a successful JSON response from this endpoint.
{
"status": "SEND_TO_USER_INBOX, PUBLISH_COMPLETE, or FAILED",
"fail_reason": ""
}A successful request will return one of the following HTTP status codes.