For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Cloudflare
    • GETpayload example
    • POSThttps://social-media-posting-dev.deao.workers.dev/post
        • POSTRefresh Token: https://open.tiktokapis.com/v2/oauth/token/
        • POSTGet Upload Status: https://open.tiktokapis.com/v2/post/publish/status/fetch/
LogoLogo
CloudflareSocial Media PostingTik Tok

Get Upload Status: https://open.tiktokapis.com/v2/post/publish/status/fetch/

||View as Markdown|
POST
/v2/post/publish/status/fetch/
POST
/v2/post/publish/status/fetch/
$curl -X POST https://graph.facebook.com/v2/post/publish/status/fetch/ \
> -H "Content-Type: application/json"
200Get Upload Status: https://open.tiktokapis.com/v2/post/publish/status/fetch/
1{
2 "data": {
3 "status": "PUBLISH_COMPLETE",
4 "uploaded_bytes": 1
5 },
6 "error": {
7 "code": "ok",
8 "log_id": "202603220522577B87752B82F1D8BFDCCF",
9 "message": ""
10 }
11}
Was this page helpful?
Previous

Refresh Token: https://open.tiktokapis.com/v2/oauth/token/

Next

2. Upload Video: https://open-upload-sg.tiktokapis.com/upload

Built with

Request

This endpoint expects an object.
publish_idstringRequired

Response headers

Pragmastring
Expiresstring
X-Tt-Logidstring
X-Janus-Infostring
Cache-Controlstring
Server-Timingstring
x-tt-trace-idstring
x-tt-trace-tagstring
x-tt-trace-hoststring
X-Origin-Response-Timestring
Access-Control-Expose-Headersstring

Response

OK
dataobject
errorobject

Refresh Token: https://open.tiktokapis.com/v2/oauth/token/

  1. Upload Video: https://open-upload-sg.tiktokapis.com/upload