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/
          • PUT2. Upload Video: https://open-upload-sg.tiktokapis.com/upload
          • POST1. Initialize Upload: https://open.tiktokapis.com/v2/post/publish/video/init/
LogoLogo
CloudflareSocial Media PostingTik TokVideo

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

||View as Markdown|
PUT
/upload
PUT
/upload
$curl -X PUT "https://graph.facebook.com/upload?upload_id=7619809321098185000&upload_token=cdb438aa-3cee-f042-7e57-1d6d0a6437e2" \
> -H "Content-Range: bytes 201326592-295424641/295424642" \
> -H "Content-Type: application/octet-stream"
Was this page helpful?
Previous

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

Next

1. Initialize Upload: https://open.tiktokapis.com/v2/post/publish/video/init/

Built with

Headers

Content-RangestringOptional

Query parameters

upload_idintegerOptional
upload_tokenstringOptional

Request

This endpoint expects binary data of type application/octet-stream.

Response headers

Viastring
X-Cachestring
X-Tt-Logidstring
X-Amz-Cf-Idstring
X-Amz-Cf-Popstring
Content-Rangestring
Server-Timingstring
x-tt-trace-idstring
x-tt-trace-tagstring
x-tt-trace-hoststring
Strict-Transport-Securitystring

Response

Created

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

  1. Initialize Upload: https://open.tiktokapis.com/v2/post/publish/video/init/