One profile and the social accounts connected to it. Pass ?refresh=true to re-sync them first.
Authorization
bearerAuth An API key created under Settings > API & Webhooks. Keys start with sf_live_.
In: header
Path Parameters
Query Parameters
Re-sync the connected accounts before answering.
Value in
- "true"
- "1"
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/profiles/string"{ "data": { "id": "string", "name": "string", "description": "string", "color": "string", "isDefault": true, "createdAt": "2019-08-24T14:15:22Z", "accounts": [ { "id": "string", "platform": "string", "username": "string", "displayName": "string", "pictureUrl": "http://example.com" } ] }}Write the video's script POST
Runs the AI script writer and stores the result on the video's brief as `brief.text`. Charges one generation's worth of credits, so a workspace with an empty balance is refused with `warning-no-credits`. Pass `prompt` to restate what the script should be about; it is saved as `scriptPrompt` and reused next time. Without it the video must already carry a `scriptPrompt` or a `prompt`. Synchronous: the call returns the finished script.
Publish state and destination GET
Whether this video can be published, where a publish would send it, and what happened the last time one ran. `destination` is what a publish with no explicit body would use: a clip inherits its blueprint's destination. `publish` is `null` until the first attempt.