V2 Handover

Send To Tiktok Drafts

Send the video to a TikTok drafts inbox (video.upload), in the background.

Everything that can be refused is refused here, before anything starts: who may hand over, which account, the account's drafts access, a token that refreshes, a video file. Then an upload row is written queued and platform-upload-job sends it (tiktok_draft_upload.run_upload): the file is read from GCS one chunk at a time and PUT to TikTok, and no link to it is handed to anyone. Answers 202 sending with an upload_id to follow at GET /v2/handover/tiktok-uploads/{upload_id}. 409 tiktok_reconnect_for_drafts when the token lacks video.upload; TikTok publishing is unaffected by that.

post/v2/handover/{content_id}/tiktok

Request

  • Base URL
    https://api.jubjubapp.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

content_idstring required

Headers

Authorizationstring
X-JubJub-Service-Keystring
X-JubJub-Agent-Keystring
X-JubJub-Platform-Keystring
Originstring
Refererstring
X-JubJub-Trial-Tokenstring

Request body

credential_idstring nullable

Which TikTok account. Optional when there is exactly one.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.