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.
| Field | Type | What it is |
|---|---|---|
| platforms | array of object | |
| platforms[] | string | One of "tiktok", "youtube", "instagram". |
| platforms[] | boolean | |
| platforms[] | string or null | |
| publishes | array of object | |
| publishes[] | string | |
| publishes[] | string | |
| publishes[] | string | One of "tiktok", "youtube", "instagram". |
| publishes[] | string | One of "sending", "processing", "published", "failed". |
| publishes[] | string or null | The post on the platform, once it says. |
| publishes[] | string or null | |
| publishes[] | string or null | The platform's own short words. |
| publishes[] | integer |
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.