API reference

API reference · Account

Where a platform's sign in returns

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

The redirect URI the operator registers with the app. The state must be the one signed for the signed in account and this platform; the code is traded for tokens, kept encrypted. Redirects to /studio/generations with publish=<platform> and linked=1, or failed=<reason>.

Parameters

Path and query parameters
FieldTypeWhat it is
platform (path)requiredstringtiktok, youtube or instagram. One of "tiktok", "youtube", "instagram".
code (query)stringThe platform's code.
state (query)stringThe signed state.
error (query)stringSet when the person declined.

Errors

  • 302A redirect (Location).

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