API reference

API reference · Account

The platforms a share can be posted to

GET/api/studio/publishSigned in session

The platforms switched on here, which the person linked (by the account's own name; a token is never shown) and their newest publishes. Each platform is offered only while the operator set its app's keys, with stored media on and a pinned session secret; off, its doors are the unknown 404. The signed in account; same origin for a write.

Answer 200

The platforms.

Fields of the 200 answer
FieldTypeWhat it is
platformsarray of object
platforms[].platformstringOne of "tiktok", "youtube", "instagram".
platforms[].linkedboolean
platforms[].accountstring or null
publishesarray of object
publishes[].idstring
publishes[].share_idstring
publishes[].platformstringOne of "tiktok", "youtube", "instagram".
publishes[].statestringOne of "sending", "processing", "published", "failed".
publishes[].urlstring or nullThe post on the platform, once it says.
publishes[].privacystring or null
publishes[].errorstring or nullThe platform's own short words.
publishes[].created_atinteger

Errors

  • 401OpenAI shaped error.
  • 429OpenAI 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