API reference

API reference · Account

TikTok's choices for the linked account

GET/api/studio/publish/{platform}Signed in session

TikTok only: its creator info, whose privacy choices the person picks from before a post. The signed in account; same origin for a write.

Parameters

Path and query parameters
FieldTypeWhat it is
platform (path)requiredstringtiktok, youtube or instagram. One of "tiktok", "youtube", "instagram".

Answer 200

The choices.

Fields of the 200 answer
FieldTypeWhat it is
accountstring or null
privacyarray of string
comment_disabledboolean
duet_disabledboolean
stitch_disabledboolean
max_secondsinteger or null

Errors

  • 401OpenAI shaped error.
  • 404OpenAI shaped error.
  • 409OpenAI shaped error.
  • 502OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter