Tool reference
120 customer tools. Expand a tool for its exact arguments, input example, result fields, and nested schemas. Use your own returned IDs and a new key for each intended mutation.
All writes require idempotency_key. Optional workspace_id selects a workspace you belong to; otherwise the connection's default applies. Read-only connections can discover write tools but cannot execute them.
Examples use fictional data and may show only selected result fields. They are not records of live generation or publication. Full route result schemas are included, with the MCP workspace envelope. JSON Schema cannot express every cross-field or route rule; consult workflows for those conditions.
Workspace and discovery
get_workspaceRead
Read the active brand workspace and credit balance.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: user, supportSession, workspace, workspaceTimezone, workspaces, plan, trialEndsAt, promoOfferEndsAt, compOfferPlanId, creditBalance, expiringCredits, grantedCredits, profileSyncEnabled, warmedFacebookEnabled, warmedYoutubeEnabled, commentsEnabled, billingModel, agentTrialAvailable, hookDemoOffered, phoneDemoOffered.
{
"workspace": {
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"onboardedAt": "2026-10-02T00:00:00.000Z",
"planOfferedAt": "2026-10-02T00:00:00.000Z",
"niches": [],
"nicheLabel": "Example",
"nicheCategory": "Example",
"nicheSubcategory": "Example",
"contributesToGlobalLearning": false,
"role": "Example",
"goals": [],
"website": "Example",
"access": "active",
"openingShoot": "pending",
"firstPostArm": "control"
},
"workspaces": [],
"creditBalance": 0,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"email": {
"type": "string",
"format": "email"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avatarUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avatarIsCustom": {
"type": "boolean"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"locale": {
"anyOf": [
{
"type": "string",
"enum": [
"en",
"hi"
]
},
{
"type": "null"
}
]
},
"internalAccess": {
"type": "boolean"
},
"staffRole": {
"anyOf": [
{
"type": "string",
"enum": [
"staff",
"admin"
]
},
{
"type": "null"
}
]
},
"agreedTerms": {
"type": "boolean"
}
},
"required": [
"id",
"email",
"name",
"avatarUrl",
"avatarIsCustom",
"timezone",
"locale",
"internalAccess",
"staffRole",
"agreedTerms"
],
"additionalProperties": false
},
"supportSession": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"staffEmail": {
"type": "string"
},
"targetEmail": {
"type": "string"
},
"startedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"staffEmail",
"targetEmail",
"startedAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspace": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"onboardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"planOfferedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"niches": {
"type": "array",
"items": {
"type": "string"
}
},
"nicheLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nicheCategory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nicheSubcategory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contributesToGlobalLearning": {
"type": "boolean"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"goals": {
"type": "array",
"items": {
"type": "string"
}
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"access": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"openingShoot": {
"type": "string",
"enum": [
"pending",
"failed",
"ready"
]
},
"firstPostArm": {
"anyOf": [
{
"type": "string",
"enum": [
"control",
"treatment"
]
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"onboardedAt",
"planOfferedAt",
"niches",
"nicheLabel",
"nicheCategory",
"nicheSubcategory",
"contributesToGlobalLearning",
"role",
"goals",
"website",
"access",
"openingShoot",
"firstPostArm"
],
"additionalProperties": false
},
"workspaceTimezone": {
"type": "string"
},
"workspaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"onboardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"access": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"onboardedAt",
"access",
"role"
],
"additionalProperties": false
}
},
"plan": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"tagline": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"priceMonthlyCents": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"priceYearlyCents": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"creditsPerMonth": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"workspaceQuota": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"feedCap": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"feedRenewsDaily": {
"type": "boolean"
},
"features": {
"type": "array",
"items": {
"type": "string"
}
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"name",
"tagline",
"priceMonthlyCents",
"priceYearlyCents",
"creditsPerMonth",
"workspaceQuota",
"feedCap",
"feedRenewsDaily",
"features",
"sort"
],
"additionalProperties": false
},
"trialEndsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"promoOfferEndsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"compOfferPlanId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"expiringCredits": {
"type": "integer"
},
"grantedCredits": {
"type": "integer"
},
"profileSyncEnabled": {
"type": "boolean"
},
"warmedFacebookEnabled": {
"type": "boolean"
},
"warmedYoutubeEnabled": {
"type": "boolean"
},
"commentsEnabled": {
"type": "boolean"
},
"billingModel": {
"anyOf": [
{
"type": "string",
"enum": [
"agent"
]
},
{
"type": "null"
}
]
},
"agentTrialAvailable": {
"type": "boolean"
},
"hookDemoOffered": {
"type": "boolean"
},
"phoneDemoOffered": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"user",
"supportSession",
"workspace",
"workspaceTimezone",
"workspaces",
"plan",
"trialEndsAt",
"promoOfferEndsAt",
"compOfferPlanId",
"creditBalance",
"expiringCredits",
"grantedCredits",
"profileSyncEnabled",
"warmedFacebookEnabled",
"warmedYoutubeEnabled",
"commentsEnabled",
"billingModel",
"agentTrialAvailable",
"hookDemoOffered",
"phoneDemoOffered",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_brandRead
Read the brand profile, voice, angles, segments, and competitors.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, website, region, businessModel, contentLanguage, captionMaxChars, bannedHookIds, audienceDescription, coreIdentity, productOffering, uniqueBenefits, problemSolved, mission, differentiation, ownedSpace, categoryAnswer, pushFirst, postPlatforms, nicheLabel, anglesEditedAt, pinnedHashtags, voiceSamples, siteIdentity, updatedAt, angles, voice, competitors, segments.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"businessModel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentLanguage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"captionMaxChars": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"bannedHookIds": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceDescription": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coreIdentity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"productOffering": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uniqueBenefits": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"problemSolved": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mission": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"differentiation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownedSpace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"categoryAnswer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pushFirst": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"postPlatforms": {
"type": "array",
"items": {
"type": "string"
}
},
"nicheLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"anglesEditedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"pinnedHashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"voiceSamples": {
"type": "array",
"items": {
"type": "string"
}
},
"siteIdentity": {
"anyOf": [
{
"type": "object",
"properties": {
"headlineFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"headlineKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"bodyFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bodyKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"palette": {
"type": "object",
"properties": {
"accent": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"secondary": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"wash": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"ink": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
}
},
"required": [
"accent",
"secondary",
"wash",
"ink"
],
"additionalProperties": false
},
"logoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"logoStoragePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"logoBackground": {
"type": "string",
"enum": [
"white",
"grey"
]
},
"logoSrc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"headlineFamily",
"headlineKey",
"bodyFamily",
"bodyKey",
"palette",
"logoUrl",
"logoStoragePath",
"logoBackground",
"logoSrc"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"angles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"workspaceId",
"title",
"note",
"sort"
],
"additionalProperties": false
}
},
"voice": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"do",
"dont"
]
},
"text": {
"type": "string"
}
},
"required": [
"id",
"workspaceId",
"kind",
"text"
],
"additionalProperties": false
}
},
"competitors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"name",
"url"
],
"additionalProperties": false
}
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"pct": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"workspaceId",
"name",
"pct"
],
"additionalProperties": false
}
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"website",
"region",
"businessModel",
"contentLanguage",
"captionMaxChars",
"bannedHookIds",
"audienceDescription",
"coreIdentity",
"productOffering",
"uniqueBenefits",
"problemSolved",
"mission",
"differentiation",
"ownedSpace",
"categoryAnswer",
"pushFirst",
"postPlatforms",
"nicheLabel",
"anglesEditedAt",
"pinnedHashtags",
"voiceSamples",
"siteIdentity",
"updatedAt",
"angles",
"voice",
"competitors",
"segments",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_workspacesRead
List the brand workspaces this user can access.
Parameters
| Name | Required | Type and constraints |
|---|
Input example
{}Full input schema
{
"type": "object",
"properties": {},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: user, supportSession, workspace, workspaceTimezone, workspaces, plan, trialEndsAt, promoOfferEndsAt, compOfferPlanId, creditBalance, expiringCredits, grantedCredits, profileSyncEnabled, warmedFacebookEnabled, warmedYoutubeEnabled, commentsEnabled, billingModel, agentTrialAvailable, hookDemoOffered, phoneDemoOffered.
{
"workspace": {
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"onboardedAt": "2026-10-02T00:00:00.000Z",
"planOfferedAt": "2026-10-02T00:00:00.000Z",
"niches": [],
"nicheLabel": "Example",
"nicheCategory": "Example",
"nicheSubcategory": "Example",
"contributesToGlobalLearning": false,
"role": "Example",
"goals": [],
"website": "Example",
"access": "active",
"openingShoot": "pending",
"firstPostArm": "control"
},
"workspaces": [],
"creditBalance": 0,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"email": {
"type": "string",
"format": "email"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avatarUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"avatarIsCustom": {
"type": "boolean"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"locale": {
"anyOf": [
{
"type": "string",
"enum": [
"en",
"hi"
]
},
{
"type": "null"
}
]
},
"internalAccess": {
"type": "boolean"
},
"staffRole": {
"anyOf": [
{
"type": "string",
"enum": [
"staff",
"admin"
]
},
{
"type": "null"
}
]
},
"agreedTerms": {
"type": "boolean"
}
},
"required": [
"id",
"email",
"name",
"avatarUrl",
"avatarIsCustom",
"timezone",
"locale",
"internalAccess",
"staffRole",
"agreedTerms"
],
"additionalProperties": false
},
"supportSession": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"staffEmail": {
"type": "string"
},
"targetEmail": {
"type": "string"
},
"startedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"staffEmail",
"targetEmail",
"startedAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspace": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"onboardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"planOfferedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"niches": {
"type": "array",
"items": {
"type": "string"
}
},
"nicheLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nicheCategory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nicheSubcategory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contributesToGlobalLearning": {
"type": "boolean"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"goals": {
"type": "array",
"items": {
"type": "string"
}
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"access": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"openingShoot": {
"type": "string",
"enum": [
"pending",
"failed",
"ready"
]
},
"firstPostArm": {
"anyOf": [
{
"type": "string",
"enum": [
"control",
"treatment"
]
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"onboardedAt",
"planOfferedAt",
"niches",
"nicheLabel",
"nicheCategory",
"nicheSubcategory",
"contributesToGlobalLearning",
"role",
"goals",
"website",
"access",
"openingShoot",
"firstPostArm"
],
"additionalProperties": false
},
"workspaceTimezone": {
"type": "string"
},
"workspaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"onboardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"access": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"onboardedAt",
"access",
"role"
],
"additionalProperties": false
}
},
"plan": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"tagline": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"priceMonthlyCents": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"priceYearlyCents": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"creditsPerMonth": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"workspaceQuota": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"feedCap": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"feedRenewsDaily": {
"type": "boolean"
},
"features": {
"type": "array",
"items": {
"type": "string"
}
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"name",
"tagline",
"priceMonthlyCents",
"priceYearlyCents",
"creditsPerMonth",
"workspaceQuota",
"feedCap",
"feedRenewsDaily",
"features",
"sort"
],
"additionalProperties": false
},
"trialEndsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"promoOfferEndsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"compOfferPlanId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"expiringCredits": {
"type": "integer"
},
"grantedCredits": {
"type": "integer"
},
"profileSyncEnabled": {
"type": "boolean"
},
"warmedFacebookEnabled": {
"type": "boolean"
},
"warmedYoutubeEnabled": {
"type": "boolean"
},
"commentsEnabled": {
"type": "boolean"
},
"billingModel": {
"anyOf": [
{
"type": "string",
"enum": [
"agent"
]
},
{
"type": "null"
}
]
},
"agentTrialAvailable": {
"type": "boolean"
},
"hookDemoOffered": {
"type": "boolean"
},
"phoneDemoOffered": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"user",
"supportSession",
"workspace",
"workspaceTimezone",
"workspaces",
"plan",
"trialEndsAt",
"promoOfferEndsAt",
"compOfferPlanId",
"creditBalance",
"expiringCredits",
"grantedCredits",
"profileSyncEnabled",
"warmedFacebookEnabled",
"warmedYoutubeEnabled",
"commentsEnabled",
"billingModel",
"agentTrialAvailable",
"hookDemoOffered",
"phoneDemoOffered",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_contentRead
List content in a brand workspace, newest first, 30 at a time unless limit says otherwise. Each row is a summary; read one with get_content. Page with offset; a shorter page means there is no more.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
jobId | No / conditional | uuid |
status | No / conditional | "draft" | "shortlisted" | "approved" | "rejected" | "scheduled" | "posted" | "needs_attention" |
format | No / conditional | "slideshow" | "wall_of_text" | "video" | "green_screen" | "hook_demo" | "talking_head" | "photo_reel" |
source | No / conditional | "face_swap" | "multiply" | "tweak" |
surface | No / conditional | "studio" | "library" | "turbo_history" | "turbo_kept" |
limit | No / conditional | integerminimum: 1maximum: 200 |
offset | No / conditional | integerminimum: 0 |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"source": {
"type": "string",
"enum": [
"face_swap",
"multiply",
"tweak"
]
},
"surface": {
"type": "string",
"enum": [
"studio",
"library",
"turbo_history",
"turbo_kept"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coverOverlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6,
"default": null
},
{
"type": "null"
}
]
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
],
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"default": null
},
{
"type": "null"
}
]
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
],
"default": null
},
{
"type": "null"
}
]
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"renderStale": {
"type": "boolean"
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"coverUrl",
"coverOverlayBoxes",
"renderedUrl",
"renderedDurationMs",
"renderStale"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_contentRead
Read one content item with its slides.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, targetAccountId, remixedFromId, remixSourceUrl, remixSkeletonId, tweakedFromId, savedTemplateId, format, origin, generationSource, status, purpose, sellStyle, aspect, caption, soundTiktokUrl, soundInstagramUrl, hashtags, angle, seed, learningContext, turboDeckRank, turboAutoDiscardedAt, renderedMediaId, renderedNoMusicMediaId, audioOrigin, ownAudio, timelineRev, renderedRev, renderStatus, renderError, editsMediaId, clipRequestedRev, createdAt, updatedAt, slides, renderedUrl, renderedDurationMs, renderStale.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"status": "draft",
"caption": "Example",
"renderStatus": "idle",
"slides": [],
"renderStale": false,
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"idx": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"trackType": {
"type": "string",
"enum": [
"visual",
"text",
"audio"
]
},
"trackIndex": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineStartMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineDurationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageBrief": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6,
"default": null
},
{
"type": "null"
}
]
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
],
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"default": null
},
{
"type": "null"
}
]
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
],
"default": null
},
{
"type": "null"
}
]
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"photoAdjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"layoutCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"overlayImages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.08,
"maximum": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"x",
"y",
"width",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"layerFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"y": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"overlayMotion": {
"anyOf": [
{
"type": "object",
"properties": {
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"entrance",
"exit"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"opacity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"volume": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"muted": {
"type": "boolean"
},
"imageIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"persona",
"lifestyle"
]
},
{
"type": "null"
}
]
},
"trimInMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"trimOutMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"keyColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keySimilarity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"keyBlend": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"mediaKind": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"idx",
"trackType",
"trackIndex",
"timelineStartMs",
"timelineDurationMs",
"label",
"imageBrief",
"mediaId",
"overlayBoxes",
"mediaFrame",
"photoAdjust",
"layout",
"layoutCells",
"overlayImages",
"layerFrame",
"overlayMotion",
"opacity",
"volume",
"muted",
"imageIntent",
"trimInMs",
"trimOutMs",
"keyColor",
"keySimilarity",
"keyBlend",
"createdAt",
"url",
"sourceDurationMs",
"mediaKind",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"renderStale": {
"type": "boolean"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"slides",
"renderedUrl",
"renderedDurationMs",
"renderStale",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_accountsRead
List the brand's social accounts: platform, handle, the influencer who posts there, whether it is connected, the timezone its posts are booked in, its next renewal (renewsAt) and whether the balance covers it (renewalCovered), and its Autopilot. Read one in full with get_account.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"uploadPostProfileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"connectionStatus": {
"type": "string",
"enum": [
"pending",
"live",
"warming",
"provisioning",
"waitlisted",
"paused",
"disconnected"
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"orderId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"readyEmailSentAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"baselineFollowers": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"baselineCapturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean"
},
"postPhotosAsReel": {
"type": "boolean"
},
"reelSlideMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
]
},
"learningResetAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditGraceSince": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"billingCycleId": {
"type": "string",
"format": "uuid"
},
"nextCreditDeductionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renewalWarningSentFor": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditReleasedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"etaGoLive": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etaLastChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingCompletedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingSessionsCompleted": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"warmingSessionsRequired": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"nextSessionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"detailsLockedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileVersion": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"profileAppliedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"profileApplyStatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileApplyDetail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileAppliedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotPostsPerDay": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"autopilotPausedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotFailures": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"autopilotTrial": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotTemplateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotTemplateHandle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotTemplatePlatform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"autopilotFreshPhotos": {
"type": "boolean"
},
"autopilotBackgroundScene": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSubjectPin": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotPostIdea": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSettingsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotCrosspostFrom": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotSlideshows": {
"type": "boolean"
},
"autopilotHookDemo": {
"type": "boolean"
},
"autopilotDemoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"autopilotDemoCallToAction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotDemoFilmed": {
"type": "boolean"
},
"autopilotDemoFreshHooks": {
"type": "boolean"
},
"autopilotDemoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"testPostChoice": {
"anyOf": [
{
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"autopilotTemplate": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"type": "integer"
}
},
"required": [
"id",
"coverUrl",
"hook",
"handle",
"freshPhotosCreditCost"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"platform",
"handle",
"displayName",
"bio",
"profilePhotoMediaId",
"uploadPostProfileId",
"connectionStatus",
"kind",
"orderId",
"country",
"readyEmailSentAt",
"baselineFollowers",
"baselineCapturedAt",
"learningEnabled",
"aiLabel",
"postPhotosAsReel",
"reelSlideMs",
"reelTransition",
"learningResetAt",
"creditGraceSince",
"billingCycleId",
"nextCreditDeductionAt",
"renewalWarningSentFor",
"creditReleasedAt",
"keywords",
"etaGoLive",
"etaLastChangedAt",
"warmingCompletedAt",
"warmingSessionsCompleted",
"warmingSessionsRequired",
"nextSessionAt",
"detailsLockedAt",
"profileVersion",
"profileAppliedVersion",
"profileApplyStatus",
"profileApplyDetail",
"profileAppliedAt",
"profileChangedAt",
"autopilotPostsPerDay",
"autopilotPausedReason",
"autopilotFailures",
"autopilotTrial",
"autopilotTemplateSourceId",
"autopilotTemplateHandle",
"autopilotTemplatePlatform",
"autopilotFreshPhotos",
"autopilotBackgroundScene",
"autopilotSubjectPin",
"autopilotPostIdea",
"autopilotSettingsAt",
"autopilotCrosspostFrom",
"autopilotSlideshows",
"autopilotHookDemo",
"autopilotDemoMediaIds",
"autopilotDemoCallToAction",
"autopilotDemoFilmed",
"autopilotDemoFreshHooks",
"autopilotDemoFace",
"testPostChoice",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_productsRead
List products in the brand catalogue.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"folder": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"role": {
"type": "string",
"enum": [
"product",
"add_on",
"variant"
]
},
"listingRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"productUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceImageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"storagePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"aiDescription": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"structuredMetadata": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"featuredAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"folder",
"name",
"category",
"description",
"price",
"role",
"listingRank",
"productUrl",
"sourceImageUrl",
"storagePath",
"aiDescription",
"structuredMetadata",
"featuredAt",
"createdAt",
"imageUrl"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_discoverRead
Browse discovered trends by category, platform, source kind, search, and limit.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
category | No / conditional | "hook" | "format" | "topic" | "sound" |
platform | No / conditional | "tiktok" | "instagram" | "facebook" | "youtube" |
sourceKind | No / conditional | "slideshow" | "video" |
search | No / conditional | stringminLength: 1 |
niche | No / conditional | "health_fitness" | "beauty_skincare" | "fashion_style" | "food_cooking" | "travel" | "personal_finance" | "business_marketing" | "tech_software" | "gaming" | "home_lifestyle" | "parenting_family" | "education_self_improvement" | "entertainment_music" | "sports_outdoors" | "pets_animals" | "real_estate" | "all" |
minViews | No / conditional | integerminimum: 0maximum: 2147483647 |
postedWithin | No / conditional | "7d" | "30d" | "90d" | "365d" |
limit | No / conditional | integerminimum: 1maximum: 100 |
top | No / conditional | integerminimum: 1maximum: 6 |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"category": {
"type": "string",
"enum": [
"hook",
"format",
"topic",
"sound"
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"sourceKind": {
"type": "string",
"enum": [
"slideshow",
"video"
]
},
"search": {
"type": "string",
"minLength": 1
},
"niche": {
"anyOf": [
{
"type": "string",
"enum": [
"health_fitness",
"beauty_skincare",
"fashion_style",
"food_cooking",
"travel",
"personal_finance",
"business_marketing",
"tech_software",
"gaming",
"home_lifestyle",
"parenting_family",
"education_self_improvement",
"entertainment_music",
"sports_outdoors",
"pets_animals",
"real_estate"
]
},
{
"type": "string",
"const": "all"
}
]
},
"minViews": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"postedWithin": {
"type": "string",
"enum": [
"7d",
"30d",
"90d",
"365d"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"top": {
"type": "integer",
"minimum": 1,
"maximum": 6
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: items, refreshing, lastRefreshFailed.
{
"items": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"externalId": {
"type": "string"
},
"externalUrl": {
"type": "string"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"librarySourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"coverMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"sourceVideoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"category": {
"type": "string",
"enum": [
"hook",
"format",
"topic",
"sound"
]
},
"lane": {
"type": "string",
"enum": [
"niche",
"format_borrow",
"cultural"
]
},
"momentumLabel": {
"type": "string"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"velocity": {
"anyOf": [
{
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
{
"type": "null"
}
]
},
"niche": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enrichment": {
"type": "object",
"properties": {
"sourcePostedAtMs": {
"type": "number"
},
"hook": {
"type": "string"
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo"
]
},
"slideCount": {
"type": "number"
},
"hookShape": {
"type": "string"
},
"voiceSignature": {
"type": "string"
},
"ctaSlot": {
"type": "string",
"enum": [
"parenthetical_in_hook",
"final_slide_winner",
"caption_only",
"none"
]
},
"slideSkeleton": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"hook",
"item",
"payoff"
]
},
"beat": {
"type": "string"
},
"microFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sentences": {
"type": "integer",
"minimum": 0
},
"words": {
"type": "integer",
"minimum": 0
},
"lines": {
"type": "integer",
"minimum": 0
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"shot": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hasPrimarySubject": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keepSourceMedia": {
"type": "boolean"
},
"sourceLayout": {
"type": "string"
}
},
"required": [
"role",
"beat",
"microFormat",
"sentences",
"words",
"lines"
],
"additionalProperties": false
}
},
"summary": {
"type": "string"
},
"whyItFits": {
"type": "string"
},
"angles": {
"type": "array",
"items": {
"type": "string"
}
},
"remixValue": {
"type": "number"
},
"sound": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"title",
"url"
],
"additionalProperties": false
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"hookShot": {
"anyOf": [
{
"type": "object",
"properties": {
"opening": {
"type": "string"
},
"closing": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"production": {
"type": "string",
"enum": [
"phone",
"produced"
]
}
},
"required": [
"opening",
"closing",
"production"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"hookSeconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"overlayBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"atSeconds": {
"type": "number"
},
"text": {
"type": "string"
},
"frame": {
"type": "string"
}
},
"required": [
"atSeconds",
"text"
],
"additionalProperties": false
}
},
"subjectKind": {
"anyOf": [
{
"type": "string",
"enum": [
"animal",
"person",
"object"
]
},
{
"type": "null"
}
]
},
"semanticBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
"visual": {
"type": "string"
},
"audioCue": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"startSeconds",
"endSeconds",
"visual",
"audioCue"
],
"additionalProperties": false
}
},
"cuts": {
"type": "array",
"items": {
"type": "number"
}
},
"shots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"whatChanges": {
"type": "string"
},
"hasPrimarySubject": {
"type": "boolean"
}
},
"required": [
"whatChanges",
"hasPrimarySubject"
],
"additionalProperties": false
}
},
"durationSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
}
},
"required": [
"hook",
"format",
"slideCount",
"hookShape",
"voiceSignature",
"ctaSlot",
"slideSkeleton",
"summary",
"whyItFits",
"angles",
"subjectKind",
"semanticBeats"
],
"additionalProperties": false
},
"fetchedAt": {
"type": "string",
"format": "date-time"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"videoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slideUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"saved": {
"type": "boolean"
}
},
"required": [
"id",
"workspaceId",
"platform",
"externalId",
"externalUrl",
"handle",
"title",
"librarySourceId",
"coverMediaId",
"sourceVideoMediaId",
"category",
"lane",
"momentumLabel",
"views",
"likes",
"velocity",
"niche",
"enrichment",
"fetchedAt",
"createdAt",
"coverUrl",
"videoUrl",
"slideUrls",
"saved"
],
"additionalProperties": false
}
},
"refreshing": {
"type": "boolean"
},
"lastRefreshFailed": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"items",
"refreshing",
"lastRefreshFailed",
"workspaceId",
"brandName"
],
"additionalProperties": true
}prepare_remixRead
Analyze exactly one Discover item (discover_id), Latest Trends post (latest_trend_id), link, pasted source, or remix upload before creating content. For a local file, use prepare_media_upload, upload its bytes, and complete_media_upload with purpose=remix_source, then pass source={kind:upload,mediaIds:[returned IDs]}. General Library media is not a remix upload. This costs no credits.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
discover_id | No / conditional | uuid |
latest_trend_id | No / conditional | uuid |
source | No / conditional | object | object | object |
Input example
{
"source": {
"kind": "pasted",
"text": "Three ways to keep a desk tidy: sort cables into labeled clips, clear the surface at the end of each day, and give every small item a dedicated storage spot."
}
}Full input schema
{
"anyOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"discover_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"discover_id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"latest_trend_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"latest_trend_id"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"source": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"format": "uri"
},
"previewToken": {
"type": "string",
"minLength": 1
},
"part": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"startSeconds",
"endSeconds"
],
"additionalProperties": false
}
},
"required": [
"kind",
"url"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "upload"
},
"mediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"minItems": 1,
"maxItems": 10
},
"part": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"startSeconds",
"endSeconds"
],
"additionalProperties": false
}
},
"required": [
"kind",
"mediaIds"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "pasted"
},
"text": {
"type": "string",
"minLength": 120,
"maxLength": 12000
}
},
"required": [
"kind",
"text"
],
"additionalProperties": false
}
]
}
},
"required": [
"source"
],
"additionalProperties": false
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: source, origin, platform, sourceType, photoCount, durationSeconds, generationDurationSeconds, hasText, hasAudio, sourceSound, format, hook, hookOptions, prompt, summary, skeleton, previewMediaIds, analysisToken, readId.
{
"platform": "tiktok",
"format": "slideshow",
"prompt": "Three ways to keep a desk tidy",
"summary": "A three-step desk organization post",
"analysisToken": "returned-signed-analysis-token",
"previewMediaIds": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"source": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"link"
]
},
"url": {
"type": "string",
"format": "uri"
},
"mediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"part": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
}
},
"required": [
"startSeconds",
"endSeconds"
],
"additionalProperties": false
}
},
"required": [
"kind",
"url"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"upload"
]
},
"mediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"part": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
}
},
"required": [
"startSeconds",
"endSeconds"
],
"additionalProperties": false
}
},
"required": [
"kind",
"mediaIds"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"pasted"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
}
]
},
"origin": {
"type": "string",
"enum": [
"scan",
"trend"
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"x",
"web",
"upload",
"pasted"
]
},
"sourceType": {
"type": "string",
"enum": [
"carousel",
"video",
"image",
"article"
]
},
"photoCount": {
"type": "integer",
"minimum": 0
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
{
"type": "null"
}
]
},
"generationDurationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
{
"type": "null"
}
]
},
"hasText": {
"type": "boolean"
},
"hasAudio": {
"type": "boolean"
},
"sourceSound": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"url": {
"type": "string",
"format": "uri"
},
"viral": {
"type": "boolean"
}
},
"required": [
"title",
"url",
"viral"
],
"additionalProperties": false
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"hook": {
"type": "string",
"maxLength": 500
},
"hookOptions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"minItems": 1,
"maxItems": 3
},
"prompt": {
"type": "string",
"maxLength": 5000
},
"summary": {
"type": "string",
"maxLength": 1000
},
"skeleton": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"niche": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"seed",
"scraped"
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo"
]
},
"slideCount": {
"type": "integer",
"exclusiveMinimum": true,
"minimum": 0
},
"hookShape": {
"type": "string"
},
"voiceSignature": {
"type": "string"
},
"ctaSlot": {
"type": "string",
"enum": [
"parenthetical_in_hook",
"final_slide_winner",
"caption_only",
"none"
]
},
"slideSkeleton": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"hook",
"item",
"payoff"
]
},
"beat": {
"type": "string"
},
"microFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sentences": {
"type": "integer",
"minimum": 0
},
"words": {
"type": "integer",
"minimum": 0
},
"lines": {
"type": "integer",
"minimum": 0
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"shot": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hasPrimarySubject": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keepSourceMedia": {
"type": "boolean"
},
"sourceLayout": {
"type": "string"
}
},
"required": [
"role",
"beat",
"microFormat",
"sentences",
"words",
"lines"
],
"additionalProperties": false
},
"minItems": 1
},
"hookShot": {
"anyOf": [
{
"type": "object",
"properties": {
"opening": {
"type": "string"
},
"closing": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"production": {
"type": "string",
"enum": [
"phone",
"produced"
]
}
},
"required": [
"opening",
"closing",
"production"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"hookSeconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
{
"type": "null"
}
]
},
"subjectKind": {
"anyOf": [
{
"type": "string",
"enum": [
"animal",
"person",
"object"
]
},
{
"type": "null"
}
]
},
"sourceIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"dance",
"stunt",
"workout",
"walk",
"talk",
"demo",
"other"
],
"default": null
},
{
"type": "null"
}
]
},
"hasAudibleSpeech": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"hasVisibleSpeech": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"screenshotOf": {
"anyOf": [
{
"type": "boolean",
"default": null
},
{
"type": "null"
}
]
},
"semanticBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
"visual": {
"type": "string"
},
"audioCue": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"startSeconds",
"endSeconds",
"visual",
"audioCue"
],
"additionalProperties": false
}
},
"visualInserts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
"anchorText": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"role": {
"type": "string",
"enum": [
"proof",
"example",
"product",
"joke",
"interface",
"other"
]
},
"kind": {
"type": "string",
"enum": [
"photo",
"illustration",
"screenshot",
"card"
]
},
"coverage": {
"type": "string",
"enum": [
"overlay",
"full"
]
},
"description": {
"type": "string",
"minLength": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"startSeconds",
"endSeconds",
"anchorText",
"role",
"kind",
"coverage",
"description",
"frame",
"entrance",
"exit"
],
"additionalProperties": false
},
"default": []
},
"overlayBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"atSeconds": {
"type": "number"
},
"endSeconds": {
"type": "number"
},
"text": {
"type": "string"
},
"written": {
"type": "string",
"enum": [
"card",
"caption",
"on_object"
]
},
"frame": {
"type": "string"
}
},
"required": [
"atSeconds",
"text"
],
"additionalProperties": false
}
},
"spokenWords": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"overlayLook": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coverLook": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"savedLook": {
"anyOf": [
{
"type": "object",
"properties": {
"title": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"body": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
}
},
"required": [
"title",
"body"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"repeatedTitle": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"look": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
"frame": {
"type": "string"
}
},
"required": [
"text",
"look"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"cuts": {
"type": "array",
"items": {
"type": "number"
}
},
"shots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"whatChanges": {
"type": "string"
},
"hasPrimarySubject": {
"type": "boolean"
}
},
"required": [
"whatChanges",
"hasPrimarySubject"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"niche",
"source",
"format",
"slideCount",
"hookShape",
"voiceSignature",
"ctaSlot",
"slideSkeleton",
"hookShot",
"hookSeconds",
"durationSeconds",
"subjectKind",
"semanticBeats",
"overlayBeats",
"cuts",
"shots"
],
"additionalProperties": false
},
"previewMediaIds": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
}
},
"analysisToken": {
"type": "string",
"minLength": 1
},
"readId": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"source",
"origin",
"platform",
"sourceType",
"photoCount",
"durationSeconds",
"generationDurationSeconds",
"hasText",
"hasAudio",
"format",
"hook",
"hookOptions",
"prompt",
"summary",
"skeleton",
"analysisToken",
"readId",
"workspaceId",
"brandName"
],
"additionalProperties": true
}Influencers
list_influencersRead
List the influencers available to this brand: id, name, age, look and voice. Their full character is applied by Amplify when they star in a post.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"gender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"age": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"ethnicity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bible": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"profileConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"voicePreset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"speakingVoiceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"speakingVoiceSource": {
"anyOf": [
{
"type": "string",
"enum": [
"preset",
"cloned"
]
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"prettify": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"draft",
"active",
"archived"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"name",
"gender",
"age",
"ethnicity",
"description",
"profileConfig",
"voicePreset",
"speakingVoiceId",
"speakingVoiceSource",
"profilePhotoMediaId",
"prettify",
"status",
"createdAt",
"updatedAt",
"profilePhotoUrl"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}create_influencerWrite
Create an influencer with their identity, character, and reference assets. Costs 125 credits once, including their first face shoot.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
name | Yes | stringminLength: 1maxLength: 200 |
gender | No / conditional | string | null |
age | No / conditional | integer | null |
ethnicity | No / conditional | string | null |
description | No / conditional | string | null |
bible | No / conditional | See full schema | null |
profileConfig | No / conditional | object | null |
voicePreset | No / conditional | string | null |
speakingVoiceId | No / conditional | string | null |
speakingVoiceSource | No / conditional | "preset" | "cloned" | null |
profilePhotoMediaId | No / conditional | uuid | null |
prettify | No / conditional | boolean |
referencePhotoMediaIds | No / conditional | arraymaxItems: 5 |
lookSeedMediaId | No / conditional | uuid | null |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"name": "Alex",
"idempotency_key": "create_influencer-example-1",
"age": 28,
"description": "A friendly guide to tidy workspaces"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"gender": {
"type": [
"string",
"null"
]
},
"age": {
"anyOf": [
{
"type": "integer",
"minimum": 18,
"maximum": 99
},
{
"type": "null"
}
]
},
"ethnicity": {
"type": [
"string",
"null"
]
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"bible": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"profileConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"voicePreset": {
"type": [
"string",
"null"
]
},
"speakingVoiceId": {
"type": [
"string",
"null"
]
},
"speakingVoiceSource": {
"anyOf": [
{
"type": "string",
"enum": [
"preset",
"cloned"
]
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"prettify": {
"type": "boolean"
},
"referencePhotoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 5
},
"lookSeedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
}
},
"required": [
"name"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, gender, age, ethnicity, description, bible, profileConfig, voicePreset, speakingVoiceId, speakingVoiceSource, profilePhotoMediaId, prettify, status, createdAt, updatedAt, profilePhotoUrl.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Alex",
"age": 0,
"speakingVoiceId": "Example",
"status": "draft",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"gender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"age": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"ethnicity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bible": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"profileConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"voicePreset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"speakingVoiceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"speakingVoiceSource": {
"anyOf": [
{
"type": "string",
"enum": [
"preset",
"cloned"
]
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"prettify": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"draft",
"active",
"archived"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"gender",
"age",
"ethnicity",
"description",
"profileConfig",
"voicePreset",
"speakingVoiceId",
"speakingVoiceSource",
"profilePhotoMediaId",
"prettify",
"status",
"createdAt",
"updatedAt",
"profilePhotoUrl",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_influencerWrite
Edit an influencer's identity, character, reference assets, archive state, or preset voice using the existing influencer settings.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
influencer_id | Yes | uuid |
name | No / conditional | stringminLength: 1maxLength: 200 |
gender | No / conditional | string | null |
age | No / conditional | integer | null |
ethnicity | No / conditional | string | null |
description | No / conditional | string | null |
bible | No / conditional | See full schema | null |
profileConfig | No / conditional | object | null |
voicePreset | No / conditional | string | null |
speakingVoiceId | No / conditional | string | null |
speakingVoiceSource | No / conditional | "preset" | "cloned" | null |
profilePhotoMediaId | No / conditional | uuid | null |
prettify | No / conditional | boolean |
status | No / conditional | "draft" | "active" | "archived" |
lookSeedMediaId | No / conditional | uuid | null |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"influencer_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "update_influencer-example-1",
"description": "A practical guide to tidy workspaces"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"influencer_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"influencer_id"
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"gender": {
"type": [
"string",
"null"
]
},
"age": {
"anyOf": [
{
"type": "integer",
"minimum": 18,
"maximum": 99
},
{
"type": "null"
}
]
},
"ethnicity": {
"type": [
"string",
"null"
]
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"bible": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"profileConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"voicePreset": {
"type": [
"string",
"null"
]
},
"speakingVoiceId": {
"type": [
"string",
"null"
]
},
"speakingVoiceSource": {
"anyOf": [
{
"type": "string",
"enum": [
"preset",
"cloned"
]
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"prettify": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"draft",
"active",
"archived"
]
},
"lookSeedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, gender, age, ethnicity, description, bible, profileConfig, voicePreset, speakingVoiceId, speakingVoiceSource, profilePhotoMediaId, prettify, status, createdAt, updatedAt, profilePhotoUrl.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"age": 0,
"speakingVoiceId": "Example",
"status": "draft",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"gender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"age": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"ethnicity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bible": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"profileConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"voicePreset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"speakingVoiceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"speakingVoiceSource": {
"anyOf": [
{
"type": "string",
"enum": [
"preset",
"cloned"
]
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"prettify": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"draft",
"active",
"archived"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"gender",
"age",
"ethnicity",
"description",
"profileConfig",
"voicePreset",
"speakingVoiceId",
"speakingVoiceSource",
"profilePhotoMediaId",
"prettify",
"status",
"createdAt",
"updatedAt",
"profilePhotoUrl",
"workspaceId",
"brandName"
],
"additionalProperties": true
}delete_influencerWrite
Permanently delete an influencer and release their cloned voice. Only call when the user explicitly requests deletion and confirm=true.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
influencer_id | Yes | uuid |
confirm | Yes | true |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"influencer_id": "11111111-1111-4111-8111-111111111111",
"confirm": true,
"idempotency_key": "delete_influencer-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"influencer_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"influencer_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, gender, age, ethnicity, description, bible, profileConfig, voicePreset, speakingVoiceId, speakingVoiceSource, profilePhotoMediaId, prettify, status, createdAt, updatedAt, profilePhotoUrl.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"age": 0,
"speakingVoiceId": "Example",
"status": "draft",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"gender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"age": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"ethnicity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bible": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"profileConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"voicePreset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"speakingVoiceId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"speakingVoiceSource": {
"anyOf": [
{
"type": "string",
"enum": [
"preset",
"cloned"
]
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"prettify": {
"type": "boolean"
},
"status": {
"type": "string",
"enum": [
"draft",
"active",
"archived"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"gender",
"age",
"ethnicity",
"description",
"profileConfig",
"voicePreset",
"speakingVoiceId",
"speakingVoiceSource",
"profilePhotoMediaId",
"prettify",
"status",
"createdAt",
"updatedAt",
"profilePhotoUrl",
"workspaceId",
"brandName"
],
"additionalProperties": true
}draft_influencer_identityWrite
Draft a influencer identity from the brand context. Costs 5 credits. Save the result with create_influencer.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
description | No / conditional | stringmaxLength: 2000 |
name | No / conditional | stringmaxLength: 200 |
gender | No / conditional | string | null |
age | No / conditional | integer | null |
ethnicity | No / conditional | string | null |
voicePreset | No / conditional | string | null |
profileConfig | No / conditional | object | null |
photoMediaIds | No / conditional | arraymaxItems: 5 |
photoIntent | No / conditional | "likeness" | "look_seed" |
avoidName | No / conditional | stringmaxLength: 200 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "draft_influencer_identity-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"description": {
"type": "string",
"maxLength": 2000
},
"name": {
"type": "string",
"maxLength": 200
},
"gender": {
"type": [
"string",
"null"
]
},
"age": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"ethnicity": {
"type": [
"string",
"null"
]
},
"voicePreset": {
"type": [
"string",
"null"
]
},
"profileConfig": {
"anyOf": [
{
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"photoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 5
},
"photoIntent": {
"type": "string",
"enum": [
"likeness",
"look_seed"
]
},
"avoidName": {
"type": "string",
"maxLength": 200
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: name, gender, age, ethnicity, voicePreset, profileConfig.
{
"name": "Alex",
"age": 28,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"gender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"age": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"ethnicity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"voicePreset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileConfig": {
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"name",
"gender",
"age",
"ethnicity",
"voicePreset",
"profileConfig",
"workspaceId",
"brandName"
],
"additionalProperties": true
}draft_influencer_characterWrite
Complete the character for a drafted influencer identity. Costs no additional credits. Save the result with create_influencer or update_influencer.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
name | Yes | string |
gender | No / conditional | string | null |
age | No / conditional | integer | null |
ethnicity | No / conditional | string | null |
voicePreset | No / conditional | string | null |
profileConfig | No / conditional | object |
description | No / conditional | stringmaxLength: 2000 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"name": "Alex",
"idempotency_key": "draft_influencer_character-example-1",
"age": 28
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"gender": {
"type": [
"string",
"null"
]
},
"age": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"ethnicity": {
"type": [
"string",
"null"
]
},
"voicePreset": {
"type": [
"string",
"null"
]
},
"profileConfig": {
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
"description": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"name"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: bible.
{
"bible": {
"identity": {
"niche": "Example",
"owns": "Example",
"audienceImpression": "Example",
"brandPromise": "Example"
},
"beliefs": {
"messagingPillars": [],
"hotTakes": []
},
"voice": {
"tone": [],
"principles": [],
"writingStyle": "Example"
},
"phrases": {
"examplePhrases": [],
"bannedPhrases": []
},
"contentPillars": [],
"captionFrameworks": []
},
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"bible": {
"type": "object",
"properties": {
"identity": {
"type": "object",
"properties": {
"niche": {
"type": "string"
},
"owns": {
"type": "string"
},
"audienceImpression": {
"type": "string"
},
"brandPromise": {
"type": "string"
}
},
"required": [
"niche",
"owns",
"audienceImpression",
"brandPromise"
],
"additionalProperties": false
},
"beliefs": {
"type": "object",
"properties": {
"messagingPillars": {
"type": "array",
"items": {
"type": "string"
}
},
"hotTakes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"messagingPillars",
"hotTakes"
],
"additionalProperties": false
},
"voice": {
"type": "object",
"properties": {
"tone": {
"type": "array",
"items": {
"type": "string"
}
},
"principles": {
"type": "array",
"items": {
"type": "string"
}
},
"writingStyle": {
"type": "string"
}
},
"required": [
"tone",
"principles",
"writingStyle"
],
"additionalProperties": false
},
"phrases": {
"type": "object",
"properties": {
"examplePhrases": {
"type": "array",
"items": {
"type": "string"
}
},
"bannedPhrases": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"examplePhrases",
"bannedPhrases"
],
"additionalProperties": false
},
"contentPillars": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"topics": {
"type": "array",
"items": {
"type": "string"
}
},
"ownedQuestions": {
"type": "array",
"items": {
"type": "string"
}
},
"hookDirections": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"name",
"topics",
"ownedQuestions",
"hookDirections"
],
"additionalProperties": false
}
},
"captionFrameworks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"name",
"steps"
],
"additionalProperties": false
}
}
},
"required": [
"identity",
"beliefs",
"voice",
"phrases",
"contentPillars",
"captionFrameworks"
],
"additionalProperties": false
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"bible",
"workspaceId",
"brandName"
],
"additionalProperties": true
}redraft_influencer_characterWrite
Redraft a influencer's character. Costs 5 credits. Save the result with update_influencer.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
name | Yes | string |
gender | No / conditional | string | null |
age | No / conditional | integer | null |
ethnicity | No / conditional | string | null |
voicePreset | No / conditional | string | null |
profileConfig | No / conditional | object |
description | No / conditional | stringmaxLength: 2000 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"name": "Alex",
"idempotency_key": "redraft_influencer_character-example-1",
"age": 28,
"description": "Make their character more practical"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"gender": {
"type": [
"string",
"null"
]
},
"age": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"ethnicity": {
"type": [
"string",
"null"
]
},
"voicePreset": {
"type": [
"string",
"null"
]
},
"profileConfig": {
"type": "object",
"properties": {
"pronouns": {
"type": "string",
"maxLength": 500
},
"primaryLanguage": {
"type": "string",
"maxLength": 500
},
"appearance": {
"type": "object",
"properties": {
"hairColor": {
"type": "string",
"maxLength": 500
},
"hairStyle": {
"type": "string",
"maxLength": 500
},
"eyeColor": {
"type": "string",
"maxLength": 500
},
"skinTone": {
"type": "string",
"maxLength": 500
},
"bodyType": {
"type": "string",
"maxLength": 500
},
"heightCm": {
"anyOf": [
{
"type": "integer",
"minimum": 100,
"maximum": 250
},
{
"type": "null"
}
]
},
"distinguishingFeatures": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"hairColor",
"hairStyle",
"eyeColor",
"skinTone",
"bodyType",
"heightCm",
"distinguishingFeatures"
],
"additionalProperties": false
},
"background": {
"type": "object",
"properties": {
"location": {
"type": "string",
"maxLength": 500
},
"occupation": {
"type": "string",
"maxLength": 500
},
"education": {
"type": "string",
"maxLength": 500
},
"income": {
"type": "string",
"maxLength": 500
},
"relationshipStatus": {
"type": "string",
"maxLength": 500
},
"children": {
"type": "string",
"maxLength": 500
}
},
"required": [
"location",
"occupation",
"education",
"income",
"relationshipStatus",
"children"
],
"additionalProperties": false
},
"creatorContext": {
"type": "object",
"properties": {
"roleArchetype": {
"type": "string",
"maxLength": 500
},
"contentPurposes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"personalBackground": {
"type": "string",
"maxLength": 4000
}
},
"required": [
"roleArchetype",
"contentPurposes",
"personalBackground"
],
"additionalProperties": false
},
"visualPreferences": {
"type": "object",
"properties": {
"wardrobe": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"recurringLocations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"signatureAccessories": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"avoid": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
}
},
"required": [
"wardrobe",
"recurringLocations",
"signatureAccessories",
"avoid"
],
"additionalProperties": false
},
"contentBoundaries": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"maxItems": 20
},
"storyAnchors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"label",
"value"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"pronouns",
"primaryLanguage",
"appearance",
"background",
"creatorContext",
"visualPreferences",
"contentBoundaries",
"storyAnchors"
],
"additionalProperties": false
},
"description": {
"type": "string",
"maxLength": 2000
}
},
"required": [
"name"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: bible.
{
"bible": {
"identity": {
"niche": "Example",
"owns": "Example",
"audienceImpression": "Example",
"brandPromise": "Example"
},
"beliefs": {
"messagingPillars": [],
"hotTakes": []
},
"voice": {
"tone": [],
"principles": [],
"writingStyle": "Example"
},
"phrases": {
"examplePhrases": [],
"bannedPhrases": []
},
"contentPillars": [],
"captionFrameworks": []
},
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"bible": {
"type": "object",
"properties": {
"identity": {
"type": "object",
"properties": {
"niche": {
"type": "string"
},
"owns": {
"type": "string"
},
"audienceImpression": {
"type": "string"
},
"brandPromise": {
"type": "string"
}
},
"required": [
"niche",
"owns",
"audienceImpression",
"brandPromise"
],
"additionalProperties": false
},
"beliefs": {
"type": "object",
"properties": {
"messagingPillars": {
"type": "array",
"items": {
"type": "string"
}
},
"hotTakes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"messagingPillars",
"hotTakes"
],
"additionalProperties": false
},
"voice": {
"type": "object",
"properties": {
"tone": {
"type": "array",
"items": {
"type": "string"
}
},
"principles": {
"type": "array",
"items": {
"type": "string"
}
},
"writingStyle": {
"type": "string"
}
},
"required": [
"tone",
"principles",
"writingStyle"
],
"additionalProperties": false
},
"phrases": {
"type": "object",
"properties": {
"examplePhrases": {
"type": "array",
"items": {
"type": "string"
}
},
"bannedPhrases": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"examplePhrases",
"bannedPhrases"
],
"additionalProperties": false
},
"contentPillars": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"topics": {
"type": "array",
"items": {
"type": "string"
}
},
"ownedQuestions": {
"type": "array",
"items": {
"type": "string"
}
},
"hookDirections": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"name",
"topics",
"ownedQuestions",
"hookDirections"
],
"additionalProperties": false
}
},
"captionFrameworks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"steps": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"name",
"steps"
],
"additionalProperties": false
}
}
},
"required": [
"identity",
"beliefs",
"voice",
"phrases",
"contentPillars",
"captionFrameworks"
],
"additionalProperties": false
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"bible",
"workspaceId",
"brandName"
],
"additionalProperties": true
}clone_influencer_voiceWrite
Clone a influencer's speaking voice from an existing uploaded recording. Requires the user's recorded voice permission; never record consent on their behalf without an explicit answer.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
influencer_id | Yes | uuid |
mediaId | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"influencer_id": "11111111-1111-4111-8111-111111111111",
"mediaId": "22222222-2222-4222-8222-222222222222",
"idempotency_key": "clone_influencer_voice-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"influencer_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"influencer_id"
]
},
{
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"mediaId"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: speakingVoiceId, auditionUrl.
{
"speakingVoiceId": "returned-voice-id",
"auditionUrl": "https://example.com/signed-audition",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"speakingVoiceId": {
"type": "string"
},
"auditionUrl": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"speakingVoiceId",
"auditionUrl",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_ready_made_influencersRead
List Amplify's ready-made influencers the brand can use, with name, age, look and photo.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"age": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"gender": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"age",
"gender",
"description",
"profilePhotoUrl"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}Media and uploads
list_mediaRead
Browse brand media with the existing kind, purpose, source, category, search, and pagination filters.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
jobId | No / conditional | uuid |
influencerId | No / conditional | uuid |
kind | No / conditional | "image" | "video" | "audio" |
purpose | No / conditional | "general" | "identity_reference" | "product_demo" | "meme_template" | "feedback" | "remix_source" | "curated" | "music_cue" | "post_upload" | "chat_attachment" | "post_render" | "ready_made_hook" | "filmed_phone" |
source | No / conditional | "generated" | "uploaded" | "pinterest" | "crawled" | "seed" | "site" | "social" |
scope | No / conditional | "clips" |
category | No / conditional | stringminLength: 1maxLength: 60 |
q | No / conditional | stringminLength: 1maxLength: 60 |
offset | No / conditional | integerminimum: 0 |
limit | No / conditional | integerminimum: 1maximum: 50 |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"jobId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
"purpose": {
"type": "string",
"enum": [
"general",
"identity_reference",
"product_demo",
"meme_template",
"feedback",
"remix_source",
"curated",
"music_cue",
"post_upload",
"chat_attachment",
"post_render",
"ready_made_hook",
"filmed_phone"
]
},
"source": {
"type": "string",
"enum": [
"generated",
"uploaded",
"pinterest",
"crawled",
"seed",
"site",
"social"
]
},
"scope": {
"type": "string",
"enum": [
"clips"
]
},
"category": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"q": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"offset": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"kind": {
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
"source": {
"type": "string",
"enum": [
"generated",
"uploaded",
"pinterest",
"crawled",
"seed",
"site",
"social"
]
},
"purpose": {
"type": "string",
"enum": [
"general",
"identity_reference",
"product_demo",
"meme_template",
"feedback",
"remix_source",
"curated",
"music_cue",
"post_upload",
"chat_attachment",
"post_render",
"ready_made_hook",
"filmed_phone"
]
},
"storagePath": {
"type": "string"
},
"mimeType": {
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"durationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"isAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"provenClaims": {
"type": "array",
"items": {
"type": "string"
}
},
"reviewedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"unusableAs": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"shared": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"workspaceId",
"kind",
"source",
"purpose",
"storagePath",
"mimeType",
"width",
"height",
"durationMs",
"isAiGenerated",
"influencerId",
"description",
"tags",
"provenClaims",
"reviewedAt",
"unusableAs",
"createdAt",
"title",
"shared",
"url"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}prepare_media_uploadWrite
Prepare an upload for a local image, video, or audio file, up to 250 MB. Upload the real file bytes to the returned URL using its protocol, headers, and multipart instructions, then call complete_media_upload. Never pass a local file path as a server URL or fabricate base64. Costs no credits.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
mimeType | Yes | "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "video/mp4" | "video/quicktime" | "video/webm" | "audio/mpeg" | "audio/webm" | "audio/wav" | "audio/mp4" |
fileSize | Yes | integerexclusiveMinimum: 0maximum: 262144000 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"mimeType": "image/jpeg",
"fileSize": 1048576,
"idempotency_key": "prepare_media_upload-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/gif",
"video/mp4",
"video/quicktime",
"video/webm",
"audio/mpeg",
"audio/webm",
"audio/wav",
"audio/mp4"
]
},
"fileSize": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 262144000
}
},
"required": [
"mimeType",
"fileSize"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: storagePath, uploadUrl, method, protocol, headers, uploadId, partSize, partUrls.
{
"storagePath": "workspaces/example/uploads/photo.jpg",
"uploadUrl": "https://example.com/signed-upload",
"method": "PUT",
"protocol": "raw",
"headers": {},
"uploadInstructions": "PUT the entire file's raw bytes to uploadUrl using returned headers. After a successful upload, call complete_media_upload with storagePath and mimeType.",
"nextAction": {
"tool": "complete_media_upload",
"instruction": "Only complete after every file byte has uploaded successfully. If the signed URL expires, prepare a new upload with a new idempotency_key."
},
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"storagePath": {
"type": "string",
"minLength": 1
},
"uploadUrl": {
"type": "string",
"format": "uri"
},
"method": {
"type": "string",
"enum": [
"PUT"
]
},
"protocol": {
"type": "string",
"enum": [
"raw",
"supabase_multipart",
"s3_multipart"
]
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"uploadId": {
"type": "string",
"minLength": 1
},
"partSize": {
"type": "integer",
"exclusiveMinimum": true,
"minimum": 0
},
"partUrls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"storagePath",
"uploadUrl",
"method",
"protocol",
"headers",
"workspaceId",
"brandName"
],
"additionalProperties": true
}complete_media_uploadWrite
Register a successfully uploaded file as brand media. Use storagePath and mimeType from prepare_media_upload. Use purpose=general for Library or post_own_file, or purpose=remix_source for prepare_remix. Returns the media ID. Reference faces require the user's recorded permission.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
storagePath | Yes | stringminLength: 1 |
mimeType | Yes | "image/jpeg" | "image/png" | "image/webp" | "image/gif" | "video/mp4" | "video/quicktime" | "video/webm" | "audio/mpeg" | "audio/webm" | "audio/wav" | "audio/mp4" |
influencerId | No / conditional | uuid |
purpose | No / conditional | "general" | "identity_reference" | "product_demo" | "meme_template" | "feedback" | "remix_source" | "curated" | "music_cue" | "post_upload" | "chat_attachment" | "post_render" | "ready_made_hook" | "filmed_phone"default: "general" |
uploadId | No / conditional | stringminLength: 1 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"storagePath": "workspaces/example/uploads/photo.jpg",
"mimeType": "image/jpeg",
"idempotency_key": "complete_media_upload-example-1",
"purpose": "general"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"storagePath": {
"type": "string",
"minLength": 1
},
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/gif",
"video/mp4",
"video/quicktime",
"video/webm",
"audio/mpeg",
"audio/webm",
"audio/wav",
"audio/mp4"
]
},
"influencerId": {
"type": "string",
"format": "uuid"
},
"purpose": {
"type": "string",
"enum": [
"general",
"identity_reference",
"product_demo",
"meme_template",
"feedback",
"remix_source",
"curated",
"music_cue",
"post_upload",
"chat_attachment",
"post_render",
"ready_made_hook",
"filmed_phone"
],
"default": "general"
},
"uploadId": {
"type": "string",
"minLength": 1
}
},
"required": [
"storagePath",
"mimeType"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, kind, source, purpose, storagePath, mimeType, width, height, durationMs, isAiGenerated, influencerId, description, tags, provenClaims, reviewedAt, unusableAs, createdAt, title, shared, url.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"storagePath": "Example",
"url": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
"source": {
"type": "string",
"enum": [
"generated",
"uploaded",
"pinterest",
"crawled",
"seed",
"site",
"social"
]
},
"purpose": {
"type": "string",
"enum": [
"general",
"identity_reference",
"product_demo",
"meme_template",
"feedback",
"remix_source",
"curated",
"music_cue",
"post_upload",
"chat_attachment",
"post_render",
"ready_made_hook",
"filmed_phone"
]
},
"storagePath": {
"type": "string"
},
"mimeType": {
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"durationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"isAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"provenClaims": {
"type": "array",
"items": {
"type": "string"
}
},
"reviewedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"unusableAs": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"shared": {
"type": "boolean"
},
"url": {
"type": "string"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"kind",
"source",
"purpose",
"storagePath",
"mimeType",
"width",
"height",
"durationMs",
"isAiGenerated",
"influencerId",
"description",
"tags",
"provenClaims",
"reviewedAt",
"unusableAs",
"createdAt",
"title",
"shared",
"url",
"workspaceId",
"brandName"
],
"additionalProperties": true
}abort_media_uploadWrite
Abort an unfinished multipart upload using its storagePath and uploadId.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
storagePath | Yes | stringminLength: 1 |
uploadId | Yes | stringminLength: 1 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"storagePath": "workspaces/example/uploads/video.mp4",
"uploadId": "returned-upload-id",
"idempotency_key": "abort_media_upload-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"storagePath": {
"type": "string",
"minLength": 1
},
"uploadId": {
"type": "string",
"minLength": 1
}
},
"required": [
"storagePath",
"uploadId"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: ok.
{
"ok": true,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"ok",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_media_urlRead
Get a signed preview or download URL for an authorized media asset. Refresh this URL if it expires.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
media_id | Yes | uuid |
Input example
{
"media_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"media_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"media_id"
]
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: url, expiresAt, kind.
{
"url": "https://example.com/signed-preview",
"expiresAt": "2026-10-02T01:00:00.000Z",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"expiresAt": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"url",
"expiresAt",
"kind",
"workspaceId",
"brandName"
],
"additionalProperties": true
}improve_imageWrite
Improve an existing image with an optional instruction. Costs 1 credits. Returns a jobId; get_job returns the new media IDs.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
media_id | Yes | uuid |
instruction | No / conditional | stringmaxLength: 500 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"media_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "improve_image-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"media_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"media_id"
]
},
{
"type": "object",
"properties": {
"instruction": {
"type": "string",
"maxLength": 500
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, status, creditCost.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"status": "queued",
"creditCost": 1,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"waiting_provider",
"completed",
"failed",
"cancelled",
"awaiting_review",
"held"
]
},
"creditCost": {
"type": "integer"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"status",
"creditCost",
"workspaceId",
"brandName"
],
"additionalProperties": true
}delete_mediaWrite
Permanently delete a media asset when the existing app rules permit it. Only call when the user explicitly requests deletion and confirm=true.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
media_id | Yes | uuid |
confirm | Yes | true |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"media_id": "11111111-1111-4111-8111-111111111111",
"confirm": true,
"idempotency_key": "delete_media-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"media_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"media_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: ok.
{
"ok": true,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"ok",
"workspaceId",
"brandName"
],
"additionalProperties": true
}record_media_consentWrite
Record the user's explicit permission to use a reference face or clone a voice. Requires confirm=true. Ask the user first; never infer consent from a file upload or content brief. Use the current consent version from get_studio_options.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
version | Yes | "2026-07-28" |
purposes | Yes | arrayminItems: 1maxItems: 2 |
confirm | Yes | true |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"version": "2026-07-28",
"purposes": [
"biometric_reference_face"
],
"confirm": true,
"idempotency_key": "record_media_consent-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"version": {
"type": "string",
"const": "2026-07-28"
},
"purposes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"biometric_reference_face",
"biometric_voice_clone"
]
},
"minItems": 1,
"maxItems": 2
}
},
"required": [
"version",
"purposes"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: ok.
{
"ok": true,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"ok",
"workspaceId",
"brandName"
],
"additionalProperties": true
}Content Studio
create_contentWrite
Create private Content Studio posts, standalone photos (mode=photos), or video clips (mode=videos) in the background. Returns a jobId; use get_job for progress, frame review, and result IDs, then get_content or get_media_url for previews. Planning costs 5 credits, fresh photos cost 5 each, video costs 16 per generated second, and talking heads cost 20 per generated second. The exact total is calculated before dispatch and returned as maximumCreditCost. One post per call; for several varied posts use generate_turbo_cards. Templates that imitate somebody else's post (reddit_thread, story_notification) read as real testimonials, so avoid them for medical, financial or legal claims.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
format | Yes | "slideshow" | "wall_of_text" | "video" | "green_screen" | "hook_demo" | "talking_head" | "photo_reel" |
influencerId | No / conditional | uuid |
personaMediaId | No / conditional | uuid |
matchPersonaPhoto | No / conditional | boolean |
targetAccountId | No / conditional | uuid |
prompt | No / conditional | stringminLength: 1 |
imageSource | No / conditional | "fresh" | "auto" | "manual"default: "fresh" |
mediaIds | No / conditional | array |
hookMediaId | No / conditional | uuid |
hookFromJobId | No / conditional | uuid |
readyMadeId | No / conditional | uuid |
viralHookId | No / conditional | stringminLength: 1maxLength: 80 |
readyMadeHook | No / conditional | boolean |
hookVideoPrompt | No / conditional | stringminLength: 1 |
talkOverDemo | No / conditional | boolean |
voiceover | No / conditional | stringminLength: 1maxLength: 600 |
callToAction | No / conditional | stringminLength: 1maxLength: 80 |
demoMediaId | No / conditional | uuid |
memeTemplateMediaId | No / conditional | uuid |
backgroundMediaId | No / conditional | uuid |
remixAnalysisToken | No / conditional | stringminLength: 1 |
remixSkeleton | No / conditional | object |
remixBrief | No / conditional | stringminLength: 1 |
creatorSwap | No / conditional | boolean |
remixScene | No / conditional | stringminLength: 1maxLength: 2000 |
keepSourceSlideIndexes | No / conditional | arraymaxItems: 10 |
slideTexts | No / conditional | arraymaxItems: 10 |
slidePhotos | No / conditional | arraymaxItems: 10 |
removedSlideIndexes | No / conditional | arraymaxItems: 10 |
mode | No / conditional | "content" | "photos" | "videos"default: "content" |
videoTemplate | No / conditional | "product_faceless_clean_hero" | "product_faceless_pick_up" | "product_faceless_turn_inspect" | "product_faceless_open_close" | "product_faceless_use" | "product_faceless_macro" | "product_creator_present" | "product_creator_use" | "product_creator_try_apply" | "product_creator_unbox" | "product_creator_inspect" | "product_creator_hold_camera" | "broll_hands_work" | "broll_pov_action" | "broll_over_shoulder" | "broll_workspace" | "broll_closeup_process" | "broll_ambient" | "hook_talk_disbelief" | "hook_phone_reveal" | "hook_everyday_struggle" | "hook_shocked" | "hook_snack_stare" | "hook_double_take" | "hook_wait_what" | "hook_excited_discovery" | "hook_caught_off_guard" | "hook_point_proof" | "hook_selfie_push_in" | "hook_strike_pose" |
videoSound | No / conditional | boolean |
reviewFrames | No / conditional | boolean |
videoDurationSeconds | No / conditional | 5 | 10 | 15 | 20 | 30 |
talkingHeadSeconds | No / conditional | integerminimum: 4maximum: 30 |
talkingHeadCut | No / conditional | "product" | "creator" |
reuseSourceAudio | No / conditional | boolean |
openingTextMode | No / conditional | "generated" | "source" | "custom" | "none" |
openingText | No / conditional | stringminLength: 1maxLength: 500 |
showBefore | No / conditional | boolean |
beforeAfter | No / conditional | boolean |
productIds | No / conditional | array |
shotTemplate | No / conditional | "hero" | "try_on" | "lifestyle" | "unboxing" |
videoTreatment | No / conditional | "ugc" | "cinematic" |
templateSlug | No / conditional | stringmaxLength: 64 |
savedTemplateId | No / conditional | uuid |
publishedTemplateId | No / conditional | uuid |
templateFields | No / conditional | object |
soundLinks | No / conditional | object |
referenceMediaIds | No / conditional | arraymaxItems: 5 |
removeText | No / conditional | boolean |
promptMediaIds | No / conditional | arraymaxItems: 5 |
photoReelSlotMs | No / conditional | integerminimum: 230maximum: 1000 |
aspectRatio | No / conditional | "9:16" | "3:4" | "4:5" | "1:1" | "4:3" | "16:9" |
photoCount | No / conditional | integerminimum: 1maximum: 5 |
faceless | No / conditional | boolean |
reshootFace | No / conditional | boolean |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"format": "slideshow",
"idempotency_key": "create_content-example-1",
"mode": "content",
"prompt": "Three ways to keep a desk tidy",
"imageSource": "fresh"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
],
"description": "The post's format from get_studio_options. slideshow is a carousel of 5 photos with words; wall_of_text one photo with a block of text; green_screen a meme clip over a background; video, hook_demo, talking_head and photo_reel are videos."
},
"influencerId": {
"type": "string",
"format": "uuid",
"description": "The creator from list_influencers who stars in the post: their face is in the photos and the words are in their voice. Absent makes a faceless post."
},
"personaMediaId": {
"type": "string",
"format": "uuid",
"description": "Photos mode: the creator photo to hold their look to. Absent uses their profile photo."
},
"matchPersonaPhoto": {
"type": "boolean",
"description": "Photos mode: false invents the creator's look from their description instead of a photo of them."
},
"targetAccountId": {
"type": "string",
"format": "uuid",
"description": "The social account from list_accounts this post is written for. It tailors the post; nothing is posted until schedule_post or publish_content."
},
"prompt": {
"type": "string",
"minLength": 1,
"description": "The brief: what the post is about, its angle and who it speaks to, in plain sentences. Amplify writes the hook, slides and caption from it and the brand. Required in content mode, except for a remix. Its facts (prices, an offer's terms, results, numbers) come only from the user or get_brand."
},
"imageSource": {
"type": "string",
"enum": [
"fresh",
"auto",
"manual"
],
"default": "fresh",
"description": "fresh makes new photos (credits per photo, best match to the brief, the default). auto reuses Library photos for free: a creator's few photos repeat across posts. manual uses exactly the mediaIds given."
},
"mediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"description": "Library photo or clip ids from list_media: the photos for imageSource=manual, the pool for a photo_reel."
},
"hookMediaId": {
"type": "string",
"format": "uuid",
"description": "Hook & demo: a Library hook clip to open on."
},
"hookFromJobId": {
"type": "string",
"format": "uuid",
"description": "Hook & demo: share the hook clip another create_content job (mode=videos) is making."
},
"readyMadeId": {
"type": "string",
"format": "uuid",
"description": "Hook & demo: one of Amplify's ready-made faces acts the hook instead of the brand's creator."
},
"viralHookId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "Hook & demo: a curated viral opener to rebuild."
},
"readyMadeHook": {
"type": "boolean",
"description": "Hook & demo with viralHookId and readyMadeId: use the shared take of that opener, priced as a Library clip."
},
"hookVideoPrompt": {
"type": "string",
"minLength": 1,
"description": "Hook & demo: how a newly generated opening hook should look."
},
"talkOverDemo": {
"type": "boolean",
"description": "Hook & demo: the creator talks over the demo. Off plays the demo's own sound."
},
"voiceover": {
"type": "string",
"minLength": 1,
"maxLength": 600,
"description": "Hook & demo with talkOverDemo: the exact words spoken."
},
"callToAction": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "Hook & demo only: the closing line, held over the demo and ending the caption, exactly as written."
},
"demoMediaId": {
"type": "string",
"format": "uuid",
"description": "Hook & demo: the uploaded product demo clip from list_media."
},
"memeTemplateMediaId": {
"type": "string",
"format": "uuid",
"description": "Green screen: the meme clip to use."
},
"backgroundMediaId": {
"type": "string",
"format": "uuid",
"description": "Green screen: the background to put it over."
},
"remixAnalysisToken": {
"type": "string",
"minLength": 1,
"description": "Remix: analysisToken from prepare_remix. Send with remixSkeleton exactly as returned."
},
"remixSkeleton": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"niche": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"seed",
"scraped"
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo"
]
},
"slideCount": {
"type": "integer",
"exclusiveMinimum": 0
},
"hookShape": {
"type": "string"
},
"voiceSignature": {
"type": "string"
},
"ctaSlot": {
"type": "string",
"enum": [
"parenthetical_in_hook",
"final_slide_winner",
"caption_only",
"none"
]
},
"slideSkeleton": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"hook",
"item",
"payoff"
]
},
"beat": {
"type": "string"
},
"microFormat": {
"type": [
"string",
"null"
]
},
"sentences": {
"type": "integer",
"minimum": 0
},
"words": {
"type": "integer",
"minimum": 0
},
"lines": {
"type": "integer",
"minimum": 0
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"shot": {
"type": [
"string",
"null"
]
},
"hasPrimarySubject": {
"type": [
"boolean",
"null"
]
},
"keepSourceMedia": {
"type": "boolean"
},
"sourceLayout": {
"type": "string"
}
},
"required": [
"role",
"beat",
"microFormat",
"sentences",
"words",
"lines"
],
"additionalProperties": false
},
"minItems": 1
},
"hookShot": {
"anyOf": [
{
"type": "object",
"properties": {
"opening": {
"type": "string"
},
"closing": {
"type": [
"string",
"null"
]
},
"production": {
"type": "string",
"enum": [
"phone",
"produced"
]
}
},
"required": [
"opening",
"closing",
"production"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"hookSeconds": {
"type": [
"number",
"null"
]
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"subjectKind": {
"anyOf": [
{
"type": "string",
"enum": [
"animal",
"person",
"object"
]
},
{
"type": "null"
}
]
},
"sourceIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"dance",
"stunt",
"workout",
"walk",
"talk",
"demo",
"other"
]
},
{
"type": "null"
}
],
"default": null
},
"hasAudibleSpeech": {
"type": [
"boolean",
"null"
]
},
"hasVisibleSpeech": {
"type": [
"boolean",
"null"
]
},
"screenshotOf": {
"type": [
"boolean",
"null"
],
"default": null
},
"semanticBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"visual": {
"type": "string"
},
"audioCue": {
"type": [
"string",
"null"
]
}
},
"required": [
"startSeconds",
"endSeconds",
"visual",
"audioCue"
],
"additionalProperties": false
}
},
"visualInserts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"anchorText": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"role": {
"type": "string",
"enum": [
"proof",
"example",
"product",
"joke",
"interface",
"other"
]
},
"kind": {
"type": "string",
"enum": [
"photo",
"illustration",
"screenshot",
"card"
]
},
"coverage": {
"type": "string",
"enum": [
"overlay",
"full"
]
},
"description": {
"type": "string",
"minLength": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"startSeconds",
"endSeconds",
"anchorText",
"role",
"kind",
"coverage",
"description",
"frame",
"entrance",
"exit"
],
"additionalProperties": false
},
"default": []
},
"overlayBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"atSeconds": {
"type": "number"
},
"endSeconds": {
"type": "number"
},
"text": {
"type": "string"
},
"written": {
"type": "string",
"enum": [
"card",
"caption",
"on_object"
]
},
"frame": {
"type": "string"
}
},
"required": [
"atSeconds",
"text"
],
"additionalProperties": false
}
},
"spokenWords": {
"type": [
"string",
"null"
]
},
"overlayLook": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coverLook": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"savedLook": {
"anyOf": [
{
"type": "object",
"properties": {
"title": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"body": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
}
},
"required": [
"title",
"body"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"repeatedTitle": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"look": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
"frame": {
"type": "string"
}
},
"required": [
"text",
"look"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"cuts": {
"type": "array",
"items": {
"type": "number"
}
},
"shots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"whatChanges": {
"type": "string"
},
"hasPrimarySubject": {
"type": "boolean"
}
},
"required": [
"whatChanges",
"hasPrimarySubject"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"niche",
"source",
"format",
"slideCount",
"hookShape",
"voiceSignature",
"ctaSlot",
"slideSkeleton",
"hookShot",
"hookSeconds",
"durationSeconds",
"subjectKind",
"semanticBeats",
"overlayBeats",
"cuts",
"shots"
],
"additionalProperties": false,
"description": "Remix: skeleton from prepare_remix, unchanged."
},
"remixBrief": {
"type": "string",
"minLength": 1,
"description": "Remix: prompt from prepare_remix, unchanged. prompt holds only what the user asked for this post."
},
"creatorSwap": {
"type": "boolean",
"description": "Remix: keep the source post as it is and replace only the person in it with influencerId."
},
"remixScene": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Remix with new photos: the place or look to set every slide in. Absent keeps the source's scene."
},
"keepSourceSlideIndexes": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 10,
"description": "Remix: zero-based source slides prepare_remix marked safe to keep exactly."
},
"slideTexts": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 1
},
"mode": {
"type": "string",
"const": "source"
}
},
"required": [
"index",
"mode"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 1
},
"mode": {
"type": "string",
"const": "custom"
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"index",
"mode",
"text"
],
"additionalProperties": false
}
]
},
"maxItems": 10,
"description": "Slideshow remix: per slide after the first, keep the source's words (source) or use your own (custom)."
},
"slidePhotos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 0
},
"mediaId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"index",
"mediaId"
],
"additionalProperties": false
},
"maxItems": 10,
"description": "Slideshow remix: a Library photo to use as it is on a slide."
},
"removedSlideIndexes": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1
},
"maxItems": 10,
"description": "Slideshow remix: zero-based source slides to leave out, unmade and unpaid. Slide 0 and at least two slides stay. Other slide indexes still count source slides."
},
"mode": {
"type": "string",
"enum": [
"content",
"photos",
"videos"
],
"default": "content",
"description": "content makes a finished post (the default). photos makes standalone photos of a creator or scene for the Library; videos makes standalone clips."
},
"videoTemplate": {
"type": "string",
"enum": [
"product_faceless_clean_hero",
"product_faceless_pick_up",
"product_faceless_turn_inspect",
"product_faceless_open_close",
"product_faceless_use",
"product_faceless_macro",
"product_creator_present",
"product_creator_use",
"product_creator_try_apply",
"product_creator_unbox",
"product_creator_inspect",
"product_creator_hold_camera",
"broll_hands_work",
"broll_pov_action",
"broll_over_shoulder",
"broll_workspace",
"broll_closeup_process",
"broll_ambient",
"hook_talk_disbelief",
"hook_phone_reveal",
"hook_everyday_struggle",
"hook_shocked",
"hook_snack_stare",
"hook_double_take",
"hook_wait_what",
"hook_excited_discovery",
"hook_caught_off_guard",
"hook_point_proof",
"hook_selfie_push_in",
"hook_strike_pose"
],
"description": "Video or hook_demo: a proven motion pattern from get_studio_options. Absent lets Amplify choose."
},
"videoSound": {
"type": "boolean",
"description": "Video: generate sound for the clip."
},
"reviewFrames": {
"type": "boolean",
"description": "Video post: stop after the opening frames for approve_video_frames before the paid render."
},
"videoDurationSeconds": {
"type": "number",
"enum": [
5,
10,
15,
20,
30
],
"description": "Video: finished length in seconds, priced per second."
},
"talkingHeadSeconds": {
"type": "integer",
"minimum": 4,
"maximum": 30,
"description": "Talking head: length in seconds."
},
"talkingHeadCut": {
"type": "string",
"enum": [
"product",
"creator"
],
"description": "Talking head with a product: what the post cuts to after the opening scene."
},
"reuseSourceAudio": {
"type": "boolean",
"description": "Video remix: keep the source's own audio. On by default."
},
"openingTextMode": {
"type": "string",
"enum": [
"generated",
"source",
"custom",
"none"
],
"description": "Remix opening words: generated writes a new hook, source keeps the original's, custom uses openingText, none removes on-screen words."
},
"openingText": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "With openingTextMode=custom: the opening words exactly."
},
"showBefore": {
"type": "boolean",
"description": "Video remix: open on a heavier 'before' of the creator. Asserts a body change that did not happen; only when the user asks for this post."
},
"beforeAfter": {
"type": "boolean",
"description": "Video: two shots, a state then the same thing changed, both described in the prompt. Says nothing about anyone's body."
},
"productIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"description": "Products from list_products the post features. Their saved photos are used where the product shows."
},
"shotTemplate": {
"type": "string",
"enum": [
"hero",
"try_on",
"lifestyle",
"unboxing"
],
"description": "Product shots: the shot pattern for the product."
},
"videoTreatment": {
"type": "string",
"enum": [
"ugc",
"cinematic"
],
"description": "Video: ugc (handheld phone footage, the default) or cinematic (moving camera, graded)."
},
"templateSlug": {
"type": "string",
"maxLength": 64,
"description": "A built-in template from get_studio_options; read its fields with get_template and fill templateFields."
},
"savedTemplateId": {
"type": "string",
"format": "uuid",
"description": "The brand's own saved template this post is made from (list_templates)."
},
"publishedTemplateId": {
"type": "string",
"format": "uuid",
"description": "A Community template this post is made from (list_templates)."
},
"templateFields": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 500
},
"propertyNames": {
"maxLength": 64
},
"description": "The template's field answers, keyed by field name."
},
"soundLinks": {
"type": "object",
"properties": {
"tiktok": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"instagram": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"description": "TikTok/Instagram sound links to suggest with the post, replacing the template's. Not mixed into the file."
},
"referenceMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 5,
"description": "Photo copy: Library images whose pose, framing and light are recreated with the creator's face. Skips the brief."
},
"removeText": {
"type": "boolean",
"description": "Photo copy only: take the words written over each reference photo out of the copy."
},
"promptMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 5,
"description": "Library images that guide the brief and the new photos (a reference, a mood), without copying them."
},
"photoReelSlotMs": {
"type": "integer",
"minimum": 230,
"maximum": 1000,
"description": "Photo reel: how long each photo holds, in milliseconds."
},
"aspectRatio": {
"type": "string",
"enum": [
"9:16",
"3:4",
"4:5",
"1:1",
"4:3",
"16:9"
],
"description": "Photos mode only. Posts are always 9:16."
},
"photoCount": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Photos mode only: how many photos the shoot makes, priced per photo. A slideshow post always has 5."
},
"faceless": {
"type": "boolean",
"description": "Photos mode only: no face in frame. With a creator, their hands, body or back of head only."
},
"reshootFace": {
"type": "boolean",
"description": "Photos mode: rebuild the creator's face from their profile as it reads now and make it the one later photos match."
}
},
"required": [
"format"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, status.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"status": "queued",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"waiting_provider",
"completed",
"failed",
"cancelled",
"awaiting_review",
"held"
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"status",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_content_textWrite
Update a private content item's caption, hashtags, or sound links. This costs no credits.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
caption | No / conditional | stringmaxLength: 2000 |
hashtags | No / conditional | array |
soundLinks | No / conditional | object |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "update_content_text-example-1",
"caption": "A calmer desk starts here.",
"hashtags": [
"desksetup"
]
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {
"caption": {
"type": "string",
"maxLength": 2000
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
},
"description": "At most 5 are kept, in the order given. The brand's pinned hashtags publish first and count toward the 5."
},
"soundLinks": {
"type": "object",
"properties": {
"tiktok": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"instagram": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, targetAccountId, remixedFromId, remixSourceUrl, remixSkeletonId, tweakedFromId, savedTemplateId, format, origin, generationSource, status, purpose, sellStyle, aspect, caption, soundTiktokUrl, soundInstagramUrl, hashtags, angle, seed, learningContext, turboDeckRank, turboAutoDiscardedAt, renderedMediaId, renderedNoMusicMediaId, audioOrigin, ownAudio, timelineRev, renderedRev, renderStatus, renderError, editsMediaId, clipRequestedRev, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"status": "draft",
"caption": "Example",
"renderStatus": "idle",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}send_feedbackWrite
Send feedback or a bug report to the Amplify team from this workspace. The team replies in the app.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
category | No / conditional | "bug" | "feature" | "general"default: "general" |
contentItemId | No / conditional | uuid | null |
message | Yes | stringminLength: 1maxLength: 4000 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"message": "Example",
"idempotency_key": "send_feedback-example-1"
}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"category": {
"type": "string",
"enum": [
"bug",
"feature",
"general"
],
"default": "general"
},
"contentItemId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 4000
},
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"message",
"idempotency_key"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: ok, feedbackId.
{
"ok": true,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean",
"enum": [
true
]
},
"feedbackId": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"ok",
"feedbackId",
"workspaceId",
"brandName"
],
"additionalProperties": true
}create_uploaded_contentWrite
Create a private post from existing media IDs without generating new media or spending credits. Supports images and videos. Use upload tools first, then publish_content or schedule_post when ready.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
format | Yes | "slideshow" | "wall_of_text" | "video" | "green_screen" | "hook_demo" | "talking_head" | "photo_reel" |
influencerId | No / conditional | uuid |
targetAccountId | No / conditional | uuid |
purpose | No / conditional | "test_post" |
caption | No / conditional | string |
soundLinks | No / conditional | object |
hashtags | No / conditional | array |
slides | Yes | arrayminItems: 1maxItems: 20 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"format": "slideshow",
"slides": [
{
"mediaId": "22222222-2222-4222-8222-222222222222"
}
],
"idempotency_key": "create_uploaded_content-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"influencerId": {
"type": "string",
"format": "uuid"
},
"targetAccountId": {
"type": "string",
"format": "uuid"
},
"purpose": {
"type": "string",
"const": "test_post"
},
"caption": {
"type": "string"
},
"soundLinks": {
"type": "object",
"properties": {
"tiktok": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"instagram": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
},
"description": "At most 5 are kept, in the order given. The brand's pinned hashtags publish first and count toward the 5."
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"const": "auto"
},
{
"type": "number",
"exclusiveMinimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
],
"default": null
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
{
"type": "null"
}
],
"default": null
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
],
"default": null
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
{
"type": "null"
}
],
"default": null
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
],
"default": null
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
],
"default": null
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6
},
{
"type": "null"
}
],
"default": null
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
]
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
],
"default": null
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
],
"default": null
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
]
},
{
"type": "null"
}
],
"default": null
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"default": null
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"default": null
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
}
},
"required": [
"mediaId"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
}
},
"required": [
"format",
"slides"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, targetAccountId, remixedFromId, remixSourceUrl, remixSkeletonId, tweakedFromId, savedTemplateId, format, origin, generationSource, status, purpose, sellStyle, aspect, caption, soundTiktokUrl, soundInstagramUrl, hashtags, angle, seed, learningContext, turboDeckRank, turboAutoDiscardedAt, renderedMediaId, renderedNoMusicMediaId, audioOrigin, ownAudio, timelineRev, renderedRev, renderStatus, renderError, editsMediaId, clipRequestedRev, createdAt, updatedAt, slides, renderedUrl, renderedDurationMs, renderStale.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"status": "draft",
"caption": "Example",
"renderStatus": "idle",
"slides": [],
"renderStale": false,
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"idx": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"trackType": {
"type": "string",
"enum": [
"visual",
"text",
"audio"
]
},
"trackIndex": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineStartMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineDurationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageBrief": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6,
"default": null
},
{
"type": "null"
}
]
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
],
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"default": null
},
{
"type": "null"
}
]
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
],
"default": null
},
{
"type": "null"
}
]
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"photoAdjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"layoutCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"overlayImages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.08,
"maximum": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"x",
"y",
"width",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"layerFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"y": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"overlayMotion": {
"anyOf": [
{
"type": "object",
"properties": {
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"entrance",
"exit"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"opacity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"volume": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"muted": {
"type": "boolean"
},
"imageIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"persona",
"lifestyle"
]
},
{
"type": "null"
}
]
},
"trimInMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"trimOutMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"keyColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keySimilarity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"keyBlend": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"mediaKind": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"idx",
"trackType",
"trackIndex",
"timelineStartMs",
"timelineDurationMs",
"label",
"imageBrief",
"mediaId",
"overlayBoxes",
"mediaFrame",
"photoAdjust",
"layout",
"layoutCells",
"overlayImages",
"layerFrame",
"overlayMotion",
"opacity",
"volume",
"muted",
"imageIntent",
"trimInMs",
"trimOutMs",
"keyColor",
"keySimilarity",
"keyBlend",
"createdAt",
"url",
"sourceDurationMs",
"mediaKind",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"renderStale": {
"type": "boolean"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"slides",
"renderedUrl",
"renderedDurationMs",
"renderStale",
"workspaceId",
"brandName"
],
"additionalProperties": true
}save_content_slidesWrite
Save the complete ordered slide or video timeline, including layout, text overlays, trims, music, and media. Read get_content first and preserve fields the user did not ask to change. Video edits queue a render; wait for get_content to show the saved render before publishing.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
slides | Yes | arrayminItems: 1maxItems: 40 |
aspect | No / conditional | "9:16" | "4:5" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"slides": [
{
"mediaId": "22222222-2222-4222-8222-222222222222",
"timelineDurationMs": null,
"label": null,
"mediaFrame": {
"x": 0.5,
"y": 0.5,
"zoom": 1
},
"trimInMs": null,
"trimOutMs": null,
"key": null
}
],
"idempotency_key": "save_content_slides-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"trackType": {
"type": "string",
"enum": [
"visual",
"text",
"audio"
],
"default": "visual"
},
"trackIndex": {
"type": "integer",
"minimum": 0,
"maximum": 3,
"default": 0
},
"timelineStartMs": {
"type": "integer",
"minimum": 0,
"default": 0
},
"timelineDurationMs": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
]
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"maxLength": 600
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"const": "auto"
},
{
"type": "number",
"exclusiveMinimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
],
"default": null
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
{
"type": "null"
}
],
"default": null
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
],
"default": null
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
{
"type": "null"
}
],
"default": null
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
],
"default": null
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
],
"default": null
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6
},
{
"type": "null"
}
],
"default": null
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
]
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
],
"default": null
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
],
"default": null
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
]
},
{
"type": "null"
}
],
"default": null
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"default": null
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"default": null
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
},
"maxItems": 100,
"default": []
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"photoAdjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
],
"default": "full"
},
"layoutCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
}
},
"required": [
"mediaId",
"frame"
],
"additionalProperties": false
},
"maxItems": 5,
"default": []
},
"overlayImages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.08,
"maximum": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
}
},
"required": [
"mediaId",
"x",
"y",
"width",
"frame"
],
"additionalProperties": false
},
"maxItems": 4,
"default": []
},
"layerFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"y": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false,
"default": {
"x": 0,
"y": 0,
"width": 1,
"height": 1
}
},
"overlayMotion": {
"anyOf": [
{
"type": "object",
"properties": {
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"entrance",
"exit"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"default": null
},
"opacity": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 1
},
"volume": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 1
},
"muted": {
"type": "boolean",
"default": false
},
"trimInMs": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"trimOutMs": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
]
},
"key": {
"anyOf": [
{
"type": "object",
"properties": {
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"similarity": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"blend": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"color",
"similarity",
"blend"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"timelineDurationMs",
"label",
"mediaFrame",
"trimInMs",
"trimOutMs",
"key"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 40
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
}
},
"required": [
"slides"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, targetAccountId, remixedFromId, remixSourceUrl, remixSkeletonId, tweakedFromId, savedTemplateId, format, origin, generationSource, status, purpose, sellStyle, aspect, caption, soundTiktokUrl, soundInstagramUrl, hashtags, angle, seed, learningContext, turboDeckRank, turboAutoDiscardedAt, renderedMediaId, renderedNoMusicMediaId, audioOrigin, ownAudio, timelineRev, renderedRev, renderStatus, renderError, editsMediaId, clipRequestedRev, createdAt, updatedAt, slides, renderedUrl, renderedDurationMs, renderStale.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"status": "draft",
"caption": "Example",
"renderStatus": "idle",
"slides": [],
"renderStale": false,
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"idx": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"trackType": {
"type": "string",
"enum": [
"visual",
"text",
"audio"
]
},
"trackIndex": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineStartMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineDurationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageBrief": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6,
"default": null
},
{
"type": "null"
}
]
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
],
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"default": null
},
{
"type": "null"
}
]
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
],
"default": null
},
{
"type": "null"
}
]
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"photoAdjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"layoutCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"overlayImages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.08,
"maximum": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"x",
"y",
"width",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"layerFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"y": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"overlayMotion": {
"anyOf": [
{
"type": "object",
"properties": {
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"entrance",
"exit"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"opacity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"volume": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"muted": {
"type": "boolean"
},
"imageIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"persona",
"lifestyle"
]
},
{
"type": "null"
}
]
},
"trimInMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"trimOutMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"keyColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keySimilarity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"keyBlend": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"mediaKind": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"idx",
"trackType",
"trackIndex",
"timelineStartMs",
"timelineDurationMs",
"label",
"imageBrief",
"mediaId",
"overlayBoxes",
"mediaFrame",
"photoAdjust",
"layout",
"layoutCells",
"overlayImages",
"layerFrame",
"overlayMotion",
"opacity",
"volume",
"muted",
"imageIntent",
"trimInMs",
"trimOutMs",
"keyColor",
"keySimilarity",
"keyBlend",
"createdAt",
"url",
"sourceDurationMs",
"mediaKind",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"renderStale": {
"type": "boolean"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"slides",
"renderedUrl",
"renderedDurationMs",
"renderStale",
"workspaceId",
"brandName"
],
"additionalProperties": true
}regenerate_content_textWrite
Rewrite a post's words in place: set scope to the part to rewrite, add the user's direction as prompt, or both. Costs 5 credits.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
prompt | No / conditional | stringmaxLength: 500 |
scope | No / conditional | "slides" | "caption" | "both" |
sellStyle | No / conditional | "none" | "soft" | "hard" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "regenerate_content_text-example-1",
"scope": "slides",
"prompt": "Make the opening shorter"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {
"prompt": {
"type": "string",
"maxLength": 500
},
"scope": {
"type": "string",
"enum": [
"slides",
"caption",
"both"
],
"description": "What to rewrite: slides (the words on the slides), caption, or both. Leave it out only when prompt says what to change."
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, targetAccountId, remixedFromId, remixSourceUrl, remixSkeletonId, tweakedFromId, savedTemplateId, format, origin, generationSource, status, purpose, sellStyle, aspect, caption, soundTiktokUrl, soundInstagramUrl, hashtags, angle, seed, learningContext, turboDeckRank, turboAutoDiscardedAt, renderedMediaId, renderedNoMusicMediaId, audioOrigin, ownAudio, timelineRev, renderedRev, renderStatus, renderError, editsMediaId, clipRequestedRev, createdAt, updatedAt, slides, renderedUrl, renderedDurationMs, renderStale.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"status": "draft",
"caption": "Example",
"renderStatus": "idle",
"slides": [],
"renderStale": false,
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"idx": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"trackType": {
"type": "string",
"enum": [
"visual",
"text",
"audio"
]
},
"trackIndex": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineStartMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineDurationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageBrief": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6,
"default": null
},
{
"type": "null"
}
]
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
],
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"default": null
},
{
"type": "null"
}
]
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
],
"default": null
},
{
"type": "null"
}
]
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"photoAdjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"layoutCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"overlayImages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.08,
"maximum": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"x",
"y",
"width",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"layerFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"y": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"overlayMotion": {
"anyOf": [
{
"type": "object",
"properties": {
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"entrance",
"exit"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"opacity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"volume": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"muted": {
"type": "boolean"
},
"imageIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"persona",
"lifestyle"
]
},
{
"type": "null"
}
]
},
"trimInMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"trimOutMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"keyColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keySimilarity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"keyBlend": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"mediaKind": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"idx",
"trackType",
"trackIndex",
"timelineStartMs",
"timelineDurationMs",
"label",
"imageBrief",
"mediaId",
"overlayBoxes",
"mediaFrame",
"photoAdjust",
"layout",
"layoutCells",
"overlayImages",
"layerFrame",
"overlayMotion",
"opacity",
"volume",
"muted",
"imageIntent",
"trimInMs",
"trimOutMs",
"keyColor",
"keySimilarity",
"keyBlend",
"createdAt",
"url",
"sourceDurationMs",
"mediaKind",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"renderStale": {
"type": "boolean"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"slides",
"renderedUrl",
"renderedDurationMs",
"renderStale",
"workspaceId",
"brandName"
],
"additionalProperties": true
}reroll_content_photosWrite
Replace an image post's photos using the existing library or selected media IDs. Costs no credits and generates no new photos.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
mediaIds | No / conditional | arraymaxItems: 5default: [] |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "reroll_content_photos-example-1",
"mediaIds": [
"22222222-2222-4222-8222-222222222222"
]
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {
"mediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 5,
"default": []
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, targetAccountId, remixedFromId, remixSourceUrl, remixSkeletonId, tweakedFromId, savedTemplateId, format, origin, generationSource, status, purpose, sellStyle, aspect, caption, soundTiktokUrl, soundInstagramUrl, hashtags, angle, seed, learningContext, turboDeckRank, turboAutoDiscardedAt, renderedMediaId, renderedNoMusicMediaId, audioOrigin, ownAudio, timelineRev, renderedRev, renderStatus, renderError, editsMediaId, clipRequestedRev, createdAt, updatedAt, slides, renderedUrl, renderedDurationMs, renderStale.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"status": "draft",
"caption": "Example",
"renderStatus": "idle",
"slides": [],
"renderStale": false,
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"idx": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"trackType": {
"type": "string",
"enum": [
"visual",
"text",
"audio"
]
},
"trackIndex": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineStartMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineDurationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageBrief": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6,
"default": null
},
{
"type": "null"
}
]
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
],
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"default": null
},
{
"type": "null"
}
]
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
],
"default": null
},
{
"type": "null"
}
]
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"photoAdjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"layoutCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"overlayImages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.08,
"maximum": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"x",
"y",
"width",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"layerFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"y": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"overlayMotion": {
"anyOf": [
{
"type": "object",
"properties": {
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"entrance",
"exit"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"opacity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"volume": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"muted": {
"type": "boolean"
},
"imageIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"persona",
"lifestyle"
]
},
{
"type": "null"
}
]
},
"trimInMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"trimOutMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"keyColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keySimilarity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"keyBlend": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"mediaKind": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"idx",
"trackType",
"trackIndex",
"timelineStartMs",
"timelineDurationMs",
"label",
"imageBrief",
"mediaId",
"overlayBoxes",
"mediaFrame",
"photoAdjust",
"layout",
"layoutCells",
"overlayImages",
"layerFrame",
"overlayMotion",
"opacity",
"volume",
"muted",
"imageIntent",
"trimInMs",
"trimOutMs",
"keyColor",
"keySimilarity",
"keyBlend",
"createdAt",
"url",
"sourceDurationMs",
"mediaKind",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"renderStale": {
"type": "boolean"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"slides",
"renderedUrl",
"renderedDurationMs",
"renderStale",
"workspaceId",
"brandName"
],
"additionalProperties": true
}tweak_contentWrite
Create a revised version with the user's direction. Costs 5 credits, plus 5 per reserved fresh photo when photos=fresh. Background work returns a jobId for get_job. Keep both versions or use resolve_content_tweak to choose one.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
instruction | No / conditional | stringmaxLength: 500 |
photos | No / conditional | "library" | "fresh"default: "library" |
background | No / conditional | truedefault: true |
feedbackId | No / conditional | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "tweak_content-example-1",
"instruction": "Use a warmer tone",
"photos": "library",
"background": true
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {
"instruction": {
"type": "string",
"maxLength": 500
},
"photos": {
"type": "string",
"enum": [
"library",
"fresh"
],
"default": "library"
},
"background": {
"type": "boolean",
"const": true,
"default": true
},
"feedbackId": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, status, creditCost.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"status": "queued",
"creditCost": 5,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"waiting_provider",
"completed",
"failed",
"cancelled",
"awaiting_review",
"held"
]
},
"creditCost": {
"type": "integer"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"status",
"creditCost",
"workspaceId",
"brandName"
],
"additionalProperties": true
}resolve_content_tweakWrite
Choose the old or new version after comparing a tweak. Pass the NEW version's content_id. Keeping both needs no call.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
keep | Yes | "new" | "old" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"keep": "new",
"idempotency_key": "resolve_content_tweak-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {
"keep": {
"type": "string",
"enum": [
"new",
"old"
]
}
},
"required": [
"keep"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, targetAccountId, remixedFromId, remixSourceUrl, remixSkeletonId, tweakedFromId, savedTemplateId, format, origin, generationSource, status, purpose, sellStyle, aspect, caption, soundTiktokUrl, soundInstagramUrl, hashtags, angle, seed, learningContext, turboDeckRank, turboAutoDiscardedAt, renderedMediaId, renderedNoMusicMediaId, audioOrigin, ownAudio, timelineRev, renderedRev, renderStatus, renderError, editsMediaId, clipRequestedRev, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"status": "draft",
"caption": "Example",
"renderStatus": "idle",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}multiply_contentWrite
Create variations of an image post: with no influencer (mode "raw"), up to 5 variations or one per account when the workspace has more; with influencers, one variation each. Every variation rewords every slide, so no slide line repeats the original or another variation (the hook may, when keepHook is on). Costs 5 credits per variation; replacing the source with influencer swaps costs 5 per reserved photo per influencer. Returns a jobId for get_job.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
mode | No / conditional | "influencers" | "raw"default: "influencers" |
targets | No / conditional | array |
count | No / conditional | integerminimum: 1maximum: 25 |
keepHook | No / conditional | booleandefault: true |
shuffleOrder | No / conditional | booleandefault: false |
varyColors | No / conditional | booleandefault: false |
replaceSource | No / conditional | booleandefault: false |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "multiply_content-example-1",
"mode": "raw",
"count": 2
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"influencers",
"raw"
],
"default": "influencers"
},
"targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"influencerId": {
"type": "string",
"format": "uuid"
},
"count": {
"type": "number",
"const": 1,
"default": 1
}
},
"required": [
"influencerId"
],
"additionalProperties": false
}
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 25
},
"keepHook": {
"type": "boolean",
"default": true
},
"shuffleOrder": {
"type": "boolean",
"default": false
},
"varyColors": {
"type": "boolean",
"default": false
},
"replaceSource": {
"type": "boolean",
"default": false
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, status, creditCost.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"status": "queued",
"creditCost": 10,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"waiting_provider",
"completed",
"failed",
"cancelled",
"awaiting_review",
"held"
]
},
"creditCost": {
"type": "integer"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"status",
"creditCost",
"workspaceId",
"brandName"
],
"additionalProperties": true
}improve_videoWrite
Improve a finished video's visuals without changing speech. Costs 16 credits per supported video second. Returns a jobId for get_job.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
instruction | Yes | stringminLength: 1maxLength: 500 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"instruction": "Clean up the background artifacts",
"idempotency_key": "improve_video-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {
"instruction": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"instruction"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, status, creditCost.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"status": "queued",
"creditCost": 80,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"waiting_provider",
"completed",
"failed",
"cancelled",
"awaiting_review",
"held"
]
},
"creditCost": {
"type": "integer"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"status",
"creditCost",
"workspaceId",
"brandName"
],
"additionalProperties": true
}download_contentWrite
Prepare signed downloads for a content item. Requires export access; no generation credits are spent.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "download_content-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: url, filename.
{
"url": "https://example.com/file",
"filename": "Example",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"filename": {
"type": "string",
"minLength": 1
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"url",
"filename",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_templatesRead
Read saved Studio templates, favorites, and previews. Built-in template definitions are returned by get_studio_options.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: saved, favoriteSlugs, previews.
{
"saved": [],
"favoriteSlugs": [],
"previews": {},
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"saved": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"parentSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"videoTemplate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"values": {
"type": "object",
"properties": {
"fields": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 500
},
"default": {}
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"default": null
},
{
"type": "null"
}
]
},
"productIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 10,
"default": []
},
"promptMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 5,
"default": []
},
"look": {
"anyOf": [
{
"type": "string",
"default": null
},
{
"type": "null"
}
]
},
"lookPrompt": {
"anyOf": [
{
"type": "string",
"maxLength": 2000,
"default": null
},
{
"type": "null"
}
]
},
"brief": {
"anyOf": [
{
"type": "string",
"maxLength": 5000,
"default": null
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
"remix": {
"anyOf": [
{
"type": "object",
"properties": {
"source": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"link"
]
},
"url": {
"type": "string",
"format": "uri"
},
"mediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"part": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
}
},
"required": [
"startSeconds",
"endSeconds"
],
"additionalProperties": false
}
},
"required": [
"kind",
"url"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"upload"
]
},
"mediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"part": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
}
},
"required": [
"startSeconds",
"endSeconds"
],
"additionalProperties": false
}
},
"required": [
"kind",
"mediaIds"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"pasted"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
}
]
},
"origin": {
"type": "string",
"enum": [
"scan",
"trend"
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"x",
"web",
"upload",
"pasted"
]
},
"sourceType": {
"type": "string",
"enum": [
"carousel",
"video",
"image",
"article"
]
},
"photoCount": {
"type": "integer",
"minimum": 0
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
{
"type": "null"
}
]
},
"generationDurationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
{
"type": "null"
}
]
},
"hasText": {
"type": "boolean"
},
"hasAudio": {
"type": "boolean"
},
"sourceSound": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"url": {
"type": "string",
"format": "uri"
},
"viral": {
"type": "boolean"
}
},
"required": [
"title",
"url",
"viral"
],
"additionalProperties": false
},
"format": {
"type": "string",
"maxLength": 32
},
"hook": {
"type": "string",
"maxLength": 500
},
"hookOptions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"minItems": 1,
"maxItems": 3
},
"prompt": {
"type": "string",
"maxLength": 5000
},
"summary": {
"type": "string",
"maxLength": 1000
},
"skeleton": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"niche": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"seed",
"scraped"
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo"
]
},
"slideCount": {
"type": "integer",
"exclusiveMinimum": true,
"minimum": 0
},
"hookShape": {
"type": "string"
},
"voiceSignature": {
"type": "string"
},
"ctaSlot": {
"type": "string",
"enum": [
"parenthetical_in_hook",
"final_slide_winner",
"caption_only",
"none"
]
},
"slideSkeleton": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"hook",
"item",
"payoff"
]
},
"beat": {
"type": "string"
},
"microFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sentences": {
"type": "integer",
"minimum": 0
},
"words": {
"type": "integer",
"minimum": 0
},
"lines": {
"type": "integer",
"minimum": 0
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"shot": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hasPrimarySubject": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"keepSourceMedia": {
"type": "boolean"
},
"sourceLayout": {
"type": "string"
}
},
"required": [
"role",
"beat",
"microFormat",
"sentences",
"words",
"lines"
],
"additionalProperties": false
},
"minItems": 1
},
"hookShot": {
"anyOf": [
{
"type": "object",
"properties": {
"opening": {
"type": "string"
},
"closing": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"production": {
"type": "string",
"enum": [
"phone",
"produced"
]
}
},
"required": [
"opening",
"closing",
"production"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"hookSeconds": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
{
"type": "null"
}
]
},
"subjectKind": {
"anyOf": [
{
"type": "string",
"enum": [
"animal",
"person",
"object"
]
},
{
"type": "null"
}
]
},
"sourceIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"dance",
"stunt",
"workout",
"walk",
"talk",
"demo",
"other"
],
"default": null
},
{
"type": "null"
}
]
},
"hasAudibleSpeech": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"hasVisibleSpeech": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"screenshotOf": {
"anyOf": [
{
"type": "boolean",
"default": null
},
{
"type": "null"
}
]
},
"semanticBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
"visual": {
"type": "string"
},
"audioCue": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"startSeconds",
"endSeconds",
"visual",
"audioCue"
],
"additionalProperties": false
}
},
"visualInserts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0
},
"anchorText": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"role": {
"type": "string",
"enum": [
"proof",
"example",
"product",
"joke",
"interface",
"other"
]
},
"kind": {
"type": "string",
"enum": [
"photo",
"illustration",
"screenshot",
"card"
]
},
"coverage": {
"type": "string",
"enum": [
"overlay",
"full"
]
},
"description": {
"type": "string",
"minLength": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"startSeconds",
"endSeconds",
"anchorText",
"role",
"kind",
"coverage",
"description",
"frame",
"entrance",
"exit"
],
"additionalProperties": false
},
"default": []
},
"overlayBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"atSeconds": {
"type": "number"
},
"endSeconds": {
"type": "number"
},
"text": {
"type": "string"
},
"written": {
"type": "string",
"enum": [
"card",
"caption",
"on_object"
]
},
"frame": {
"type": "string"
}
},
"required": [
"atSeconds",
"text"
],
"additionalProperties": false
}
},
"spokenWords": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"overlayLook": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coverLook": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"savedLook": {
"anyOf": [
{
"type": "object",
"properties": {
"title": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"body": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
}
},
"required": [
"title",
"body"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"repeatedTitle": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"look": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
"frame": {
"type": "string"
}
},
"required": [
"text",
"look"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"cuts": {
"type": "array",
"items": {
"type": "number"
}
},
"shots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"whatChanges": {
"type": "string"
},
"hasPrimarySubject": {
"type": "boolean"
}
},
"required": [
"whatChanges",
"hasPrimarySubject"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"niche",
"source",
"format",
"slideCount",
"hookShape",
"voiceSignature",
"ctaSlot",
"slideSkeleton",
"hookShot",
"hookSeconds",
"durationSeconds",
"subjectKind",
"semanticBeats",
"overlayBeats",
"cuts",
"shots"
],
"additionalProperties": false
},
"previewMediaIds": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
}
},
"analysisToken": {
"type": "string"
}
},
"required": [
"source",
"origin",
"platform",
"sourceType",
"photoCount",
"durationSeconds",
"generationDurationSeconds",
"hasText",
"hasAudio",
"format",
"hook",
"hookOptions",
"prompt",
"summary",
"skeleton",
"analysisToken"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"favorite": {
"type": "boolean"
},
"createdAt": {
"type": "string"
},
"sharedId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"preview": {
"anyOf": [
{
"type": "object",
"properties": {
"posterUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"clipUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"posterUrl",
"clipUrl"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"parentSlug",
"format",
"videoTemplate",
"values",
"remix",
"favorite",
"createdAt",
"sharedId",
"preview"
],
"additionalProperties": false
}
},
"favoriteSlugs": {
"type": "array",
"items": {
"type": "string"
}
},
"previews": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"posterUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"clipUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"posterUrl",
"clipUrl"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"saved",
"favoriteSlugs",
"previews",
"workspaceId",
"brandName"
],
"additionalProperties": true
}estimate_content_costRead
Estimate the maximum credits reserved for a Content Studio generation request before creating it. Actual cost can be lower for a influencer's included first face shoot or reused media. No content is created and no credits are spent.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
format | Yes | "slideshow" | "wall_of_text" | "video" | "green_screen" | "hook_demo" | "talking_head" | "photo_reel" |
influencerId | No / conditional | uuid |
personaMediaId | No / conditional | uuid |
matchPersonaPhoto | No / conditional | boolean |
targetAccountId | No / conditional | uuid |
prompt | No / conditional | stringminLength: 1 |
imageSource | No / conditional | "fresh" | "auto" | "manual"default: "fresh" |
mediaIds | No / conditional | array |
hookMediaId | No / conditional | uuid |
hookFromJobId | No / conditional | uuid |
readyMadeId | No / conditional | uuid |
viralHookId | No / conditional | stringminLength: 1maxLength: 80 |
readyMadeHook | No / conditional | boolean |
hookVideoPrompt | No / conditional | stringminLength: 1 |
talkOverDemo | No / conditional | boolean |
voiceover | No / conditional | stringminLength: 1maxLength: 600 |
callToAction | No / conditional | stringminLength: 1maxLength: 80 |
demoMediaId | No / conditional | uuid |
memeTemplateMediaId | No / conditional | uuid |
backgroundMediaId | No / conditional | uuid |
remixAnalysisToken | No / conditional | stringminLength: 1 |
remixSkeleton | No / conditional | object |
remixBrief | No / conditional | stringminLength: 1 |
creatorSwap | No / conditional | boolean |
remixScene | No / conditional | stringminLength: 1maxLength: 2000 |
keepSourceSlideIndexes | No / conditional | arraymaxItems: 10 |
slideTexts | No / conditional | arraymaxItems: 10 |
slidePhotos | No / conditional | arraymaxItems: 10 |
removedSlideIndexes | No / conditional | arraymaxItems: 10 |
mode | No / conditional | "content" | "photos" | "videos"default: "content" |
videoTemplate | No / conditional | "product_faceless_clean_hero" | "product_faceless_pick_up" | "product_faceless_turn_inspect" | "product_faceless_open_close" | "product_faceless_use" | "product_faceless_macro" | "product_creator_present" | "product_creator_use" | "product_creator_try_apply" | "product_creator_unbox" | "product_creator_inspect" | "product_creator_hold_camera" | "broll_hands_work" | "broll_pov_action" | "broll_over_shoulder" | "broll_workspace" | "broll_closeup_process" | "broll_ambient" | "hook_talk_disbelief" | "hook_phone_reveal" | "hook_everyday_struggle" | "hook_shocked" | "hook_snack_stare" | "hook_double_take" | "hook_wait_what" | "hook_excited_discovery" | "hook_caught_off_guard" | "hook_point_proof" | "hook_selfie_push_in" | "hook_strike_pose" |
videoSound | No / conditional | boolean |
reviewFrames | No / conditional | boolean |
videoDurationSeconds | No / conditional | 5 | 10 | 15 | 20 | 30 |
talkingHeadSeconds | No / conditional | integerminimum: 4maximum: 30 |
talkingHeadCut | No / conditional | "product" | "creator" |
reuseSourceAudio | No / conditional | boolean |
openingTextMode | No / conditional | "generated" | "source" | "custom" | "none" |
openingText | No / conditional | stringminLength: 1maxLength: 500 |
showBefore | No / conditional | boolean |
beforeAfter | No / conditional | boolean |
productIds | No / conditional | array |
shotTemplate | No / conditional | "hero" | "try_on" | "lifestyle" | "unboxing" |
videoTreatment | No / conditional | "ugc" | "cinematic" |
templateSlug | No / conditional | stringmaxLength: 64 |
savedTemplateId | No / conditional | uuid |
publishedTemplateId | No / conditional | uuid |
templateFields | No / conditional | object |
soundLinks | No / conditional | object |
referenceMediaIds | No / conditional | arraymaxItems: 5 |
removeText | No / conditional | boolean |
promptMediaIds | No / conditional | arraymaxItems: 5 |
photoReelSlotMs | No / conditional | integerminimum: 230maximum: 1000 |
aspectRatio | No / conditional | "9:16" | "3:4" | "4:5" | "1:1" | "4:3" | "16:9" |
photoCount | No / conditional | integerminimum: 1maximum: 5 |
faceless | No / conditional | boolean |
reshootFace | No / conditional | boolean |
Input example
{
"format": "slideshow",
"mode": "content",
"prompt": "Three ways to keep a desk tidy",
"imageSource": "fresh"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
],
"description": "The post's format from get_studio_options. slideshow is a carousel of 5 photos with words; wall_of_text one photo with a block of text; green_screen a meme clip over a background; video, hook_demo, talking_head and photo_reel are videos."
},
"influencerId": {
"type": "string",
"format": "uuid",
"description": "The creator from list_influencers who stars in the post: their face is in the photos and the words are in their voice. Absent makes a faceless post."
},
"personaMediaId": {
"type": "string",
"format": "uuid",
"description": "Photos mode: the creator photo to hold their look to. Absent uses their profile photo."
},
"matchPersonaPhoto": {
"type": "boolean",
"description": "Photos mode: false invents the creator's look from their description instead of a photo of them."
},
"targetAccountId": {
"type": "string",
"format": "uuid",
"description": "The social account from list_accounts this post is written for. It tailors the post; nothing is posted until schedule_post or publish_content."
},
"prompt": {
"type": "string",
"minLength": 1,
"description": "The brief: what the post is about, its angle and who it speaks to, in plain sentences. Amplify writes the hook, slides and caption from it and the brand. Required in content mode, except for a remix. Its facts (prices, an offer's terms, results, numbers) come only from the user or get_brand."
},
"imageSource": {
"type": "string",
"enum": [
"fresh",
"auto",
"manual"
],
"default": "fresh",
"description": "fresh makes new photos (credits per photo, best match to the brief, the default). auto reuses Library photos for free: a creator's few photos repeat across posts. manual uses exactly the mediaIds given."
},
"mediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"description": "Library photo or clip ids from list_media: the photos for imageSource=manual, the pool for a photo_reel."
},
"hookMediaId": {
"type": "string",
"format": "uuid",
"description": "Hook & demo: a Library hook clip to open on."
},
"hookFromJobId": {
"type": "string",
"format": "uuid",
"description": "Hook & demo: share the hook clip another create_content job (mode=videos) is making."
},
"readyMadeId": {
"type": "string",
"format": "uuid",
"description": "Hook & demo: one of Amplify's ready-made faces acts the hook instead of the brand's creator."
},
"viralHookId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "Hook & demo: a curated viral opener to rebuild."
},
"readyMadeHook": {
"type": "boolean",
"description": "Hook & demo with viralHookId and readyMadeId: use the shared take of that opener, priced as a Library clip."
},
"hookVideoPrompt": {
"type": "string",
"minLength": 1,
"description": "Hook & demo: how a newly generated opening hook should look."
},
"talkOverDemo": {
"type": "boolean",
"description": "Hook & demo: the creator talks over the demo. Off plays the demo's own sound."
},
"voiceover": {
"type": "string",
"minLength": 1,
"maxLength": 600,
"description": "Hook & demo with talkOverDemo: the exact words spoken."
},
"callToAction": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "Hook & demo only: the closing line, held over the demo and ending the caption, exactly as written."
},
"demoMediaId": {
"type": "string",
"format": "uuid",
"description": "Hook & demo: the uploaded product demo clip from list_media."
},
"memeTemplateMediaId": {
"type": "string",
"format": "uuid",
"description": "Green screen: the meme clip to use."
},
"backgroundMediaId": {
"type": "string",
"format": "uuid",
"description": "Green screen: the background to put it over."
},
"remixAnalysisToken": {
"type": "string",
"minLength": 1,
"description": "Remix: analysisToken from prepare_remix. Send with remixSkeleton exactly as returned."
},
"remixSkeleton": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"niche": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"seed",
"scraped"
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo"
]
},
"slideCount": {
"type": "integer",
"exclusiveMinimum": 0
},
"hookShape": {
"type": "string"
},
"voiceSignature": {
"type": "string"
},
"ctaSlot": {
"type": "string",
"enum": [
"parenthetical_in_hook",
"final_slide_winner",
"caption_only",
"none"
]
},
"slideSkeleton": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"hook",
"item",
"payoff"
]
},
"beat": {
"type": "string"
},
"microFormat": {
"type": [
"string",
"null"
]
},
"sentences": {
"type": "integer",
"minimum": 0
},
"words": {
"type": "integer",
"minimum": 0
},
"lines": {
"type": "integer",
"minimum": 0
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"shot": {
"type": [
"string",
"null"
]
},
"hasPrimarySubject": {
"type": [
"boolean",
"null"
]
},
"keepSourceMedia": {
"type": "boolean"
},
"sourceLayout": {
"type": "string"
}
},
"required": [
"role",
"beat",
"microFormat",
"sentences",
"words",
"lines"
],
"additionalProperties": false
},
"minItems": 1
},
"hookShot": {
"anyOf": [
{
"type": "object",
"properties": {
"opening": {
"type": "string"
},
"closing": {
"type": [
"string",
"null"
]
},
"production": {
"type": "string",
"enum": [
"phone",
"produced"
]
}
},
"required": [
"opening",
"closing",
"production"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"hookSeconds": {
"type": [
"number",
"null"
]
},
"durationSeconds": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
]
},
"subjectKind": {
"anyOf": [
{
"type": "string",
"enum": [
"animal",
"person",
"object"
]
},
{
"type": "null"
}
]
},
"sourceIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"dance",
"stunt",
"workout",
"walk",
"talk",
"demo",
"other"
]
},
{
"type": "null"
}
],
"default": null
},
"hasAudibleSpeech": {
"type": [
"boolean",
"null"
]
},
"hasVisibleSpeech": {
"type": [
"boolean",
"null"
]
},
"screenshotOf": {
"type": [
"boolean",
"null"
],
"default": null
},
"semanticBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"visual": {
"type": "string"
},
"audioCue": {
"type": [
"string",
"null"
]
}
},
"required": [
"startSeconds",
"endSeconds",
"visual",
"audioCue"
],
"additionalProperties": false
}
},
"visualInserts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"startSeconds": {
"type": "number",
"minimum": 0
},
"endSeconds": {
"type": "number",
"exclusiveMinimum": 0
},
"anchorText": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
},
"role": {
"type": "string",
"enum": [
"proof",
"example",
"product",
"joke",
"interface",
"other"
]
},
"kind": {
"type": "string",
"enum": [
"photo",
"illustration",
"screenshot",
"card"
]
},
"coverage": {
"type": "string",
"enum": [
"overlay",
"full"
]
},
"description": {
"type": "string",
"minLength": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"y": {
"type": "number"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"startSeconds",
"endSeconds",
"anchorText",
"role",
"kind",
"coverage",
"description",
"frame",
"entrance",
"exit"
],
"additionalProperties": false
},
"default": []
},
"overlayBeats": {
"type": "array",
"items": {
"type": "object",
"properties": {
"atSeconds": {
"type": "number"
},
"endSeconds": {
"type": "number"
},
"text": {
"type": "string"
},
"written": {
"type": "string",
"enum": [
"card",
"caption",
"on_object"
]
},
"frame": {
"type": "string"
}
},
"required": [
"atSeconds",
"text"
],
"additionalProperties": false
}
},
"spokenWords": {
"type": [
"string",
"null"
]
},
"overlayLook": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"coverLook": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"savedLook": {
"anyOf": [
{
"type": "object",
"properties": {
"title": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"body": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
}
},
"required": [
"title",
"body"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"repeatedTitle": {
"anyOf": [
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"look": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
"frame": {
"type": "string"
}
},
"required": [
"text",
"look"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"cuts": {
"type": "array",
"items": {
"type": "number"
}
},
"shots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"whatChanges": {
"type": "string"
},
"hasPrimarySubject": {
"type": "boolean"
}
},
"required": [
"whatChanges",
"hasPrimarySubject"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"niche",
"source",
"format",
"slideCount",
"hookShape",
"voiceSignature",
"ctaSlot",
"slideSkeleton",
"hookShot",
"hookSeconds",
"durationSeconds",
"subjectKind",
"semanticBeats",
"overlayBeats",
"cuts",
"shots"
],
"additionalProperties": false,
"description": "Remix: skeleton from prepare_remix, unchanged."
},
"remixBrief": {
"type": "string",
"minLength": 1,
"description": "Remix: prompt from prepare_remix, unchanged. prompt holds only what the user asked for this post."
},
"creatorSwap": {
"type": "boolean",
"description": "Remix: keep the source post as it is and replace only the person in it with influencerId."
},
"remixScene": {
"type": "string",
"minLength": 1,
"maxLength": 2000,
"description": "Remix with new photos: the place or look to set every slide in. Absent keeps the source's scene."
},
"keepSourceSlideIndexes": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 10,
"description": "Remix: zero-based source slides prepare_remix marked safe to keep exactly."
},
"slideTexts": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 1
},
"mode": {
"type": "string",
"const": "source"
}
},
"required": [
"index",
"mode"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 1
},
"mode": {
"type": "string",
"const": "custom"
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"index",
"mode",
"text"
],
"additionalProperties": false
}
]
},
"maxItems": 10,
"description": "Slideshow remix: per slide after the first, keep the source's words (source) or use your own (custom)."
},
"slidePhotos": {
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 0
},
"mediaId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"index",
"mediaId"
],
"additionalProperties": false
},
"maxItems": 10,
"description": "Slideshow remix: a Library photo to use as it is on a slide."
},
"removedSlideIndexes": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1
},
"maxItems": 10,
"description": "Slideshow remix: zero-based source slides to leave out, unmade and unpaid. Slide 0 and at least two slides stay. Other slide indexes still count source slides."
},
"mode": {
"type": "string",
"enum": [
"content",
"photos",
"videos"
],
"default": "content",
"description": "content makes a finished post (the default). photos makes standalone photos of a creator or scene for the Library; videos makes standalone clips."
},
"videoTemplate": {
"type": "string",
"enum": [
"product_faceless_clean_hero",
"product_faceless_pick_up",
"product_faceless_turn_inspect",
"product_faceless_open_close",
"product_faceless_use",
"product_faceless_macro",
"product_creator_present",
"product_creator_use",
"product_creator_try_apply",
"product_creator_unbox",
"product_creator_inspect",
"product_creator_hold_camera",
"broll_hands_work",
"broll_pov_action",
"broll_over_shoulder",
"broll_workspace",
"broll_closeup_process",
"broll_ambient",
"hook_talk_disbelief",
"hook_phone_reveal",
"hook_everyday_struggle",
"hook_shocked",
"hook_snack_stare",
"hook_double_take",
"hook_wait_what",
"hook_excited_discovery",
"hook_caught_off_guard",
"hook_point_proof",
"hook_selfie_push_in",
"hook_strike_pose"
],
"description": "Video or hook_demo: a proven motion pattern from get_studio_options. Absent lets Amplify choose."
},
"videoSound": {
"type": "boolean",
"description": "Video: generate sound for the clip."
},
"reviewFrames": {
"type": "boolean",
"description": "Video post: stop after the opening frames for approve_video_frames before the paid render."
},
"videoDurationSeconds": {
"type": "number",
"enum": [
5,
10,
15,
20,
30
],
"description": "Video: finished length in seconds, priced per second."
},
"talkingHeadSeconds": {
"type": "integer",
"minimum": 4,
"maximum": 30,
"description": "Talking head: length in seconds."
},
"talkingHeadCut": {
"type": "string",
"enum": [
"product",
"creator"
],
"description": "Talking head with a product: what the post cuts to after the opening scene."
},
"reuseSourceAudio": {
"type": "boolean",
"description": "Video remix: keep the source's own audio. On by default."
},
"openingTextMode": {
"type": "string",
"enum": [
"generated",
"source",
"custom",
"none"
],
"description": "Remix opening words: generated writes a new hook, source keeps the original's, custom uses openingText, none removes on-screen words."
},
"openingText": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "With openingTextMode=custom: the opening words exactly."
},
"showBefore": {
"type": "boolean",
"description": "Video remix: open on a heavier 'before' of the creator. Asserts a body change that did not happen; only when the user asks for this post."
},
"beforeAfter": {
"type": "boolean",
"description": "Video: two shots, a state then the same thing changed, both described in the prompt. Says nothing about anyone's body."
},
"productIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"description": "Products from list_products the post features. Their saved photos are used where the product shows."
},
"shotTemplate": {
"type": "string",
"enum": [
"hero",
"try_on",
"lifestyle",
"unboxing"
],
"description": "Product shots: the shot pattern for the product."
},
"videoTreatment": {
"type": "string",
"enum": [
"ugc",
"cinematic"
],
"description": "Video: ugc (handheld phone footage, the default) or cinematic (moving camera, graded)."
},
"templateSlug": {
"type": "string",
"maxLength": 64,
"description": "A built-in template from get_studio_options; read its fields with get_template and fill templateFields."
},
"savedTemplateId": {
"type": "string",
"format": "uuid",
"description": "The brand's own saved template this post is made from (list_templates)."
},
"publishedTemplateId": {
"type": "string",
"format": "uuid",
"description": "A Community template this post is made from (list_templates)."
},
"templateFields": {
"type": "object",
"additionalProperties": {
"type": "string",
"maxLength": 500
},
"propertyNames": {
"maxLength": 64
},
"description": "The template's field answers, keyed by field name."
},
"soundLinks": {
"type": "object",
"properties": {
"tiktok": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"instagram": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
}
},
"additionalProperties": false,
"description": "TikTok/Instagram sound links to suggest with the post, replacing the template's. Not mixed into the file."
},
"referenceMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 5,
"description": "Photo copy: Library images whose pose, framing and light are recreated with the creator's face. Skips the brief."
},
"removeText": {
"type": "boolean",
"description": "Photo copy only: take the words written over each reference photo out of the copy."
},
"promptMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 5,
"description": "Library images that guide the brief and the new photos (a reference, a mood), without copying them."
},
"photoReelSlotMs": {
"type": "integer",
"minimum": 230,
"maximum": 1000,
"description": "Photo reel: how long each photo holds, in milliseconds."
},
"aspectRatio": {
"type": "string",
"enum": [
"9:16",
"3:4",
"4:5",
"1:1",
"4:3",
"16:9"
],
"description": "Photos mode only. Posts are always 9:16."
},
"photoCount": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Photos mode only: how many photos the shoot makes, priced per photo. A slideshow post always has 5."
},
"faceless": {
"type": "boolean",
"description": "Photos mode only: no face in frame. With a creator, their hands, body or back of head only."
},
"reshootFace": {
"type": "boolean",
"description": "Photos mode: rebuild the creator's face from their profile as it reads now and make it the one later photos match."
}
},
"required": [
"format"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: maximumCreditCost.
{
"maximumCreditCost": 30,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"maximumCreditCost": {
"description": "See the example for this returned field.",
"type": "number"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_templateRead
Read one built-in Studio template, including its fields, defaults, and generation settings. Pass its slug from get_studio_options.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
slug | Yes | stringminLength: 1maxLength: 64 |
Input example
{
"slug": "corner_reaction"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"slug"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: template.
{
"template": {
"slug": "corner_reaction",
"name": "Corner Reaction",
"description": "Your creator reacts in the corner while the original video keeps playing.",
"group": "hook",
"listed": true,
"format": "green_screen",
"seconds": 15,
"scenes": 1,
"controls": [],
"source": {
"label": "Which video do you want to react to?",
"hint": "Paste a link or upload the clip. Its real timing and cuts stay in place."
},
"sourceAsBackground": true,
"fields": [
{
"key": "caption",
"label": "Words on screen",
"placeholder": "one short line, held for the whole clip",
"prefill": "nobody tells you this part",
"omittable": true,
"maxLength": 90
}
],
"overlayTemplate": "outlined",
"briefTemplate": "On-screen text: {caption}"
},
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"template": {
"description": "See the example for this returned field.",
"type": "object"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_studio_optionsRead
Read Studio formats, image/video options, built-in template settings and fields, credit rates, and the current consent version before creating content. Use create_content with the same settings Studio accepts.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: formats, modes, videoTemplates, photoAspectRatios, creditCosts, consentVersion, consentPurposes, templates.
{
"formats": [
{
"format": "slideshow",
"label": "Slideshow",
"kind": "image"
},
{
"format": "wall_of_text",
"label": "Wall of text",
"kind": "image"
},
{
"format": "video",
"label": "Video",
"kind": "video"
},
{
"format": "green_screen",
"label": "Green screen",
"kind": "video"
},
{
"format": "hook_demo",
"label": "Hook & demo",
"kind": "video"
},
{
"format": "talking_head",
"label": "Talking head",
"kind": "video"
},
{
"format": "photo_reel",
"label": "Photo reel",
"kind": "video"
}
],
"modes": [
"content",
"photos",
"videos"
],
"videoTemplates": [
"product_faceless_clean_hero",
"product_faceless_pick_up",
"product_faceless_turn_inspect",
"product_faceless_open_close",
"product_faceless_use",
"product_faceless_macro",
"product_creator_present",
"product_creator_use",
"product_creator_try_apply",
"product_creator_unbox",
"product_creator_inspect",
"product_creator_hold_camera",
"broll_hands_work",
"broll_pov_action",
"broll_over_shoulder",
"broll_workspace",
"broll_closeup_process",
"broll_ambient",
"hook_talk_disbelief",
"hook_phone_reveal",
"hook_everyday_struggle",
"hook_shocked",
"hook_snack_stare",
"hook_double_take",
"hook_wait_what",
"hook_excited_discovery",
"hook_caught_off_guard",
"hook_point_proof",
"hook_selfie_push_in",
"hook_strike_pose"
],
"photoAspectRatios": [
"9:16",
"3:4",
"4:5",
"1:1",
"4:3",
"16:9"
],
"creditCosts": {
"nicheScan": 20,
"extraIdeas": 15,
"extraVideos": 25,
"reroll": 5,
"videoPerSecond": 16,
"talkingHeadPerSecond": 20,
"creator": 125,
"improvePhoto": 1,
"photo": 5,
"post": 5,
"connection": 100,
"extraBrand": 300,
"warmedAccount": 2000
},
"consentVersion": "2026-07-28",
"consentPurposes": [
"biometric_reference_face",
"biometric_voice_clone"
],
"templates": [
{
"slug": "corner_reaction",
"name": "Corner Reaction",
"description": "Your creator reacts in the corner while the original video keeps playing.",
"format": "green_screen"
},
{
"slug": "strike_pose",
"name": "Strike the pose",
"description": "Arms up behind the head, then down as they keep talking.",
"format": "talking_head"
},
{
"slug": "selfie_push_in",
"name": "Selfie Push-In + Caption",
"description": "Slow move closer while the words carry it.",
"format": "video"
},
{
"slug": "shocked",
"name": "Hand over mouth",
"description": "Hand over the mouth in disbelief, then a half laugh.",
"format": "video"
},
{
"slug": "double_take",
"name": "Double take",
"description": "A second look back at the camera in disbelief.",
"format": "video"
},
{
"slug": "wait_what",
"name": "Wait, what?",
"description": "A skeptical look that asks the question for you.",
"format": "video"
},
{
"slug": "excited_discovery",
"name": "Excited discovery",
"description": "Light up and gesture like you just found it.",
"format": "video"
},
{
"slug": "caught_off_guard",
"name": "Caught off guard",
"description": "Caught by the camera, then a small embarrassed laugh.",
"format": "video"
},
{
"slug": "point_proof",
"name": "Point to the proof",
"description": "Point into empty space and let the words fill it.",
"format": "video"
},
{
"slug": "action_loop",
"name": "Action Loop + Caption",
"description": "One action, filmed as a single take, with a line held over it.",
"format": "video"
},
{
"slug": "dance_copy",
"name": "Dance Motion-Copy",
"description": "Paste a dance and your creator does it, wherever you put them.",
"format": "video"
},
{
"slug": "disco_dance",
"name": "Disco Dance",
"description": "Dancing under coloured lights, one line held over the whole thing.",
"format": "video"
},
{
"slug": "beach_dance",
"name": "Beach Dance",
"description": "Copy a dance onto your creator on a bright beach, with one caption above.",
"format": "video"
},
{
"slug": "motivation_run",
"name": "Motivation run",
"description": "Out running, filmed from the front, with the reason on screen.",
"format": "video"
},
{
"slug": "number_contrast",
"name": "Number contrast",
"description": "Two things side by side with their numbers, so the gap does the talking.",
"format": "video"
},
{
"slug": "sound_sync_pov",
"name": "Lip-Sync To Audio",
"description": "Your creator lip-syncs a clip you choose, close to camera, with one caption above.",
"format": "talking_head"
},
{
"slug": "one_line_held",
"name": "One-Line Meme Clip",
"description": "One short line, held over the whole clip.",
"format": "video"
},
{
"slug": "day_count",
"name": "Day Counter Clip",
"description": "A day number and the thing you are keeping up, like a streak.",
"format": "video"
},
{
"slug": "one_rule",
"name": "Animated Rule Card",
"description": "One rule, said flat, with nothing softening it.",
"format": "wall_of_text"
},
{
"slug": "step_plan",
"name": "Workout Plan Text",
"description": "A plan, one step to a line, in the order you would do them.",
"format": "video"
},
{
"slug": "numbered_list",
"name": "Beginner Listicle",
"description": "A hook, then five numbered points, one to a clip.",
"format": "photo_reel"
},
{
"slug": "review_verdict",
"name": "Sectioned Review",
"description": "Five clips: hook, subject, facts, verdict, and what comes next.",
"format": "photo_reel"
},
{
"slug": "screenshot_post",
"name": "Fake Instagram Post",
"description": "Written to look like a screenshot of a post somebody wrote.",
"format": "wall_of_text"
},
{
"slug": "reddit_thread",
"name": "Reddit thread",
"description": "A Reddit post and its best replies, one per slide, drawn the same on every slide.",
"format": "slideshow"
},
{
"slug": "story_notification",
"name": "Story + notification",
"description": "A photo that starts the story, then a message with your app's reminder below it.",
"format": "slideshow"
},
{
"slug": "superhero_swing",
"name": "Human Superhero Swing",
"description": "Swinging between rooftops over the city, filmed from below like a stunt.",
"format": "video"
},
{
"slug": "pet_superhero_swing",
"name": "Pet Superhero Swing",
"description": "Your own pet somewhere ordinary, then swinging on a line through the city.",
"format": "video"
},
{
"slug": "slime_asmr",
"name": "Slime ASMR Loop",
"description": "Hands working slime, close and slow, with nothing else in frame.",
"format": "video"
},
{
"slug": "comfort_creature",
"name": "Silent ASMR Loop",
"description": "A small creature breathing in the dark, on a loop.",
"format": "video"
},
{
"slug": "reaction_face_swap",
"name": "Reaction Face-Swap",
"description": "Put your creator into the reaction beats of a clip you choose.",
"format": "video"
},
{
"slug": "green_screen_overlay",
"name": "Green-Screen Overlay",
"description": "Key a green-screen character over your own background with one caption above.",
"format": "green_screen"
},
{
"slug": "build_timelapse",
"name": "Build Timelapse",
"description": "Watch one thing take shape from an empty start to the finished build.",
"format": "video"
},
{
"slug": "anatomy_workout",
"name": "Exercise + Anatomy Overlay",
"description": "Show each exercise with the working muscle called out beside it.",
"format": "video"
},
{
"slug": "even_cut_reel",
"name": "Photo reel",
"description": "Your own photos, cut fast to one line. Nothing is generated.",
"format": "photo_reel"
},
{
"slug": "flash_montage",
"name": "Flash-Cut Montage",
"description": "As fast as it goes, with one line held right through it.",
"format": "photo_reel"
}
],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"formats": {
"description": "See the example for this returned field.",
"type": "array",
"items": {}
},
"modes": {
"description": "See the example for this returned field.",
"type": "array",
"items": {}
},
"videoTemplates": {
"description": "See the example for this returned field.",
"type": "array",
"items": {}
},
"photoAspectRatios": {
"description": "See the example for this returned field.",
"type": "array",
"items": {}
},
"creditCosts": {
"description": "See the example for this returned field.",
"type": "object"
},
"consentVersion": {
"description": "See the example for this returned field.",
"type": "string"
},
"consentPurposes": {
"description": "See the example for this returned field.",
"type": "array",
"items": {}
},
"templates": {
"description": "See the example for this returned field.",
"type": "array",
"items": {}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_brandWrite
Edit the brand profile: name, website, niche, offering, voice fields, or content language. Only the fields passed change. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
name | No / conditional | stringminLength: 1maxLength: 80 |
website | No / conditional | string | null |
region | No / conditional | string | null |
businessModel | No / conditional | "b2b" | "b2c" | "both" | null |
contentLanguage | No / conditional | string | null |
captionMaxChars | No / conditional | integer | null |
bannedHookIds | No / conditional | array |
audienceDescription | No / conditional | string | null |
coreIdentity | No / conditional | string | null |
productOffering | No / conditional | string | null |
uniqueBenefits | No / conditional | string | null |
problemSolved | No / conditional | string | null |
mission | No / conditional | string | null |
differentiation | No / conditional | string | null |
ownedSpace | No / conditional | string | null |
categoryAnswer | No / conditional | string | null |
pushFirst | No / conditional | "product" | "launch" | "offer" | "brand" | null |
postPlatforms | No / conditional | arraymaxItems: 3 |
nicheLabel | No / conditional | string | null |
anglesEditedAt | No / conditional | date-time | null |
pinnedHashtags | No / conditional | array |
voiceSamples | No / conditional | array |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "update_brand-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"website": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
},
"businessModel": {
"anyOf": [
{
"type": "string",
"enum": [
"b2b",
"b2c",
"both"
]
},
{
"type": "null"
}
]
},
"contentLanguage": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 80
},
{
"type": "null"
}
]
},
"captionMaxChars": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"bannedHookIds": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceDescription": {
"type": [
"string",
"null"
]
},
"coreIdentity": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"productOffering": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"uniqueBenefits": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"problemSolved": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"mission": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"differentiation": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"ownedSpace": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"categoryAnswer": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"pushFirst": {
"anyOf": [
{
"type": "string",
"enum": [
"product",
"launch",
"offer",
"brand"
]
},
{
"type": "null"
}
]
},
"postPlatforms": {
"type": "array",
"items": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"none"
]
},
"maxItems": 3
},
"nicheLabel": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
},
"anglesEditedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"pinnedHashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"voiceSamples": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, website, region, businessModel, contentLanguage, captionMaxChars, bannedHookIds, audienceDescription, coreIdentity, productOffering, uniqueBenefits, problemSolved, mission, differentiation, ownedSpace, categoryAnswer, pushFirst, postPlatforms, nicheLabel, anglesEditedAt, pinnedHashtags, voiceSamples, siteIdentity, updatedAt, angles, voice, competitors, segments.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"businessModel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentLanguage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"captionMaxChars": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"bannedHookIds": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceDescription": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coreIdentity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"productOffering": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uniqueBenefits": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"problemSolved": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mission": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"differentiation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownedSpace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"categoryAnswer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pushFirst": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"postPlatforms": {
"type": "array",
"items": {
"type": "string"
}
},
"nicheLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"anglesEditedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"pinnedHashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"voiceSamples": {
"type": "array",
"items": {
"type": "string"
}
},
"siteIdentity": {
"anyOf": [
{
"type": "object",
"properties": {
"headlineFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"headlineKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"bodyFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bodyKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"palette": {
"type": "object",
"properties": {
"accent": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"secondary": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"wash": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"ink": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
}
},
"required": [
"accent",
"secondary",
"wash",
"ink"
],
"additionalProperties": false
},
"logoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"logoStoragePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"logoBackground": {
"type": "string",
"enum": [
"white",
"grey"
]
},
"logoSrc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"headlineFamily",
"headlineKey",
"bodyFamily",
"bodyKey",
"palette",
"logoUrl",
"logoStoragePath",
"logoBackground",
"logoSrc"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"angles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"workspaceId",
"title",
"note",
"sort"
],
"additionalProperties": false
}
},
"voice": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"do",
"dont"
]
},
"text": {
"type": "string"
}
},
"required": [
"id",
"workspaceId",
"kind",
"text"
],
"additionalProperties": false
}
},
"competitors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"name",
"url"
],
"additionalProperties": false
}
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"pct": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"workspaceId",
"name",
"pct"
],
"additionalProperties": false
}
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"website",
"region",
"businessModel",
"contentLanguage",
"captionMaxChars",
"bannedHookIds",
"audienceDescription",
"coreIdentity",
"productOffering",
"uniqueBenefits",
"problemSolved",
"mission",
"differentiation",
"ownedSpace",
"categoryAnswer",
"pushFirst",
"postPlatforms",
"nicheLabel",
"anglesEditedAt",
"pinnedHashtags",
"voiceSamples",
"siteIdentity",
"updatedAt",
"angles",
"voice",
"competitors",
"segments",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_brand_lookWrite
Set the brand's headline font, body font and colour palette (accent, secondary, wash, ink as #rrggbb or null). All three are required; read get_brand first and keep what the user did not ask to change. Also restyles waiting Turbo cards. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
headlineKey | Yes | "sora" | "manrope" | "tiktok_sans" | "montserrat" | "poppins" | "inter" | "roboto" | "open_sans" | "dm_sans" | "plus_jakarta_sans" | "lato" | "oswald" | "anton" | "bebas_neue" | "abel" | "playfair_display" | "dancing_script" | "caveat" | "chewy" | "source_code_pro" | null |
bodyKey | Yes | "sora" | "manrope" | "tiktok_sans" | "montserrat" | "poppins" | "inter" | "roboto" | "open_sans" | "dm_sans" | "plus_jakarta_sans" | "lato" | "oswald" | "anton" | "bebas_neue" | "abel" | "playfair_display" | "dancing_script" | "caveat" | "chewy" | "source_code_pro" | null |
palette | Yes | object |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"headlineKey": null,
"bodyKey": null,
"palette": {
"accent": "#ff6a00",
"secondary": "#1f2937",
"wash": "#fff7ed",
"ink": "#111827"
},
"idempotency_key": "update_brand_look-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"headlineKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"bodyKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"palette": {
"type": "object",
"properties": {
"accent": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"secondary": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"wash": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"ink": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
}
},
"required": [
"accent",
"secondary",
"wash",
"ink"
],
"additionalProperties": false
}
},
"required": [
"headlineKey",
"bodyKey",
"palette"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, website, region, businessModel, contentLanguage, captionMaxChars, bannedHookIds, audienceDescription, coreIdentity, productOffering, uniqueBenefits, problemSolved, mission, differentiation, ownedSpace, categoryAnswer, pushFirst, postPlatforms, nicheLabel, anglesEditedAt, pinnedHashtags, voiceSamples, siteIdentity, updatedAt, angles, voice, competitors, segments.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"businessModel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentLanguage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"captionMaxChars": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"bannedHookIds": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceDescription": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coreIdentity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"productOffering": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uniqueBenefits": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"problemSolved": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mission": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"differentiation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownedSpace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"categoryAnswer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pushFirst": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"postPlatforms": {
"type": "array",
"items": {
"type": "string"
}
},
"nicheLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"anglesEditedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"pinnedHashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"voiceSamples": {
"type": "array",
"items": {
"type": "string"
}
},
"siteIdentity": {
"anyOf": [
{
"type": "object",
"properties": {
"headlineFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"headlineKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"bodyFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bodyKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"palette": {
"type": "object",
"properties": {
"accent": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"secondary": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"wash": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"ink": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
}
},
"required": [
"accent",
"secondary",
"wash",
"ink"
],
"additionalProperties": false
},
"logoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"logoStoragePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"logoBackground": {
"type": "string",
"enum": [
"white",
"grey"
]
},
"logoSrc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"headlineFamily",
"headlineKey",
"bodyFamily",
"bodyKey",
"palette",
"logoUrl",
"logoStoragePath",
"logoBackground",
"logoSrc"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"angles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"workspaceId",
"title",
"note",
"sort"
],
"additionalProperties": false
}
},
"voice": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"do",
"dont"
]
},
"text": {
"type": "string"
}
},
"required": [
"id",
"workspaceId",
"kind",
"text"
],
"additionalProperties": false
}
},
"competitors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"name",
"url"
],
"additionalProperties": false
}
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"pct": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"workspaceId",
"name",
"pct"
],
"additionalProperties": false
}
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"website",
"region",
"businessModel",
"contentLanguage",
"captionMaxChars",
"bannedHookIds",
"audienceDescription",
"coreIdentity",
"productOffering",
"uniqueBenefits",
"problemSolved",
"mission",
"differentiation",
"ownedSpace",
"categoryAnswer",
"pushFirst",
"postPlatforms",
"nicheLabel",
"anglesEditedAt",
"pinnedHashtags",
"voiceSamples",
"siteIdentity",
"updatedAt",
"angles",
"voice",
"competitors",
"segments",
"workspaceId",
"brandName"
],
"additionalProperties": true
}upload_brand_logoWrite
Upload the brand's own logo as base64 of the real file bytes (jpeg, png or webp, up to 2 MB). It replaces the logo read from the website. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
dataBase64 | Yes | stringminLength: 1 |
mimeType | Yes | "image/jpeg" | "image/png" | "image/webp" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"dataBase64": "Example",
"mimeType": "image/jpeg",
"idempotency_key": "upload_brand_logo-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"dataBase64": {
"type": "string",
"minLength": 1
},
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp"
]
}
},
"required": [
"dataBase64",
"mimeType"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, website, region, businessModel, contentLanguage, captionMaxChars, bannedHookIds, audienceDescription, coreIdentity, productOffering, uniqueBenefits, problemSolved, mission, differentiation, ownedSpace, categoryAnswer, pushFirst, postPlatforms, nicheLabel, anglesEditedAt, pinnedHashtags, voiceSamples, siteIdentity, updatedAt, angles, voice, competitors, segments.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"region": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"businessModel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contentLanguage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"captionMaxChars": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"bannedHookIds": {
"type": "array",
"items": {
"type": "string"
}
},
"audienceDescription": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coreIdentity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"productOffering": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"uniqueBenefits": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"problemSolved": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mission": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"differentiation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownedSpace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"categoryAnswer": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pushFirst": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"postPlatforms": {
"type": "array",
"items": {
"type": "string"
}
},
"nicheLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"anglesEditedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"pinnedHashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"voiceSamples": {
"type": "array",
"items": {
"type": "string"
}
},
"siteIdentity": {
"anyOf": [
{
"type": "object",
"properties": {
"headlineFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"headlineKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"bodyFamily": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bodyKey": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"palette": {
"type": "object",
"properties": {
"accent": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"secondary": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"wash": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"ink": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
}
},
"required": [
"accent",
"secondary",
"wash",
"ink"
],
"additionalProperties": false
},
"logoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"logoStoragePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"logoBackground": {
"type": "string",
"enum": [
"white",
"grey"
]
},
"logoSrc": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"headlineFamily",
"headlineKey",
"bodyFamily",
"bodyKey",
"palette",
"logoUrl",
"logoStoragePath",
"logoBackground",
"logoSrc"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"angles": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"workspaceId",
"title",
"note",
"sort"
],
"additionalProperties": false
}
},
"voice": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"do",
"dont"
]
},
"text": {
"type": "string"
}
},
"required": [
"id",
"workspaceId",
"kind",
"text"
],
"additionalProperties": false
}
},
"competitors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"name",
"url"
],
"additionalProperties": false
}
},
"segments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"pct": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"id",
"workspaceId",
"name",
"pct"
],
"additionalProperties": false
}
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"website",
"region",
"businessModel",
"contentLanguage",
"captionMaxChars",
"bannedHookIds",
"audienceDescription",
"coreIdentity",
"productOffering",
"uniqueBenefits",
"problemSolved",
"mission",
"differentiation",
"ownedSpace",
"categoryAnswer",
"pushFirst",
"postPlatforms",
"nicheLabel",
"anglesEditedAt",
"pinnedHashtags",
"voiceSamples",
"siteIdentity",
"updatedAt",
"angles",
"voice",
"competitors",
"segments",
"workspaceId",
"brandName"
],
"additionalProperties": true
}refresh_brandWrite
Rebuild the whole brand read from the website and socials, overwriting the current profile. Ask the user first. Takes about 75 seconds; returns a jobId for get_job. Free, unless generateFreshTurboPosts=true, which costs 15 credits for fresh Turbo cards. Needs a paid plan.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
brandName | Yes | stringminLength: 1maxLength: 80 |
website | No / conditional | uri |
tiktokHandle | No / conditional | string |
instagramHandle | No / conditional | string |
description | No / conditional | stringminLength: 1 |
niches | No / conditional | arraymaxItems: 5 |
generateFreshTurboPosts | No / conditional | boolean |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"brandName": "Example brand",
"idempotency_key": "refresh_brand-example-1",
"website": "https://example.com"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"brandName": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"website": {
"type": "string",
"format": "uri"
},
"tiktokHandle": {
"type": "string"
},
"instagramHandle": {
"type": "string"
},
"description": {
"type": "string",
"minLength": 1
},
"niches": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"maxItems": 5
}
},
"required": [
"brandName"
]
},
{
"type": "object",
"properties": {
"generateFreshTurboPosts": {
"type": "boolean"
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"workspaceId",
"brandName"
],
"additionalProperties": true
}manage_brand_angleWrite
Add, edit or delete a content angle (a topic posts are written about). action=create takes title and note; update takes angle_id and the fields to change; delete takes angle_id and confirm=true. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "delete" |
title | No / conditional | stringminLength: 1maxLength: 120 |
note | No / conditional | string | null |
sort | No / conditional | integerminimum: -2147483648maximum: 2147483647 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
angle_id | No / conditional | uuid |
confirm | No / conditional | true |
Input example
{
"action": "create",
"title": "Example",
"idempotency_key": "manage_brand_angle-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "create"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
},
"required": [
"title"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "update"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"angle_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"angle_id"
]
},
{
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"note": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "delete"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"angle_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"angle_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, title, note, sort.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sort": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"title",
"note",
"sort",
"workspaceId",
"brandName"
],
"additionalProperties": true
}refresh_angle_postsWrite
Replace the untouched Turbo cards with 10 new ones written from the current angles. Costs 15 credits. Runs in the background with no jobId; read get_turbo_deck after a minute or two. Needs a paid plan.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "refresh_angle_posts-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: queued.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"queued": {
"type": "boolean",
"enum": [
true
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"queued",
"workspaceId",
"brandName"
],
"additionalProperties": true
}manage_brand_voice_ruleWrite
Add, edit or delete a voice rule: a "do" or "dont" line every post follows. action=create takes kind and text; update takes rule_id and fields; delete takes rule_id and confirm=true. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "delete" |
kind | No / conditional | "do" | "dont" |
text | No / conditional | stringminLength: 1maxLength: 200 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
rule_id | No / conditional | uuid |
confirm | No / conditional | true |
Input example
{
"action": "create",
"kind": "do",
"text": "Example",
"idempotency_key": "manage_brand_voice_rule-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "create"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"do",
"dont"
]
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"kind",
"text"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "update"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"rule_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"rule_id"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"do",
"dont"
]
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "delete"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"rule_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"rule_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, kind, text.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"do",
"dont"
]
},
"text": {
"type": "string"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"kind",
"text",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_notesRead
Read the notes this workspace keeps across chats: how the user wants to work and what they have tried. Shared with Mia in the app.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: items.
{
"items": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"text": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"workspaceId",
"text",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"items",
"workspaceId",
"brandName"
],
"additionalProperties": true
}manage_noteWrite
Add, rewrite or delete a note. Save only what the user said they want kept for later chats. action=create takes text (up to 200 characters, 30 notes at most); update takes note_id and text; delete takes note_id and confirm=true. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "delete" |
text | No / conditional | stringminLength: 1maxLength: 200 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
note_id | No / conditional | uuid |
confirm | No / conditional | true |
Input example
{
"action": "create",
"text": "Example",
"idempotency_key": "manage_note-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "create"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"text"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "update"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"note_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"note_id"
]
},
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"text"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "delete"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"note_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"note_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, text, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"text": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"text",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}manage_brand_competitorWrite
Add, edit or delete a competitor. action=create takes name and url; update takes competitor_id and fields; delete takes competitor_id and confirm=true. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "delete" |
name | No / conditional | stringminLength: 1maxLength: 120 |
url | No / conditional | string | null |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
competitor_id | No / conditional | uuid |
confirm | No / conditional | true |
Input example
{
"action": "create",
"name": "Example",
"idempotency_key": "manage_brand_competitor-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "create"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"url": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
}
},
"required": [
"name"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "update"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"competitor_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"competitor_id"
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"url": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "null"
}
]
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "delete"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"competitor_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"competitor_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, url.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"url": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"url",
"workspaceId",
"brandName"
],
"additionalProperties": true
}manage_brand_segmentWrite
Add, edit or delete an audience segment and its share of the audience (pct 0 to 100). action=create takes name and pct; update takes segment_id and fields; delete takes segment_id and confirm=true. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "delete" |
name | No / conditional | stringminLength: 1maxLength: 120 |
pct | No / conditional | integerminimum: 0maximum: 100 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
segment_id | No / conditional | uuid |
confirm | No / conditional | true |
Input example
{
"action": "create",
"name": "Example",
"pct": 0,
"idempotency_key": "manage_brand_segment-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "create"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"pct": {
"type": "integer",
"minimum": 0,
"maximum": 100
}
},
"required": [
"name",
"pct"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "update"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"segment_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"segment_id"
]
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"pct": {
"type": "integer",
"minimum": 0,
"maximum": 100
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "delete"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"segment_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"segment_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, pct.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"pct": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"pct",
"workspaceId",
"brandName"
],
"additionalProperties": true
}manage_productWrite
Add, edit or delete a product in the brand catalogue. action=create takes name and optional details; update takes product_id and fields; delete takes product_id and confirm=true. Add its photo with upload_product_image. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "delete" |
folder | No / conditional | string | null |
name | No / conditional | string |
category | No / conditional | string | null |
description | No / conditional | string | null |
price | No / conditional | string | null |
role | No / conditional | "product" | "add_on" | "variant" |
listingRank | No / conditional | integer | null |
productUrl | No / conditional | string | null |
sourceImageUrl | No / conditional | string | null |
featuredAt | No / conditional | date-time | null |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
product_id | No / conditional | uuid |
confirm | No / conditional | true |
Input example
{
"action": "create",
"name": "Example",
"idempotency_key": "manage_product-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "create"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"folder": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"price": {
"type": [
"string",
"null"
]
},
"role": {
"type": "string",
"enum": [
"product",
"add_on",
"variant"
]
},
"listingRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"productUrl": {
"type": [
"string",
"null"
]
},
"sourceImageUrl": {
"type": [
"string",
"null"
]
},
"featuredAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"name"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "update"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"product_id"
]
},
{
"type": "object",
"properties": {
"folder": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"category": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"price": {
"type": [
"string",
"null"
]
},
"role": {
"type": "string",
"enum": [
"product",
"add_on",
"variant"
]
},
"listingRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"productUrl": {
"type": [
"string",
"null"
]
},
"sourceImageUrl": {
"type": [
"string",
"null"
]
},
"featuredAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "delete"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"product_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, folder, name, category, description, price, role, listingRank, productUrl, sourceImageUrl, storagePath, aiDescription, structuredMetadata, featuredAt, createdAt, imageUrl.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"storagePath": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"folder": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"role": {
"type": "string",
"enum": [
"product",
"add_on",
"variant"
]
},
"listingRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"productUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceImageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"storagePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"aiDescription": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"structuredMetadata": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"featuredAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"folder",
"name",
"category",
"description",
"price",
"role",
"listingRank",
"productUrl",
"sourceImageUrl",
"storagePath",
"aiDescription",
"structuredMetadata",
"featuredAt",
"createdAt",
"imageUrl",
"workspaceId",
"brandName"
],
"additionalProperties": true
}upload_product_imageWrite
Upload a product's photo as base64 of the real file bytes (jpeg, png, webp or gif, up to 20 MB). The product becomes featured, so new posts lean on it. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
product_id | Yes | uuid |
dataBase64 | Yes | stringminLength: 1 |
mimeType | Yes | "image/jpeg" | "image/png" | "image/webp" | "image/gif" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"product_id": "11111111-1111-4111-8111-111111111111",
"dataBase64": "Example",
"mimeType": "image/jpeg",
"idempotency_key": "upload_product_image-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"product_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"product_id"
]
},
{
"type": "object",
"properties": {
"dataBase64": {
"type": "string",
"minLength": 1
},
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/gif"
]
}
},
"required": [
"dataBase64",
"mimeType"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, folder, name, category, description, price, role, listingRank, productUrl, sourceImageUrl, storagePath, aiDescription, structuredMetadata, featuredAt, createdAt, imageUrl.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"storagePath": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"folder": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"price": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"role": {
"type": "string",
"enum": [
"product",
"add_on",
"variant"
]
},
"listingRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"productUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceImageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"storagePath": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"aiDescription": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"structuredMetadata": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"featuredAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"imageUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"folder",
"name",
"category",
"description",
"price",
"role",
"listingRank",
"productUrl",
"sourceImageUrl",
"storagePath",
"aiDescription",
"structuredMetadata",
"featuredAt",
"createdAt",
"imageUrl",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_autopilotRead
Read an account's Autopilot: the next posts it booked, what it has learned, recent activity, and what it is making right now. Its settings are on the account (get_account).
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"account_id"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: upNext, learning, review, activity, making, makingVideos, firstBatch, trial, suggestion.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"upNext": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"runAt": {
"type": "string"
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"contentItemId",
"runAt",
"format",
"caption",
"coverUrl",
"renderedUrl",
"reasons"
],
"additionalProperties": false
}
},
"learning": {
"anyOf": [
{
"type": "object",
"properties": {
"confidence": {
"type": "string",
"enum": [
"observing",
"early",
"established"
]
},
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"evidence": {
"type": "number"
},
"format": {
"anyOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"reachLift": {
"type": "number"
},
"evidence": {
"type": "number"
}
},
"required": [
"key",
"reachLift",
"evidence"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"angle": {
"anyOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"reachLift": {
"type": "number"
},
"evidence": {
"type": "number"
}
},
"required": [
"key",
"reachLift",
"evidence"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"laggingFormat": {
"anyOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"reachLift": {
"type": "number"
},
"evidence": {
"type": "number"
}
},
"required": [
"key",
"reachLift",
"evidence"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"laggingAngle": {
"anyOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"reachLift": {
"type": "number"
},
"evidence": {
"type": "number"
}
},
"required": [
"key",
"reachLift",
"evidence"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"confidence",
"scope",
"evidence",
"format",
"angle",
"laggingFormat",
"laggingAngle"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"review": {
"anyOf": [
{
"type": "object",
"properties": {
"takeaways": {
"type": "array",
"items": {
"type": "string"
}
},
"ideas": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"takeaways",
"ideas"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"activity": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"occurredAt": {
"type": "string"
},
"title": {
"type": "string"
},
"body": {
"type": "string"
}
},
"required": [
"id",
"type",
"occurredAt",
"title",
"body"
],
"additionalProperties": false
}
},
"making": {
"type": "boolean"
},
"makingVideos": {
"type": "integer"
},
"firstBatch": {
"anyOf": [
{
"type": "object",
"properties": {
"ready": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"ready",
"total"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"trial": {
"anyOf": [
{
"type": "object",
"properties": {
"arms": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"templateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"posts": {
"type": "integer"
},
"lift": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"label",
"templateSourceId",
"posts",
"lift",
"freshPhotosCreditCost"
],
"additionalProperties": false
}
},
"winner": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"arms",
"winner"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"suggestion": {
"anyOf": [
{
"type": "object",
"properties": {
"templateSourceId": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
}
},
"required": [
"templateSourceId",
"title"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"upNext",
"learning",
"review",
"activity",
"making",
"makingVideos",
"firstBatch",
"trial",
"suggestion",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_autopilotWrite
Set an account's Autopilot: posts per day (1 or 2, null turns it off), the template it posts from, fresh photos, post idea, and whether it posts slideshows, Hook & demo videos or both. Only the fields passed change. Turning Autopilot, slideshows or videos off only stops new posts; the ones already booked still go out. Needs a paid plan with Autopilot.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
postsPerDay | Yes | 1 | 2 | null |
templateSourceId | No / conditional | uuid | null |
freshPhotos | No / conditional | boolean |
slideshows | No / conditional | boolean |
postIdea | No / conditional | string | null |
hookDemo | No / conditional | boolean |
demoMediaIds | No / conditional | arraymaxItems: 10 |
demoCallToAction | No / conditional | string | null |
demoFreshHooks | No / conditional | boolean |
demoFace | No / conditional | uuid | null |
mediaAiDeclarations | No / conditional | arraymaxItems: 20 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111",
"postsPerDay": 1,
"idempotency_key": "update_autopilot-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
},
"postsPerDay": {
"anyOf": [
{
"type": "number",
"enum": [
1,
2
]
},
{
"type": "null"
}
]
},
"templateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"freshPhotos": {
"type": "boolean"
},
"slideshows": {
"type": "boolean",
"description": "Post slideshows. false with hookDemo=true posts the videos only; while Autopilot is on, one of the two stays on."
},
"postIdea": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"hookDemo": {
"type": "boolean",
"description": "Post Hook & demo videos: each opens on a ready-made hook from Amplify's library (or a new one, see demoFreshHooks) and ends on one of demoMediaIds. Next to slideshows every other post is a video. Each costs the post fee, except as demoFreshHooks says."
},
"demoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"maxItems": 10,
"description": "The product demo videos (list_media) those videos end on, taken in turn. Each needs its AI-generated question answered."
},
"demoCallToAction": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
],
"description": "The line every one of those videos ends on, exactly as written; with none set (null clears it), they end on \"Try\" and the brand's name."
},
"demoFreshHooks": {
"type": "boolean",
"description": "Open those videos on new hooks instead, each the account's own influencer acting out a copy of a real viral video. One hook serves 5 videos: the first films it and costs 64 credits, the other 4 the post fee. Short of credits, a video opens on a ready-made hook and the user is told. Turning it on needs the account's influencer set up with a photo."
},
"demoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
],
"description": "One ready-made face (an id from list_ready_made_influencers) whose ready-made hooks those videos open on; null is any face. A face has only a few hooks, so its openers repeat sooner."
},
"mediaAiDeclarations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"isAiGenerated": {
"type": "boolean"
}
},
"required": [
"mediaId",
"isAiGenerated"
],
"additionalProperties": false
},
"maxItems": 20,
"description": "The user's own answer, for each uploaded clip in demoMediaIds not yet answered, to whether it was generated or significantly edited with AI. Ask the user about each such clip and send only what they said; a save that leaves a clip unanswered is refused."
}
},
"required": [
"account_id",
"postsPerDay"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, platform, handle, displayName, bio, profilePhotoMediaId, uploadPostProfileId, connectionStatus, kind, orderId, country, readyEmailSentAt, baselineFollowers, baselineCapturedAt, learningEnabled, aiLabel, postPhotosAsReel, reelSlideMs, reelTransition, learningResetAt, creditGraceSince, billingCycleId, nextCreditDeductionAt, renewalWarningSentFor, creditReleasedAt, keywords, etaGoLive, etaLastChangedAt, warmingCompletedAt, warmingSessionsCompleted, warmingSessionsRequired, nextSessionAt, detailsLockedAt, profileVersion, profileAppliedVersion, profileApplyStatus, profileApplyDetail, profileAppliedAt, profileChangedAt, autopilotPostsPerDay, autopilotPausedReason, autopilotFailures, autopilotTrial, autopilotTemplateSourceId, autopilotTemplateHandle, autopilotTemplatePlatform, autopilotFreshPhotos, autopilotBackgroundScene, autopilotSubjectPin, autopilotPostIdea, autopilotSettingsAt, autopilotCrosspostFrom, autopilotSlideshows, autopilotHookDemo, autopilotDemoMediaIds, autopilotDemoCallToAction, autopilotDemoFilmed, autopilotDemoFreshHooks, autopilotDemoFace, testPostChoice, createdAt, updatedAt, profilePhotoUrl, timezone, autopilotTemplate.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"platform": "tiktok",
"handle": "Example",
"uploadPostProfileId": "Example",
"connectionStatus": "pending",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"uploadPostProfileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"connectionStatus": {
"type": "string",
"enum": [
"pending",
"live",
"warming",
"provisioning",
"waitlisted",
"paused",
"disconnected"
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"orderId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"readyEmailSentAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"baselineFollowers": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"baselineCapturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean"
},
"postPhotosAsReel": {
"type": "boolean"
},
"reelSlideMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
]
},
"learningResetAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditGraceSince": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"billingCycleId": {
"type": "string",
"format": "uuid"
},
"nextCreditDeductionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renewalWarningSentFor": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditReleasedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"etaGoLive": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etaLastChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingCompletedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingSessionsCompleted": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"warmingSessionsRequired": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"nextSessionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"detailsLockedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileVersion": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"profileAppliedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"profileApplyStatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileApplyDetail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileAppliedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotPostsPerDay": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"autopilotPausedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotFailures": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"autopilotTrial": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotTemplateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotTemplateHandle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotTemplatePlatform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"autopilotFreshPhotos": {
"type": "boolean"
},
"autopilotBackgroundScene": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSubjectPin": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotPostIdea": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSettingsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotCrosspostFrom": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotSlideshows": {
"type": "boolean"
},
"autopilotHookDemo": {
"type": "boolean"
},
"autopilotDemoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"autopilotDemoCallToAction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotDemoFilmed": {
"type": "boolean"
},
"autopilotDemoFreshHooks": {
"type": "boolean"
},
"autopilotDemoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"testPostChoice": {
"anyOf": [
{
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"autopilotTemplate": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"type": "integer"
}
},
"required": [
"id",
"coverUrl",
"hook",
"handle",
"freshPhotosCreditCost"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"platform",
"handle",
"displayName",
"bio",
"profilePhotoMediaId",
"uploadPostProfileId",
"connectionStatus",
"kind",
"orderId",
"country",
"readyEmailSentAt",
"baselineFollowers",
"baselineCapturedAt",
"learningEnabled",
"aiLabel",
"postPhotosAsReel",
"reelSlideMs",
"reelTransition",
"learningResetAt",
"creditGraceSince",
"billingCycleId",
"nextCreditDeductionAt",
"renewalWarningSentFor",
"creditReleasedAt",
"keywords",
"etaGoLive",
"etaLastChangedAt",
"warmingCompletedAt",
"warmingSessionsCompleted",
"warmingSessionsRequired",
"nextSessionAt",
"detailsLockedAt",
"profileVersion",
"profileAppliedVersion",
"profileApplyStatus",
"profileApplyDetail",
"profileAppliedAt",
"profileChangedAt",
"autopilotPostsPerDay",
"autopilotPausedReason",
"autopilotFailures",
"autopilotTrial",
"autopilotTemplateSourceId",
"autopilotTemplateHandle",
"autopilotTemplatePlatform",
"autopilotFreshPhotos",
"autopilotBackgroundScene",
"autopilotSubjectPin",
"autopilotPostIdea",
"autopilotSettingsAt",
"autopilotCrosspostFrom",
"autopilotSlideshows",
"autopilotHookDemo",
"autopilotDemoMediaIds",
"autopilotDemoCallToAction",
"autopilotDemoFilmed",
"autopilotDemoFreshHooks",
"autopilotDemoFace",
"testPostChoice",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}preview_autopilotRead
Show what Autopilot would book next on an account and when, without booking anything. Pass postsPerDay to preview a rate before saving it. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
postsPerDay | No / conditional | integerminimum: 1maximum: 2 |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
},
"postsPerDay": {
"type": "integer",
"minimum": 1,
"maximum": 2
}
},
"required": [
"account_id"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: posts.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"posts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"runAt": {
"type": "string"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"runAt",
"contentItemId",
"format",
"caption",
"coverUrl"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"posts",
"workspaceId",
"brandName"
],
"additionalProperties": true
}make_autopilot_postsWrite
Make Autopilot posts now instead of waiting, on an account whose Autopilot is on and not paused. Slideshows (the default) need slideshows on and are not for YouTube; a template is optional. count=1 makes one and books it; more (up to 10) land at the top of Turbo for approval first. Fresh photos reserve credits per post when on; without enough credits it uses Library photos and charges nothing. kind=hook_demo makes one Hook & demo video from the account's Hook & demo settings and books it, for its credits; it needs Hook & demo on. Watch progress with get_autopilot (making).
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
kind | No / conditional | "slideshow" | "hook_demo"default: "slideshow" |
count | No / conditional | integerminimum: 1maximum: 10default: 1 |
topic | No / conditional | stringminLength: 1maxLength: 2000 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "make_autopilot_posts-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"slideshow",
"hook_demo"
],
"default": "slideshow",
"description": "hook_demo: one Hook & demo video from the account's Hook & demo settings, with no count or topic."
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 1
},
"topic": {
"type": "string",
"minLength": 1,
"maxLength": 2000
}
},
"required": [
"account_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. See the response schema for the returned variants.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"workspaceId",
"brandName"
],
"additionalProperties": true
}queue_library_postsWrite
Put posts from the Library first in line on an Autopilot account, at its next open times, in the order given. Autopilot must be on and not paused. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
contentItemIds | Yes | arrayminItems: 1maxItems: 28 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111",
"contentItemIds": [
"11111111-1111-4111-8111-111111111111"
],
"idempotency_key": "queue_library_posts-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
},
"contentItemIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"minItems": 1,
"maxItems": 28
}
},
"required": [
"account_id",
"contentItemIds"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: booked, skipped.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"booked": {
"type": "integer"
},
"skipped": {
"type": "integer"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"booked",
"skipped",
"workspaceId",
"brandName"
],
"additionalProperties": true
}change_planned_postWrite
Change an upcoming Autopilot post (post_id from get_calendar or get_autopilot). swap replaces it with the next best pick at the same time; skip removes it and leaves the time empty; unskip puts a skipped post back. Fails when it is too late. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "unskip" |
post_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"action": "swap",
"post_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "change_planned_post-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "swap"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"post_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "skip"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"post_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "unskip"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"post_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, contentItemId, accountId, status, purpose, publishJobId, runAt, postedAt, externalUrl, externalId, failureCode, failureMessage, autoMoves, movedAt, caption, hashtags, isAigc, isPaidPartnership, views, likes, comments, saves, metricsSyncedAt, metricsNextSyncAt, commentsFetchedAt, commentsCountAtFetch, commentsFetchStage, learningEligible, learningExclusionReason, reachState, reachCheckedAt, autopilot, autopilotReasons, autopilotTrialArm, privacy, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "11111111-1111-4111-8111-111111111111",
"status": "draft",
"postedAt": "2026-10-02T00:00:00.000Z",
"externalUrl": "Example",
"caption": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"posting",
"posted",
"awaiting_user_publish",
"failed",
"canceled",
"skipped"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test"
]
},
"publishJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"runAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"externalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autoMoves": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"movedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"isAigc": {
"type": "boolean"
},
"isPaidPartnership": {
"type": "boolean"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"metricsSyncedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"metricsNextSyncAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsFetchedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsCountAtFetch": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"commentsFetchStage": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"learningEligible": {
"type": "boolean"
},
"learningExclusionReason": {
"anyOf": [
{
"type": "string",
"enum": [
"paid_or_boosted",
"repost",
"unverified",
"manual",
"test",
"stalled"
]
},
{
"type": "null"
}
]
},
"reachState": {
"anyOf": [
{
"type": "string",
"enum": [
"not_distributed",
"private",
"gone",
"distributed"
]
},
{
"type": "null"
}
]
},
"reachCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilot": {
"type": "boolean"
},
"autopilotReasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"autopilotTrialArm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacy": {
"type": "string",
"enum": [
"public",
"private"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"accountId",
"status",
"purpose",
"publishJobId",
"runAt",
"postedAt",
"externalUrl",
"externalId",
"failureCode",
"failureMessage",
"autoMoves",
"movedAt",
"caption",
"hashtags",
"isAigc",
"isPaidPartnership",
"views",
"likes",
"comments",
"saves",
"metricsSyncedAt",
"metricsNextSyncAt",
"commentsFetchedAt",
"commentsCountAtFetch",
"commentsFetchStage",
"learningEligible",
"learningExclusionReason",
"reachState",
"reachCheckedAt",
"autopilot",
"autopilotReasons",
"autopilotTrialArm",
"privacy",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_latest_trendsRead
Browse Latest Trends, the shared pool of viral posts, with filters for time, niche, slideshow or video, views, sort and search. scope=top lists the Top slideshows Autopilot can post from; own=include or own=only adds the workspace's own. Remix one with prepare_remix and latest_trend_id.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
postedWithin | No / conditional | "7d" | "30d" | "90d" | "365d" |
niche | No / conditional | "health_fitness" | "beauty_skincare" | "fashion_style" | "food_cooking" | "travel" | "personal_finance" | "business_marketing" | "tech_software" | "gaming" | "home_lifestyle" | "parenting_family" | "education_self_improvement" | "entertainment_music" | "sports_outdoors" | "pets_animals" | "real_estate" | "all" |
sourceKind | No / conditional | "slideshow" | "video" |
minViews | No / conditional | integerminimum: 0maximum: 2147483647 |
collectionMonth | No / conditional | stringpattern: "^\\d{4}-(0[1-9]|1[0-2])$" |
scope | No / conditional | "library" | "trends" | "top" |
sort | No / conditional | "views" | "saves" | "liked" | "recent" | "fit" |
fitPlatform | No / conditional | "tiktok" | "instagram" | "facebook" | "youtube" |
own | No / conditional | "include" | "only" |
limit | No / conditional | integerminimum: 1maximum: 100 |
cursor | No / conditional | uuid |
search | No / conditional | stringmaxLength: 120 |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"postedWithin": {
"type": "string",
"enum": [
"7d",
"30d",
"90d",
"365d"
]
},
"niche": {
"anyOf": [
{
"type": "string",
"enum": [
"health_fitness",
"beauty_skincare",
"fashion_style",
"food_cooking",
"travel",
"personal_finance",
"business_marketing",
"tech_software",
"gaming",
"home_lifestyle",
"parenting_family",
"education_self_improvement",
"entertainment_music",
"sports_outdoors",
"pets_animals",
"real_estate"
]
},
{
"type": "string",
"const": "all"
}
]
},
"sourceKind": {
"type": "string",
"enum": [
"slideshow",
"video"
]
},
"minViews": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"collectionMonth": {
"type": "string",
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
},
"scope": {
"type": "string",
"enum": [
"library",
"trends",
"top"
]
},
"sort": {
"type": "string",
"enum": [
"views",
"saves",
"liked",
"recent",
"fit"
]
},
"fitPlatform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"own": {
"type": "string",
"enum": [
"include",
"only"
]
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"type": "string",
"format": "uuid"
},
"search": {
"type": "string",
"maxLength": 120
}
}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: items, nextCursor, months, nicheCounts, yourNiches, recommendedId, groups.
{
"items": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"externalUrl": {
"type": "string"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hookText": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hookPattern": {
"type": "string"
},
"nicheIds": {
"type": "array",
"items": {
"type": "string",
"enum": [
"health_fitness",
"beauty_skincare",
"fashion_style",
"food_cooking",
"travel",
"personal_finance",
"business_marketing",
"tech_software",
"gaming",
"home_lifestyle",
"parenting_family",
"education_self_improvement",
"entertainment_music",
"sports_outdoors",
"pets_animals",
"real_estate"
]
}
},
"sourceKind": {
"type": "string",
"enum": [
"slideshow",
"video"
]
},
"addedAt": {
"type": "string"
},
"videoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"views": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slideUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"curated": {
"anyOf": [
{
"type": "object",
"properties": {
"saves": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"followers": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nickname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sells": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"saves",
"followers",
"nickname",
"sells"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"own": {
"type": "boolean"
}
},
"required": [
"id",
"platform",
"externalUrl",
"handle",
"title",
"hookText",
"hookPattern",
"nicheIds",
"sourceKind",
"addedAt",
"videoUrl",
"views",
"likes",
"postedAt",
"coverUrl",
"slideUrls",
"curated",
"own"
],
"additionalProperties": false
}
},
"nextCursor": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"months": {
"type": "array",
"items": {
"type": "string"
}
},
"nicheCounts": {
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"yourNiches": {
"type": "array",
"items": {
"type": "string",
"enum": [
"health_fitness",
"beauty_skincare",
"fashion_style",
"food_cooking",
"travel",
"personal_finance",
"business_marketing",
"tech_software",
"gaming",
"home_lifestyle",
"parenting_family",
"education_self_improvement",
"entertainment_music",
"sports_outdoors",
"pets_animals",
"real_estate"
]
}
},
"recommendedId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"groups": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"month": {
"type": "string"
},
"addedAt": {
"type": "string"
},
"sound": {
"anyOf": [
{
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"title",
"url"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"examples": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"externalUrl": {
"type": "string"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hookText": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hookPattern": {
"type": "string"
},
"nicheIds": {
"type": "array",
"items": {
"type": "string",
"enum": [
"health_fitness",
"beauty_skincare",
"fashion_style",
"food_cooking",
"travel",
"personal_finance",
"business_marketing",
"tech_software",
"gaming",
"home_lifestyle",
"parenting_family",
"education_self_improvement",
"entertainment_music",
"sports_outdoors",
"pets_animals",
"real_estate"
]
}
},
"sourceKind": {
"type": "string",
"enum": [
"slideshow",
"video"
]
},
"addedAt": {
"type": "string"
},
"videoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"views": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slideUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"curated": {
"anyOf": [
{
"type": "object",
"properties": {
"saves": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"followers": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nickname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sells": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"saves",
"followers",
"nickname",
"sells"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"own": {
"type": "boolean"
}
},
"required": [
"id",
"platform",
"externalUrl",
"handle",
"title",
"hookText",
"hookPattern",
"nicheIds",
"sourceKind",
"addedAt",
"videoUrl",
"views",
"likes",
"postedAt",
"coverUrl",
"slideUrls",
"curated",
"own"
],
"additionalProperties": false
}
}
},
"required": [
"id",
"title",
"description",
"month",
"addedAt",
"sound",
"examples"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"items",
"nextCursor",
"months",
"groups",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_discover_itemWrite
save bookmarks a Discover trend, unsave removes the bookmark, dismiss hides it for good and teaches Discover the brand is not interested. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "dismiss" |
discover_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"action": "save",
"discover_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "update_discover_item-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "save"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"discover_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"discover_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "unsave"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"discover_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"discover_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "dismiss"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"discover_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"discover_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: saved, id.
{
"saved": false,
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"saved": {
"type": "boolean"
},
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"saved",
"id",
"workspaceId",
"brandName"
],
"additionalProperties": true
}refresh_discoverWrite
Look for new trends in the brand's niches in the background. Costs 25 credits, refunded if it cannot start; free when a refresh is already running. Read list_discover again after a few minutes. Needs a paid plan.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "refresh_discover-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: refreshing, reason.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"refreshing": {
"type": "boolean"
},
"reason": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"refreshing",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_discover_settingsRead
Read how many views and how recent a post must be to show up in Discover.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, minViews, recencyDays, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"minViews": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"recencyDays": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"minViews",
"recencyDays",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_discover_settingsWrite
Set the minimum views and the most days old a post can be to show up in Discover. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
minViews | No / conditional | integerminimum: 0 |
recencyDays | No / conditional | integerminimum: 1maximum: 365 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "update_discover_settings-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"minViews": {
"type": "integer",
"minimum": 0
},
"recencyDays": {
"type": "integer",
"minimum": 1,
"maximum": 365
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, minViews, recencyDays, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"minViews": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"recencyDays": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"minViews",
"recencyDays",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_discover_sourcesRead
List the TikTok and Instagram accounts the workspace watches for Discover's Competitors tab, plus suggested ones from posts the user saved or remixed. Their posts are in list_competitor_posts.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: sources, suggestions.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"handle": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"workspaceId",
"platform",
"handle",
"createdAt"
],
"additionalProperties": false
}
},
"suggestions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"handle": {
"type": "string"
}
},
"required": [
"platform",
"handle"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"sources",
"suggestions",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_competitor_postsRead
Read Discover's Competitors tab: the watched accounts with followers, their usual post (median views, or likes), when each was last read, whether a read is running or it could not be read, and their posts from the last 30 days with views, likes, comments, saves and shares. timesUsual is a post over its account's usual; takingOff marks a post from the last 7 days at 3x the usual or more. account (an account's id) narrows to one; sort is trending (default: recent posts far over their usual first), views, usual, liked or recent. Remix a post with prepare_remix and source={kind:link,url:externalUrl}.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account | No / conditional | uuid |
sort | No / conditional | "trending" | "views" | "usual" | "liked" | "recent"default: "trending" |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account": {
"type": "string",
"format": "uuid"
},
"sort": {
"type": "string",
"enum": [
"trending",
"views",
"usual",
"liked",
"recent"
],
"default": "trending"
}
}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: accounts, posts, limit, suggestions.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"accounts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"handle": {
"type": "string"
},
"followers": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"usual": {
"anyOf": [
{
"type": "object",
"properties": {
"metric": {
"type": "string",
"enum": [
"views",
"likes"
]
},
"value": {
"type": "number"
}
},
"required": [
"metric",
"value"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"checkedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"reading": {
"type": "boolean"
},
"unreadable": {
"type": "boolean"
}
},
"required": [
"id",
"platform",
"handle",
"followers",
"usual",
"checkedAt",
"reading",
"unreadable"
],
"additionalProperties": false
}
},
"posts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"handle": {
"type": "string"
},
"externalUrl": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"slideshow",
"video"
]
},
"slideCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"durationSec": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"views": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"shares": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"timesUsual": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"takingOff": {
"type": "boolean"
}
},
"required": [
"id",
"accountId",
"platform",
"handle",
"externalUrl",
"kind",
"slideCount",
"durationSec",
"coverUrl",
"postedAt",
"views",
"likes",
"comments",
"saves",
"shares",
"timesUsual",
"takingOff"
],
"additionalProperties": false
}
},
"limit": {
"type": "integer"
},
"suggestions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"handle": {
"type": "string"
}
},
"required": [
"platform",
"handle"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"accounts",
"posts",
"limit",
"suggestions",
"workspaceId",
"brandName"
],
"additionalProperties": true
}manage_discover_sourceWrite
action=create watches a TikTok or Instagram account (platform and handle) for Discover's Competitors tab, up to 5 accounts; its posts show in list_competitor_posts after a few minutes, it is read again about once a day, and a post taking off sends the workspace a notification. delete stops watching one (source_id, confirm=true). Free; create needs a paid plan.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "delete" |
platform | No / conditional | "tiktok" | "instagram" |
handle | No / conditional | stringminLength: 1maxLength: 200 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
source_id | No / conditional | uuid |
confirm | No / conditional | true |
Input example
{
"action": "create",
"platform": "tiktok",
"handle": "Example",
"idempotency_key": "manage_discover_source-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "create"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"handle": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"platform",
"handle"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "delete"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"source_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"source_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, platform, handle, createdAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"platform": "tiktok",
"handle": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"handle": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"platform",
"handle",
"createdAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}manage_own_top_slideshowWrite
action=create makes the workspace's own Top slideshow for Autopilot to post from: from="link" with a slideshow url, from="post" with one of the brand's contentItemId, or from="text" with a description. delete removes it (template_id, confirm=true); accounts using it go back to the default. action=edit restyles a template's text (template_id, any Top slideshow or own one) from an instruction such as "title top left, smaller" and returns the new look, the words it was drawn with, and a picture of one slide; pass look and words back with the next instruction to keep editing, or no instruction to see the template as it is. action=save keeps a look as an own template named name (template_id, look); saving over an own template made by save updates it. Free; create, edit and save need a paid plan.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
action | Yes | "delete" |
from | No / conditional | "text" |
url | No / conditional | stringminLength: 1maxLength: 500 |
contentItemId | No / conditional | uuid |
description | No / conditional | stringminLength: 20maxLength: 1000 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
template_id | No / conditional | uuid |
instruction | No / conditional | stringminLength: 1maxLength: 500 |
look | No / conditional | object |
words | No / conditional | object |
name | No / conditional | stringminLength: 1maxLength: 60 |
confirm | No / conditional | true |
Input example
{
"action": "create",
"from": "link",
"url": "Example",
"idempotency_key": "manage_own_top_slideshow-example-1"
}Full input schema
{
"anyOf": [
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "create"
}
},
"required": [
"action"
]
},
{
"anyOf": [
{
"type": "object",
"properties": {
"from": {
"type": "string",
"const": "link"
},
"url": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"from",
"url"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"from": {
"type": "string",
"const": "post"
},
"contentItemId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"from",
"contentItemId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"from": {
"type": "string",
"const": "text"
},
"description": {
"type": "string",
"minLength": 20,
"maxLength": 1000
}
},
"required": [
"from",
"description"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "edit"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"template_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"template_id"
]
},
{
"type": "object",
"properties": {
"instruction": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"look": {
"type": "object",
"properties": {
"title": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"body": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
}
},
"required": [
"title",
"body"
],
"additionalProperties": false
},
"words": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"body": {
"type": "string"
},
"slide": {
"type": "integer",
"minimum": 0
}
},
"required": [
"title",
"body",
"slide"
],
"additionalProperties": false
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "save"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"template_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"template_id"
]
},
{
"type": "object",
"properties": {
"look": {
"type": "object",
"properties": {
"title": {
"anyOf": [
{
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"body": {
"type": "object",
"properties": {
"background": {
"type": "string",
"enum": [
"box_light",
"box_dark",
"outline",
"none"
]
},
"position": {
"type": "string",
"enum": [
"top",
"middle",
"lower"
]
},
"centerY": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"left": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"right": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"size": {
"type": "integer",
"minimum": 12,
"maximum": 48
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"textCase": {
"type": "string",
"enum": [
"lower",
"sentence",
"upper"
]
},
"textColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"backgroundColor": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
}
},
"required": [
"background",
"position",
"textCase"
],
"additionalProperties": false
}
},
"required": [
"title",
"body"
],
"additionalProperties": false
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 60
}
},
"required": [
"look",
"name"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
},
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "delete"
}
},
"required": [
"action"
]
},
{
"type": "object",
"properties": {
"template_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"template_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, platform, externalUrl, handle, title, hookText, hookPattern, nicheIds, sourceKind, addedAt, videoUrl, views, likes, postedAt, coverUrl, slideUrls, curated, own.
{
"id": "11111111-1111-4111-8111-111111111111",
"platform": "tiktok",
"externalUrl": "Example",
"handle": "Example",
"postedAt": "Example",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"externalUrl": {
"type": "string"
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hookText": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hookPattern": {
"type": "string"
},
"nicheIds": {
"type": "array",
"items": {
"type": "string",
"enum": [
"health_fitness",
"beauty_skincare",
"fashion_style",
"food_cooking",
"travel",
"personal_finance",
"business_marketing",
"tech_software",
"gaming",
"home_lifestyle",
"parenting_family",
"education_self_improvement",
"entertainment_music",
"sports_outdoors",
"pets_animals",
"real_estate"
]
}
},
"sourceKind": {
"type": "string",
"enum": [
"slideshow",
"video"
]
},
"addedAt": {
"type": "string"
},
"videoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"views": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slideUrls": {
"type": "array",
"items": {
"type": "string"
}
},
"curated": {
"anyOf": [
{
"type": "object",
"properties": {
"saves": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"followers": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nickname": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sells": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"saves",
"followers",
"nickname",
"sells"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"own": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"platform",
"externalUrl",
"handle",
"title",
"hookText",
"hookPattern",
"nicheIds",
"sourceKind",
"addedAt",
"videoUrl",
"views",
"likes",
"postedAt",
"coverUrl",
"slideUrls",
"curated",
"own",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_turbo_deckRead
Read the Turbo deck: the draft posts waiting for a keep or skip, and today's swipe counters.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: deck, counters, generating, neverGenerated, progress, firstBatchStage, openingShootFailed.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"deck": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"idx": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"trackType": {
"type": "string",
"enum": [
"visual",
"text",
"audio"
]
},
"trackIndex": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineStartMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineDurationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageBrief": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6,
"default": null
},
{
"type": "null"
}
]
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
],
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"default": null
},
{
"type": "null"
}
]
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
],
"default": null
},
{
"type": "null"
}
]
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"photoAdjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"layoutCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"overlayImages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.08,
"maximum": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"x",
"y",
"width",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"layerFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"y": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"overlayMotion": {
"anyOf": [
{
"type": "object",
"properties": {
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"entrance",
"exit"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"opacity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"volume": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"muted": {
"type": "boolean"
},
"imageIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"persona",
"lifestyle"
]
},
{
"type": "null"
}
]
},
"trimInMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"trimOutMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"keyColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keySimilarity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"keyBlend": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"mediaKind": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"idx",
"trackType",
"trackIndex",
"timelineStartMs",
"timelineDurationMs",
"label",
"imageBrief",
"mediaId",
"overlayBoxes",
"mediaFrame",
"photoAdjust",
"layout",
"layoutCells",
"overlayImages",
"layerFrame",
"overlayMotion",
"opacity",
"volume",
"muted",
"imageIntent",
"trimInMs",
"trimOutMs",
"keyColor",
"keySimilarity",
"keyBlend",
"createdAt",
"url",
"sourceDurationMs",
"mediaKind",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"renderStale": {
"type": "boolean"
},
"remixedFrom": {
"anyOf": [
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"lane": {
"type": "string",
"enum": [
"niche",
"format_borrow",
"cultural"
]
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"videoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"whyItFits": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"views": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"url"
],
"additionalProperties": false
}
}
},
"required": [
"url",
"lane",
"title",
"handle",
"coverUrl",
"videoUrl",
"whyItFits",
"views",
"likes",
"slides"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"tunedToYou": {
"anyOf": [
{
"type": "object",
"properties": {
"round": {
"type": "integer"
},
"swipes": {
"type": "integer"
},
"changes": {
"type": "array",
"items": {
"type": "string",
"enum": [
"sell_less",
"sell_more",
"format_slideshow",
"format_wall_of_text",
"original",
"closer_source",
"product"
]
}
}
},
"required": [
"round",
"swipes",
"changes"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"slides",
"renderedUrl",
"renderedDurationMs",
"renderStale",
"remixedFrom",
"tunedToYou"
],
"additionalProperties": false
}
},
"counters": {
"type": "object",
"properties": {
"used": {
"type": "integer"
},
"saved": {
"type": "integer"
},
"allowance": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"locked": {
"type": "boolean"
},
"renewsDaily": {
"type": "boolean"
}
},
"required": [
"used",
"saved",
"allowance",
"remaining",
"locked",
"renewsDaily"
],
"additionalProperties": false
},
"generating": {
"type": "boolean"
},
"neverGenerated": {
"type": "boolean"
},
"progress": {
"anyOf": [
{
"type": "object",
"properties": {
"ready": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"ready",
"total"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"firstBatchStage": {
"type": "string",
"enum": [
"none",
"blocked_brand",
"preparing_openers",
"ready_for_openers",
"ready_for_fill",
"building_fill",
"complete"
]
},
"openingShootFailed": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"deck",
"counters",
"generating",
"neverGenerated",
"progress",
"firstBatchStage",
"openingShootFailed",
"workspaceId",
"brandName"
],
"additionalProperties": true
}swipe_turbo_cardWrite
Keep (direction=right) or skip (direction=left) a Turbo draft. Keeping approves it and books it in the lineup for the soonest open time. Uses one swipe from today's allowance; out_of_swipes means it is used up. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
contentItemId | Yes | uuid |
direction | Yes | "left" | "right" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"contentItemId": "11111111-1111-4111-8111-111111111111",
"direction": "left",
"idempotency_key": "swipe_turbo_card-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"contentItemId": {
"type": "string",
"format": "uuid"
},
"direction": {
"type": "string",
"enum": [
"left",
"right"
]
}
},
"required": [
"contentItemId",
"direction"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: used, saved, allowance, remaining, locked, renewsDaily, contentItemId, status, duplicate, lineup.
{
"saved": 0,
"contentItemId": "11111111-1111-4111-8111-111111111111",
"status": "draft",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"used": {
"type": "integer"
},
"saved": {
"type": "integer"
},
"allowance": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"locked": {
"type": "boolean"
},
"renewsDaily": {
"type": "boolean"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"duplicate": {
"type": "boolean"
},
"lineup": {
"anyOf": [
{
"type": "object",
"properties": {
"runAt": {
"type": "string",
"format": "date-time"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"booked": {
"type": "boolean"
},
"scheduledPostId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
}
},
"required": [
"runAt",
"accountId",
"booked",
"scheduledPostId"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"used",
"saved",
"allowance",
"remaining",
"locked",
"renewsDaily",
"contentItemId",
"status",
"duplicate",
"lineup",
"workspaceId",
"brandName"
],
"additionalProperties": true
}undo_turbo_swipeWrite
Put a kept or skipped card back in the Turbo deck and refund the swipe. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
contentItemId | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"contentItemId": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "undo_turbo_swipe-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"contentItemId": {
"type": "string",
"format": "uuid"
}
},
"required": [
"contentItemId"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: used, saved, allowance, remaining, locked, renewsDaily, contentItemId, status, duplicate, lineup.
{
"saved": 0,
"contentItemId": "11111111-1111-4111-8111-111111111111",
"status": "draft",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"used": {
"type": "integer"
},
"saved": {
"type": "integer"
},
"allowance": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"remaining": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"locked": {
"type": "boolean"
},
"renewsDaily": {
"type": "boolean"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"duplicate": {
"type": "boolean"
},
"lineup": {
"anyOf": [
{
"type": "object",
"properties": {
"runAt": {
"type": "string",
"format": "date-time"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"booked": {
"type": "boolean"
},
"scheduledPostId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
}
},
"required": [
"runAt",
"accountId",
"booked",
"scheduledPostId"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"used",
"saved",
"allowance",
"remaining",
"locked",
"renewsDaily",
"contentItemId",
"status",
"duplicate",
"lineup",
"workspaceId",
"brandName"
],
"additionalProperties": true
}generate_turbo_cardsWrite
Make new Turbo cards from the Turbo settings and the brand's angles: the way to make several varied posts in one call (count sets how many). Turbo writes them from the brand's angles and the Library's photos, which is why they cost less than create_content with fresh photos. Cards land in the Turbo deck for the user to keep or skip; nothing is posted or scheduled. A manual batch costs 15 credits and adds swipes; trendIds makes remixes of those Discover trends at the per-card price (optionally with angles and a format). Video formats are charged per second. quoteOnly=true returns the price without making anything; quote first and confirm the cost. Returns jobIds; use get_job on each.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
count | No / conditional | integerminimum: 1maximum: 100 |
quoteOnly | No / conditional | boolean |
moreIdeas | No / conditional | boolean |
targetAccountId | No / conditional | uuid |
trendIds | No / conditional | arrayminItems: 1maxItems: 100 |
angles | No / conditional | arrayminItems: 1maxItems: 8 |
format | No / conditional | "slideshow" | "wall_of_text" | "video" | "green_screen" | "hook_demo" | "talking_head" | "photo_reel" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "generate_turbo_cards-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"count": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "How many cards. Absent uses the batch size in the Turbo settings. The mix of formats follows the settings and what the workspace can make; quoteOnly shows it."
},
"quoteOnly": {
"type": "boolean",
"description": "Return the price and format mix without making anything."
},
"moreIdeas": {
"type": "boolean",
"description": "Replace the deck's unreviewed cards with this new batch. Not with trendIds."
},
"targetAccountId": {
"type": "string",
"format": "uuid",
"description": "The account from list_accounts the cards are written for."
},
"trendIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"minItems": 1,
"maxItems": 100,
"description": "Remix exactly these Discover trends (list_discover) instead of a normal batch; count is ignored."
},
"angles": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"minItems": 1,
"maxItems": 8,
"description": "With exactly one trendId: one card per angle, the brand's take on that trend. Refused otherwise."
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
],
"description": "With exactly one trendId: make the remix in this format. Refused otherwise."
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: requested, enqueued, jobIds, composition, creditCost, note.
{
"creditCost": 0,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"requested": {
"type": "integer"
},
"enqueued": {
"type": "integer"
},
"jobIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"composition": {
"type": "object",
"required": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
],
"properties": {
"slideshow": {
"type": "integer"
},
"wall_of_text": {
"type": "integer"
},
"video": {
"type": "integer"
},
"green_screen": {
"type": "integer"
},
"hook_demo": {
"type": "integer"
},
"talking_head": {
"type": "integer"
},
"photo_reel": {
"type": "integer"
}
},
"additionalProperties": false
},
"creditCost": {
"type": "integer",
"minimum": 0
},
"note": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"requested",
"enqueued",
"jobIds",
"composition",
"creditCost",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_turbo_settingsRead
Read the Turbo settings: content mix, remix ratio, influencer frequency, own-photo and product mixes, sell style, text style, batch size and target account.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, targetAccountId, openingSourceId, contentMixSlideshow, contentMixWallOfText, contentMixGreenScreen, remixRatio, influencerFrequency, sellMixNone, sellMixSoft, sellMixHard, ownMediaMix, libraryKeywords, productForwardMix, sourcedMix, textStyle, styleTemplateId, styleOverrides, brandStyleOfferedAt, batchSize, lastRefillDay, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"openingSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"contentMixSlideshow": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"contentMixWallOfText": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"contentMixGreenScreen": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"remixRatio": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"influencerFrequency": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"sellMixNone": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"sellMixSoft": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"sellMixHard": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"ownMediaMix": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"libraryKeywords": {
"type": "array",
"items": {
"type": "string"
}
},
"productForwardMix": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"sourcedMix": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"textStyle": {
"type": "string",
"enum": [
"auto",
"custom",
"highlighted",
"outlined",
"night",
"mint",
"lavender",
"sky",
"acid",
"boxed",
"clean",
"editorial",
"gold",
"stacked",
"neon",
"pastel",
"marker",
"script",
"quiet",
"engraved",
"blush",
"screenshot"
]
},
"styleTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"styleOverrides": {
"anyOf": [
{
"type": "object",
"properties": {
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"brandStyleOfferedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"batchSize": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"lastRefillDay": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"targetAccountId",
"openingSourceId",
"contentMixSlideshow",
"contentMixWallOfText",
"contentMixGreenScreen",
"remixRatio",
"influencerFrequency",
"sellMixNone",
"sellMixSoft",
"sellMixHard",
"ownMediaMix",
"libraryKeywords",
"productForwardMix",
"sourcedMix",
"textStyle",
"styleTemplateId",
"styleOverrides",
"brandStyleOfferedAt",
"batchSize",
"lastRefillDay",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_turbo_settingsWrite
Change Turbo settings; only the fields passed change. Mixes are percentages 0 to 100. Changing the own-photo mix or Library keywords re-picks photos on cards already in the deck. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
targetAccountId | No / conditional | uuid | null |
openingSourceId | No / conditional | uuid | null |
contentMixSlideshow | No / conditional | integerminimum: 0maximum: 100 |
contentMixWallOfText | No / conditional | integerminimum: 0maximum: 100 |
contentMixGreenScreen | No / conditional | integerminimum: 0maximum: 100 |
remixRatio | No / conditional | integerminimum: 0maximum: 100 |
influencerFrequency | No / conditional | integerminimum: 0maximum: 100 |
sellMixNone | No / conditional | integerminimum: 0maximum: 100 |
sellMixSoft | No / conditional | integerminimum: 0maximum: 100 |
sellMixHard | No / conditional | integerminimum: 0maximum: 100 |
ownMediaMix | No / conditional | integerminimum: 0maximum: 100 |
libraryKeywords | No / conditional | arraymaxItems: 24 |
productForwardMix | No / conditional | integerminimum: 0maximum: 100 |
sourcedMix | No / conditional | integerminimum: 0maximum: 100 |
textStyle | No / conditional | "auto" | "highlighted" | "outlined" | "night" | "mint" | "lavender" | "sky" | "acid" | "boxed" | "clean" | "editorial" | "gold" | "stacked" | "neon" | "pastel" | "marker" | "script" | "quiet" | "engraved" | "blush" | "screenshot" |
batchSize | No / conditional | integerminimum: 5maximum: 20 |
lastRefillDay | No / conditional | string | null |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "update_turbo_settings-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"openingSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"contentMixSlideshow": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"contentMixWallOfText": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"contentMixGreenScreen": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"remixRatio": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"influencerFrequency": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"sellMixNone": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"sellMixSoft": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"sellMixHard": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"ownMediaMix": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"libraryKeywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"maxItems": 24
},
"productForwardMix": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"sourcedMix": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"textStyle": {
"type": "string",
"enum": [
"auto",
"highlighted",
"outlined",
"night",
"mint",
"lavender",
"sky",
"acid",
"boxed",
"clean",
"editorial",
"gold",
"stacked",
"neon",
"pastel",
"marker",
"script",
"quiet",
"engraved",
"blush",
"screenshot"
]
},
"batchSize": {
"type": "integer",
"minimum": 5,
"maximum": 20
},
"lastRefillDay": {
"type": [
"string",
"null"
]
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, targetAccountId, openingSourceId, contentMixSlideshow, contentMixWallOfText, contentMixGreenScreen, remixRatio, influencerFrequency, sellMixNone, sellMixSoft, sellMixHard, ownMediaMix, libraryKeywords, productForwardMix, sourcedMix, textStyle, styleTemplateId, styleOverrides, brandStyleOfferedAt, batchSize, lastRefillDay, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"openingSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"contentMixSlideshow": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"contentMixWallOfText": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"contentMixGreenScreen": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"remixRatio": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"influencerFrequency": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"sellMixNone": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"sellMixSoft": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"sellMixHard": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"ownMediaMix": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"libraryKeywords": {
"type": "array",
"items": {
"type": "string"
}
},
"productForwardMix": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"sourcedMix": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"textStyle": {
"type": "string",
"enum": [
"auto",
"custom",
"highlighted",
"outlined",
"night",
"mint",
"lavender",
"sky",
"acid",
"boxed",
"clean",
"editorial",
"gold",
"stacked",
"neon",
"pastel",
"marker",
"script",
"quiet",
"engraved",
"blush",
"screenshot"
]
},
"styleTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"styleOverrides": {
"anyOf": [
{
"type": "object",
"properties": {
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"color": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"brandStyleOfferedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"batchSize": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"lastRefillDay": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"targetAccountId",
"openingSourceId",
"contentMixSlideshow",
"contentMixWallOfText",
"contentMixGreenScreen",
"remixRatio",
"influencerFrequency",
"sellMixNone",
"sellMixSoft",
"sellMixHard",
"ownMediaMix",
"libraryKeywords",
"productForwardMix",
"sourcedMix",
"textStyle",
"styleTemplateId",
"styleOverrides",
"brandStyleOfferedAt",
"batchSize",
"lastRefillDay",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_photo_setsRead
List the brand's photo sets, including imported Pinterest boards.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"custom",
"pinterest"
]
},
"boardUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"ready",
"importing",
"failed"
]
},
"lastError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refreshedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"itemCount": {
"type": "integer",
"minimum": 0
},
"coverUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4
}
},
"required": [
"id",
"workspaceId",
"name",
"source",
"boardUrl",
"status",
"lastError",
"refreshedAt",
"createdAt",
"updatedAt",
"itemCount",
"coverUrls"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_photo_setRead
Read one photo set with its photos.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
set_id | Yes | uuid |
Input example
{
"set_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"set_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"set_id"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, name, source, boardUrl, status, lastError, refreshedAt, createdAt, updatedAt, itemCount, coverUrls, items.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"status": "ready",
"items": [],
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"custom",
"pinterest"
]
},
"boardUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"ready",
"importing",
"failed"
]
},
"lastError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refreshedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"itemCount": {
"type": "integer",
"minimum": 0
},
"coverUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"kind": {
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
"source": {
"type": "string",
"enum": [
"generated",
"uploaded",
"pinterest",
"crawled",
"seed",
"site",
"social"
]
},
"purpose": {
"type": "string",
"enum": [
"general",
"identity_reference",
"product_demo",
"meme_template",
"feedback",
"remix_source",
"curated",
"music_cue",
"post_upload",
"chat_attachment",
"post_render",
"ready_made_hook",
"filmed_phone"
]
},
"storagePath": {
"type": "string"
},
"mimeType": {
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"durationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"isAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"provenClaims": {
"type": "array",
"items": {
"type": "string"
}
},
"reviewedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"unusableAs": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"shared": {
"type": "boolean"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"workspaceId",
"kind",
"source",
"purpose",
"storagePath",
"mimeType",
"width",
"height",
"durationMs",
"isAiGenerated",
"influencerId",
"description",
"tags",
"provenClaims",
"reviewedAt",
"unusableAs",
"createdAt",
"title",
"shared",
"url"
],
"additionalProperties": false
}
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"name",
"source",
"boardUrl",
"status",
"lastError",
"refreshedAt",
"createdAt",
"updatedAt",
"itemCount",
"coverUrls",
"items",
"workspaceId",
"brandName"
],
"additionalProperties": true
}create_photo_setWrite
Make an empty photo set. Add photos by uploading with complete_media_upload. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
name | Yes | stringminLength: 1maxLength: 80 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"name": "Example",
"idempotency_key": "create_photo_set-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"name"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: set, jobId.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"set": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"custom",
"pinterest"
]
},
"boardUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"ready",
"importing",
"failed"
]
},
"lastError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refreshedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"itemCount": {
"type": "integer",
"minimum": 0
},
"coverUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4
}
},
"required": [
"id",
"workspaceId",
"name",
"source",
"boardUrl",
"status",
"lastError",
"refreshedAt",
"createdAt",
"updatedAt",
"itemCount",
"coverUrls"
],
"additionalProperties": false
},
"jobId": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"set",
"workspaceId",
"brandName"
],
"additionalProperties": true
}import_pinterest_boardWrite
Import a Pinterest board as a photo set. Returns a jobId for get_job. refresh_photo_set imports it again later. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
name | Yes | stringminLength: 1maxLength: 80 |
boardUrl | Yes | urimaxLength: 2000 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"name": "Example",
"boardUrl": "https://example.com/file",
"idempotency_key": "import_pinterest_board-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"boardUrl": {
"type": "string",
"format": "uri",
"maxLength": 2000
}
},
"required": [
"name",
"boardUrl"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: set, jobId.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"set": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"source": {
"type": "string",
"enum": [
"custom",
"pinterest"
]
},
"boardUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"ready",
"importing",
"failed"
]
},
"lastError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"refreshedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"itemCount": {
"type": "integer",
"minimum": 0
},
"coverUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4
}
},
"required": [
"id",
"workspaceId",
"name",
"source",
"boardUrl",
"status",
"lastError",
"refreshedAt",
"createdAt",
"updatedAt",
"itemCount",
"coverUrls"
],
"additionalProperties": false
},
"jobId": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"set",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_library_categoriesRead
List the photo categories in Amplify's curated Library, ranked for the brand's niche. Browse them with list_media source filters.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
limit | No / conditional | integerminimum: 1maximum: 23 |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 23
}
}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"count": {
"type": "integer"
},
"url": {
"type": "string"
}
},
"required": [
"key",
"label",
"count",
"url"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}borrow_curated_photoWrite
Copy a curated Library photo into the brand's own media so a slide can use it. Returns the brand's media row; repeating returns the same one. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
media_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"media_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "borrow_curated_photo-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"media_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"media_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, kind, source, purpose, storagePath, mimeType, width, height, durationMs, isAiGenerated, influencerId, description, tags, provenClaims, reviewedAt, unusableAs, createdAt, title, shared, url.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"storagePath": "Example",
"url": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
"source": {
"type": "string",
"enum": [
"generated",
"uploaded",
"pinterest",
"crawled",
"seed",
"site",
"social"
]
},
"purpose": {
"type": "string",
"enum": [
"general",
"identity_reference",
"product_demo",
"meme_template",
"feedback",
"remix_source",
"curated",
"music_cue",
"post_upload",
"chat_attachment",
"post_render",
"ready_made_hook",
"filmed_phone"
]
},
"storagePath": {
"type": "string"
},
"mimeType": {
"type": "string"
},
"width": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"durationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"isAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"provenClaims": {
"type": "array",
"items": {
"type": "string"
}
},
"reviewedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"unusableAs": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"shared": {
"type": "boolean"
},
"url": {
"type": "string"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"kind",
"source",
"purpose",
"storagePath",
"mimeType",
"width",
"height",
"durationMs",
"isAiGenerated",
"influencerId",
"description",
"tags",
"provenClaims",
"reviewedAt",
"unusableAs",
"createdAt",
"title",
"shared",
"url",
"workspaceId",
"brandName"
],
"additionalProperties": true
}approve_contentWrite
Save a draft or shortlisted post to the Library as approved (trigger="save", intentSource="explicit"). Approving again does nothing. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
content_id | Yes | uuid |
trigger | Yes | "save" | "multiply" |
intentSource | Yes | "explicit" | "remembered" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"content_id": "11111111-1111-4111-8111-111111111111",
"trigger": "save",
"intentSource": "explicit",
"idempotency_key": "approve_content-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"content_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"content_id"
]
},
{
"type": "object",
"properties": {
"trigger": {
"type": "string",
"enum": [
"save",
"multiply"
]
},
"intentSource": {
"type": "string",
"enum": [
"explicit",
"remembered"
]
}
},
"required": [
"trigger",
"intentSource"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, targetAccountId, remixedFromId, remixSourceUrl, remixSkeletonId, tweakedFromId, savedTemplateId, format, origin, generationSource, status, purpose, sellStyle, aspect, caption, soundTiktokUrl, soundInstagramUrl, hashtags, angle, seed, learningContext, turboDeckRank, turboAutoDiscardedAt, renderedMediaId, renderedNoMusicMediaId, audioOrigin, ownAudio, timelineRev, renderedRev, renderStatus, renderError, editsMediaId, clipRequestedRev, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"status": "draft",
"caption": "Example",
"renderStatus": "idle",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_lineupRead
List kept posts waiting for a publishing time, soonest first.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slotAt": {
"type": "string",
"format": "date-time"
},
"runDay": {
"type": "string"
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"contentItemId",
"accountId",
"platform",
"handle",
"slotAt",
"runDay",
"format",
"coverUrl",
"renderedUrl"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_commentsRead
Read the comment inbox: filter needs_reply (default), replied or all, optionally for one account. Not found means comments are not on for this workspace.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
filter | No / conditional | "needs_reply" | "replied" | "all"default: "needs_reply" |
accountId | No / conditional | uuid |
cursor | No / conditional | stringmaxLength: 200 |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"filter": {
"type": "string",
"enum": [
"needs_reply",
"replied",
"all"
],
"default": "needs_reply"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"cursor": {
"type": "string",
"maxLength": 200
}
}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: comments, nextCursor.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"comments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"scheduledPostId": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"accountHandle": {
"type": "string"
},
"postCaption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"postUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"authorHandle": {
"type": "string"
},
"authorDisplayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
"likeCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"commentedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"firstSeenAt": {
"type": "string",
"format": "date-time"
},
"gone": {
"type": "boolean"
},
"postGone": {
"type": "boolean"
},
"read": {
"type": "boolean"
},
"replies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"authorHandle": {
"type": "string"
},
"text": {
"type": "string"
},
"commentedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"isOwn": {
"type": "boolean"
}
},
"required": [
"id",
"authorHandle",
"text",
"commentedAt",
"isOwn"
],
"additionalProperties": false
}
},
"myReply": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"text": {
"type": "string"
},
"postedText": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"generated",
"generated_edited",
"custom"
]
},
"status": {
"type": "string",
"enum": [
"queued",
"posting",
"posted",
"failed",
"canceled"
]
},
"failureCode": {
"anyOf": [
{
"type": "string",
"enum": [
"comment_gone",
"post_gone",
"typing_failed",
"account_unavailable",
"unknown"
]
},
{
"type": "null"
}
]
},
"sendAfter": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"text",
"postedText",
"source",
"status",
"failureCode",
"sendAfter",
"postedAt",
"createdAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"maxReplyChars": {
"type": "integer"
}
},
"required": [
"id",
"scheduledPostId",
"platform",
"accountHandle",
"postCaption",
"postUrl",
"authorHandle",
"authorDisplayName",
"text",
"likeCount",
"commentedAt",
"firstSeenAt",
"gone",
"postGone",
"read",
"replies",
"myReply",
"maxReplyChars"
],
"additionalProperties": false
}
},
"nextCursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"comments",
"nextCursor",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_post_commentsRead
Read the comments on one posted post.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
post_id | Yes | uuid |
Input example
{
"post_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"post_id"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: comments, availability, lastCheckedAt, checking, refreshAvailableAt.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"comments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"scheduledPostId": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"accountHandle": {
"type": "string"
},
"postCaption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"postUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"authorHandle": {
"type": "string"
},
"authorDisplayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
"likeCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"commentedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"firstSeenAt": {
"type": "string",
"format": "date-time"
},
"gone": {
"type": "boolean"
},
"postGone": {
"type": "boolean"
},
"read": {
"type": "boolean"
},
"replies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"authorHandle": {
"type": "string"
},
"text": {
"type": "string"
},
"commentedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"isOwn": {
"type": "boolean"
}
},
"required": [
"id",
"authorHandle",
"text",
"commentedAt",
"isOwn"
],
"additionalProperties": false
}
},
"myReply": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"text": {
"type": "string"
},
"postedText": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"source": {
"type": "string",
"enum": [
"generated",
"generated_edited",
"custom"
]
},
"status": {
"type": "string",
"enum": [
"queued",
"posting",
"posted",
"failed",
"canceled"
]
},
"failureCode": {
"anyOf": [
{
"type": "string",
"enum": [
"comment_gone",
"post_gone",
"typing_failed",
"account_unavailable",
"unknown"
]
},
{
"type": "null"
}
]
},
"sendAfter": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"text",
"postedText",
"source",
"status",
"failureCode",
"sendAfter",
"postedAt",
"createdAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"maxReplyChars": {
"type": "integer"
}
},
"required": [
"id",
"scheduledPostId",
"platform",
"accountHandle",
"postCaption",
"postUrl",
"authorHandle",
"authorDisplayName",
"text",
"likeCount",
"commentedAt",
"firstSeenAt",
"gone",
"postGone",
"read",
"replies",
"myReply",
"maxReplyChars"
],
"additionalProperties": false
}
},
"availability": {
"type": "string",
"enum": [
"available",
"unsupported",
"gone"
]
},
"lastCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"checking": {
"type": "boolean"
},
"refreshAvailableAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"comments",
"availability",
"lastCheckedAt",
"checking",
"refreshAvailableAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}refresh_post_commentsWrite
Ask for a fresh read of a post's comments. Once an hour per post; read get_post_comments later. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
post_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"post_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "refresh_post_comments-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"post_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: queued, reused.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"queued": {
"type": "boolean",
"enum": [
true
]
},
"reused": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"queued",
"reused",
"workspaceId",
"brandName"
],
"additionalProperties": true
}draft_comment_replyWrite
Write a reply to a comment in the brand's voice, or a reason to skip it. Nothing is sent; send it with reply_to_comment (source=generated, or generated_edited if changed). Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
comment_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"comment_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "draft_comment_reply-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"comment_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"comment_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: kind, text, reason.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"reply"
]
},
"text": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"kind",
"text",
"workspaceId",
"brandName"
],
"additionalProperties": true
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"skip"
]
},
"reason": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"kind",
"reason",
"workspaceId",
"brandName"
],
"additionalProperties": true
}
]
}reply_to_commentWrite
Queue a reply to a comment; it posts from the account shortly after (sendAfter). source is generated, generated_edited or custom. Take it back with delete_comment_reply before it goes. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
comment_id | Yes | uuid |
text | Yes | stringminLength: 1maxLength: 2200 |
source | Yes | "generated" | "generated_edited" | "custom" |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"comment_id": "11111111-1111-4111-8111-111111111111",
"text": "Example",
"source": "generated",
"idempotency_key": "reply_to_comment-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"comment_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"comment_id"
]
},
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2200
},
"source": {
"type": "string",
"enum": [
"generated",
"generated_edited",
"custom"
]
}
},
"required": [
"text",
"source"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: replyId, sendAfter.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"replyId": {
"type": "string",
"format": "uuid"
},
"sendAfter": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"replyId",
"sendAfter",
"workspaceId",
"brandName"
],
"additionalProperties": true
}delete_comment_replyWrite
Take back a queued reply before it is sent (reply_id, confirm=true). Too late once it is being posted.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
reply_id | Yes | uuid |
confirm | Yes | true |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"reply_id": "11111111-1111-4111-8111-111111111111",
"confirm": true,
"idempotency_key": "delete_comment_reply-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"reply_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"reply_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: ok.
{
"ok": true,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"ok",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_researchRead
Read the brand's research: FAQs, pain points and viral topics.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: pack.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"pack": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"failed"
]
},
"niche": {
"type": "string"
},
"faqs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string"
},
"why": {
"type": "string"
}
},
"required": [
"question",
"why"
],
"additionalProperties": false
}
},
"painPoints": {
"type": "array",
"items": {
"type": "string"
}
},
"viralTopics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"topic": {
"type": "string"
},
"why": {
"type": "string"
}
},
"required": [
"topic",
"why"
],
"additionalProperties": false
}
},
"hooks": {
"type": "array",
"items": {
"type": "string"
}
},
"formats": {
"type": "array",
"items": {
"type": "string"
}
},
"generatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"status",
"niche",
"faqs",
"painPoints",
"viralTopics",
"hooks",
"formats",
"generatedAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"pack",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_researchWrite
Replace the brand's FAQs, pain points and viral topics. Read get_research first and keep what the user did not change. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
faqs | Yes | array |
painPoints | Yes | array |
viralTopics | Yes | array |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"faqs": [],
"painPoints": [],
"viralTopics": [],
"idempotency_key": "update_research-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"faqs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string"
},
"why": {
"type": "string"
}
},
"required": [
"question",
"why"
],
"additionalProperties": false
}
},
"painPoints": {
"type": "array",
"items": {
"type": "string"
}
},
"viralTopics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"topic": {
"type": "string"
},
"why": {
"type": "string"
}
},
"required": [
"topic",
"why"
],
"additionalProperties": false
}
}
},
"required": [
"faqs",
"painPoints",
"viralTopics"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: pack.
{
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"pack": {
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"pending",
"ready",
"failed"
]
},
"niche": {
"type": "string"
},
"faqs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string"
},
"why": {
"type": "string"
}
},
"required": [
"question",
"why"
],
"additionalProperties": false
}
},
"painPoints": {
"type": "array",
"items": {
"type": "string"
}
},
"viralTopics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"topic": {
"type": "string"
},
"why": {
"type": "string"
}
},
"required": [
"topic",
"why"
],
"additionalProperties": false
}
},
"hooks": {
"type": "array",
"items": {
"type": "string"
}
},
"formats": {
"type": "array",
"items": {
"type": "string"
}
},
"generatedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"status",
"niche",
"faqs",
"painPoints",
"viralTopics",
"hooks",
"formats",
"generatedAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"pack",
"workspaceId",
"brandName"
],
"additionalProperties": true
}refresh_researchWrite
Research the brand's niche again in the background. Costs 20 credits; free when one is already running. Needs a niche (update_workspace) and a paid plan. Read get_research later.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "refresh_research-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: ok.
{
"ok": true,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"ok",
"workspaceId",
"brandName"
],
"additionalProperties": true
}create_workspaceWrite
Add another brand workspace. The plan's included brands are free; each extra one costs 300 credits a month, so confirm with the user first. Needs a paid plan.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "create_workspace-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, name, access.
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"access": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"name",
"access",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_workspaceWrite
Change the brand's niches, niche label, role, goals, or whether it helps Amplify learn across brands. Free.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
niches | No / conditional | arrayminItems: 1maxItems: 5 |
nicheLabel | No / conditional | stringminLength: 1maxLength: 120 |
contributesToGlobalLearning | No / conditional | boolean |
role | No / conditional | "founder" | "marketer" | "agency" | "creator" | "freelancer" | "other" |
goals | No / conditional | arrayminItems: 1 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"idempotency_key": "update_workspace-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"niches": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"minItems": 1,
"maxItems": 5
},
"nicheLabel": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"contributesToGlobalLearning": {
"type": "boolean"
},
"role": {
"type": "string",
"enum": [
"founder",
"marketer",
"agency",
"creator",
"freelancer",
"other"
]
},
"goals": {
"type": "array",
"items": {
"type": "string",
"enum": [
"drive_sales",
"grow_audience",
"get_leads",
"build_brand",
"promote_launch"
]
},
"minItems": 1
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, name, onboardedAt, planOfferedAt, niches, nicheLabel, nicheCategory, nicheSubcategory, contributesToGlobalLearning, role, goals, website, access, openingShoot, firstPostArm.
{
"id": "11111111-1111-4111-8111-111111111111",
"name": "Example",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"onboardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"planOfferedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"niches": {
"type": "array",
"items": {
"type": "string"
}
},
"nicheLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nicheCategory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"nicheSubcategory": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"contributesToGlobalLearning": {
"type": "boolean"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"goals": {
"type": "array",
"items": {
"type": "string"
}
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"access": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"openingShoot": {
"type": "string",
"enum": [
"pending",
"failed",
"ready"
]
},
"firstPostArm": {
"anyOf": [
{
"type": "string",
"enum": [
"control",
"treatment"
]
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"name",
"onboardedAt",
"planOfferedAt",
"niches",
"nicheLabel",
"nicheCategory",
"nicheSubcategory",
"contributesToGlobalLearning",
"role",
"goals",
"website",
"access",
"openingShoot",
"firstPostArm",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_billing_summaryRead
Read the plan, its status and billing interval, the credit balance, and which credits expire when.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: planId, planName, status, interval, creditBalance, expiringCredits, grantedCredits, creditGrants, currentPeriodEnd, cancelAt, billingAvailable, canManageBilling, canCancel, retentionOfferAvailable, retentionCreditCents.
{
"status": "Example",
"creditBalance": 0,
"canCancel": false,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"planId": {
"type": "string"
},
"planName": {
"type": "string"
},
"status": {
"type": "string"
},
"interval": {
"type": "string",
"enum": [
"monthly",
"yearly"
]
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"expiringCredits": {
"type": "integer"
},
"grantedCredits": {
"type": "integer"
},
"creditGrants": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"amount": {
"type": "integer"
},
"remaining": {
"type": "integer"
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"amount",
"remaining",
"expiresAt"
],
"additionalProperties": false
}
},
"currentPeriodEnd": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cancelAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"billingAvailable": {
"type": "boolean"
},
"canManageBilling": {
"type": "boolean"
},
"canCancel": {
"type": "boolean"
},
"retentionOfferAvailable": {
"type": "boolean"
},
"retentionCreditCents": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"planId",
"planName",
"status",
"interval",
"creditBalance",
"expiringCredits",
"grantedCredits",
"creditGrants",
"currentPeriodEnd",
"cancelAt",
"billingAvailable",
"canManageBilling",
"canCancel",
"retentionOfferAvailable",
"retentionCreditCents",
"workspaceId",
"brandName"
],
"additionalProperties": true
}Scheduling and publishing
schedule_postWrite
Schedule a private content item through an existing social account. This costs no credits and can be cancelled before posting; pass any renewalNote in the result on to the user.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
intentSource | No / conditional | "explicit" | "remembered" |
contentItemId | Yes | uuid |
accountId | Yes | uuid |
caption | No / conditional | string | null |
hashtags | No / conditional | array | null |
isPaidPartnership | No / conditional | boolean |
aiLabel | No / conditional | boolean |
mediaAiDeclarations | No / conditional | arraymaxItems: 20 |
when | Yes | string | string |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "33333333-3333-4333-8333-333333333333",
"when": "2026-10-15",
"idempotency_key": "schedule_post-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"intentSource": {
"type": "string",
"enum": [
"explicit",
"remembered"
]
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 2200
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "At most 5 are kept, in the order given. The brand's pinned hashtags publish first and count toward the 5."
},
"isPaidPartnership": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean",
"description": "Whether this post carries TikTok's AI label when it has AI-made media. Leave unset to follow the account's AI label setting. Set only when the user chooses."
},
"mediaAiDeclarations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"isAiGenerated": {
"type": "boolean"
}
},
"required": [
"mediaId",
"isAiGenerated"
],
"additionalProperties": false
},
"maxItems": 20
},
"when": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T([01]\\d|2[0-3]):[0-5]\\d$"
}
],
"description": "YYYY-MM-DD books the first of that day's peak posting times the account has room for; YYYY-MM-DDTHH:mm books that minute. Both are on the account's own clock, its timezone in list_accounts. One account takes at most 2 posts a day, at least 2 hours apart, and a warmed account's posts are booked at least 6 hours ahead."
}
},
"required": [
"contentItemId",
"accountId",
"when"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, contentItemId, accountId, status, purpose, publishJobId, runAt, postedAt, externalUrl, externalId, failureCode, failureMessage, autoMoves, movedAt, caption, hashtags, isAigc, isPaidPartnership, views, likes, comments, saves, metricsSyncedAt, metricsNextSyncAt, commentsFetchedAt, commentsCountAtFetch, commentsFetchStage, learningEligible, learningExclusionReason, reachState, reachCheckedAt, autopilot, autopilotReasons, autopilotTrialArm, privacy, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "33333333-3333-4333-8333-333333333333",
"status": "scheduled",
"postedAt": null,
"externalUrl": null,
"caption": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"posting",
"posted",
"awaiting_user_publish",
"failed",
"canceled",
"skipped"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test"
]
},
"publishJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"runAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"externalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autoMoves": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"movedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"isAigc": {
"type": "boolean"
},
"isPaidPartnership": {
"type": "boolean"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"metricsSyncedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"metricsNextSyncAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsFetchedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsCountAtFetch": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"commentsFetchStage": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"learningEligible": {
"type": "boolean"
},
"learningExclusionReason": {
"anyOf": [
{
"type": "string",
"enum": [
"paid_or_boosted",
"repost",
"unverified",
"manual",
"test",
"stalled"
]
},
{
"type": "null"
}
]
},
"reachState": {
"anyOf": [
{
"type": "string",
"enum": [
"not_distributed",
"private",
"gone",
"distributed"
]
},
{
"type": "null"
}
]
},
"reachCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilot": {
"type": "boolean"
},
"autopilotReasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"autopilotTrialArm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacy": {
"type": "string",
"enum": [
"public",
"private"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"accountId",
"status",
"purpose",
"publishJobId",
"runAt",
"postedAt",
"externalUrl",
"externalId",
"failureCode",
"failureMessage",
"autoMoves",
"movedAt",
"caption",
"hashtags",
"isAigc",
"isPaidPartnership",
"views",
"likes",
"comments",
"saves",
"metricsSyncedAt",
"metricsNextSyncAt",
"commentsFetchedAt",
"commentsCountAtFetch",
"commentsFetchStage",
"learningEligible",
"learningExclusionReason",
"reachState",
"reachCheckedAt",
"autopilot",
"autopilotReasons",
"autopilotTrialArm",
"privacy",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}reschedule_postWrite
Move a scheduled post to another day or time. This costs no credits; pass any renewalNote in the result on to the user.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
post_id | Yes | uuid |
when | Yes | string | string |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"post_id": "11111111-1111-4111-8111-111111111111",
"when": "2026-10-16",
"idempotency_key": "reschedule_post-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"format": "uuid"
},
"when": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T([01]\\d|2[0-3]):[0-5]\\d$"
}
],
"description": "YYYY-MM-DD books the first of that day's peak posting times the account has room for; YYYY-MM-DDTHH:mm books that minute. Both are on the account's own clock, its timezone in list_accounts. One account takes at most 2 posts a day, at least 2 hours apart, and a warmed account's posts are booked at least 6 hours ahead."
}
},
"required": [
"post_id",
"when"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, contentItemId, accountId, status, purpose, publishJobId, runAt, postedAt, externalUrl, externalId, failureCode, failureMessage, autoMoves, movedAt, caption, hashtags, isAigc, isPaidPartnership, views, likes, comments, saves, metricsSyncedAt, metricsNextSyncAt, commentsFetchedAt, commentsCountAtFetch, commentsFetchStage, learningEligible, learningExclusionReason, reachState, reachCheckedAt, autopilot, autopilotReasons, autopilotTrialArm, privacy, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "33333333-3333-4333-8333-333333333333",
"status": "scheduled",
"postedAt": null,
"externalUrl": null,
"caption": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"posting",
"posted",
"awaiting_user_publish",
"failed",
"canceled",
"skipped"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test"
]
},
"publishJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"runAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"externalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autoMoves": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"movedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"isAigc": {
"type": "boolean"
},
"isPaidPartnership": {
"type": "boolean"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"metricsSyncedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"metricsNextSyncAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsFetchedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsCountAtFetch": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"commentsFetchStage": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"learningEligible": {
"type": "boolean"
},
"learningExclusionReason": {
"anyOf": [
{
"type": "string",
"enum": [
"paid_or_boosted",
"repost",
"unverified",
"manual",
"test",
"stalled"
]
},
{
"type": "null"
}
]
},
"reachState": {
"anyOf": [
{
"type": "string",
"enum": [
"not_distributed",
"private",
"gone",
"distributed"
]
},
{
"type": "null"
}
]
},
"reachCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilot": {
"type": "boolean"
},
"autopilotReasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"autopilotTrialArm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacy": {
"type": "string",
"enum": [
"public",
"private"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"accountId",
"status",
"purpose",
"publishJobId",
"runAt",
"postedAt",
"externalUrl",
"externalId",
"failureCode",
"failureMessage",
"autoMoves",
"movedAt",
"caption",
"hashtags",
"isAigc",
"isPaidPartnership",
"views",
"likes",
"comments",
"saves",
"metricsSyncedAt",
"metricsNextSyncAt",
"commentsFetchedAt",
"commentsCountAtFetch",
"commentsFetchStage",
"learningEligible",
"learningExclusionReason",
"reachState",
"reachCheckedAt",
"autopilot",
"autopilotReasons",
"autopilotTrialArm",
"privacy",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}cancel_postWrite
Cancel a scheduled post before it reaches the public internet. This costs no credits.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
post_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"post_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "cancel_post-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"post_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, contentItemId, accountId, status, purpose, publishJobId, runAt, postedAt, externalUrl, externalId, failureCode, failureMessage, autoMoves, movedAt, caption, hashtags, isAigc, isPaidPartnership, views, likes, comments, saves, metricsSyncedAt, metricsNextSyncAt, commentsFetchedAt, commentsCountAtFetch, commentsFetchStage, learningEligible, learningExclusionReason, reachState, reachCheckedAt, autopilot, autopilotReasons, autopilotTrialArm, privacy, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "11111111-1111-4111-8111-111111111111",
"status": "canceled",
"postedAt": "2026-10-02T00:00:00.000Z",
"externalUrl": "Example",
"caption": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"posting",
"posted",
"awaiting_user_publish",
"failed",
"canceled",
"skipped"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test"
]
},
"publishJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"runAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"externalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autoMoves": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"movedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"isAigc": {
"type": "boolean"
},
"isPaidPartnership": {
"type": "boolean"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"metricsSyncedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"metricsNextSyncAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsFetchedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsCountAtFetch": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"commentsFetchStage": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"learningEligible": {
"type": "boolean"
},
"learningExclusionReason": {
"anyOf": [
{
"type": "string",
"enum": [
"paid_or_boosted",
"repost",
"unverified",
"manual",
"test",
"stalled"
]
},
{
"type": "null"
}
]
},
"reachState": {
"anyOf": [
{
"type": "string",
"enum": [
"not_distributed",
"private",
"gone",
"distributed"
]
},
{
"type": "null"
}
]
},
"reachCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilot": {
"type": "boolean"
},
"autopilotReasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"autopilotTrialArm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacy": {
"type": "string",
"enum": [
"public",
"private"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"accountId",
"status",
"purpose",
"publishJobId",
"runAt",
"postedAt",
"externalUrl",
"externalId",
"failureCode",
"failureMessage",
"autoMoves",
"movedAt",
"caption",
"hashtags",
"isAigc",
"isPaidPartnership",
"views",
"likes",
"comments",
"saves",
"metricsSyncedAt",
"metricsNextSyncAt",
"commentsFetchedAt",
"commentsCountAtFetch",
"commentsFetchStage",
"learningEligible",
"learningExclusionReason",
"reachState",
"reachCheckedAt",
"autopilot",
"autopilotReasons",
"autopilotTrialArm",
"privacy",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_calendarRead
Read scheduled posts for a month or date range.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
month | No / conditional | stringpattern: "^\\d{4}-\\d{2}$" |
from | No / conditional | date-time |
to | No / conditional | date-time |
Input example
{
"month": "2026-10"
}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"month": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}$"
},
"from": {
"type": "string",
"format": "date-time"
},
"to": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"posting",
"posted",
"awaiting_user_publish",
"failed",
"canceled",
"skipped"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test"
]
},
"publishJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"runAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"externalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autoMoves": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"movedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"isAigc": {
"type": "boolean"
},
"isPaidPartnership": {
"type": "boolean"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"metricsSyncedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"metricsNextSyncAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsFetchedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsCountAtFetch": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"commentsFetchStage": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"learningEligible": {
"type": "boolean"
},
"learningExclusionReason": {
"anyOf": [
{
"type": "string",
"enum": [
"paid_or_boosted",
"repost",
"unverified",
"manual",
"test",
"stalled"
]
},
{
"type": "null"
}
]
},
"reachState": {
"anyOf": [
{
"type": "string",
"enum": [
"not_distributed",
"private",
"gone",
"distributed"
]
},
{
"type": "null"
}
]
},
"reachCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilot": {
"type": "boolean"
},
"autopilotReasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"autopilotTrialArm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacy": {
"type": "string",
"enum": [
"public",
"private"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"runDay": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacyRequest": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"requested",
"hidden",
"already_private",
"failed",
"not_found"
]
},
"detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"requestedAt": {
"type": "string",
"format": "date-time"
},
"completedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"status",
"detail",
"requestedAt",
"completedAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"accountId",
"status",
"purpose",
"publishJobId",
"runAt",
"postedAt",
"externalUrl",
"externalId",
"failureCode",
"failureMessage",
"autoMoves",
"movedAt",
"caption",
"hashtags",
"isAigc",
"isPaidPartnership",
"views",
"likes",
"comments",
"saves",
"metricsSyncedAt",
"metricsNextSyncAt",
"commentsFetchedAt",
"commentsCountAtFetch",
"commentsFetchStage",
"learningEligible",
"learningExclusionReason",
"reachState",
"reachCheckedAt",
"autopilot",
"autopilotReasons",
"autopilotTrialArm",
"privacy",
"createdAt",
"updatedAt",
"platform",
"handle",
"kind",
"country",
"runDay",
"format",
"coverUrl",
"renderedUrl",
"privacyRequest"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_insightsRead
Read workspace performance and learning, optionally for one account.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
accountId | No / conditional | uuid |
Input example
{}Full input schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: sampleSize, minimumSampleSize, active, totals, lastWeek, perPlatform, perFormat, perAngle, topPosts, topFormat, topAngle, learning.
{
"sampleSize": 0,
"active": false,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"sampleSize": {
"type": "number"
},
"minimumSampleSize": {
"type": "number"
},
"active": {
"type": "boolean"
},
"totals": {
"type": "object",
"properties": {
"views": {
"type": "number"
},
"likes": {
"type": "number"
},
"comments": {
"type": "number"
},
"saves": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"views",
"likes",
"comments",
"saves"
],
"additionalProperties": false
},
"lastWeek": {
"type": "object",
"properties": {
"views": {
"type": "number"
},
"likes": {
"type": "number"
},
"comments": {
"type": "number"
},
"saves": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"views",
"likes",
"comments",
"saves"
],
"additionalProperties": false
},
"perPlatform": {
"type": "array",
"items": {
"type": "object",
"properties": {
"platform": {
"type": "string"
},
"posts": {
"type": "number"
},
"views": {
"type": "number"
},
"likes": {
"type": "number"
},
"comments": {
"type": "number"
},
"saves": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"platform",
"posts",
"views",
"likes",
"comments",
"saves"
],
"additionalProperties": false
}
},
"perFormat": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"posts": {
"type": "number"
},
"engagement": {
"type": "number"
},
"avgEngagement": {
"type": "number"
}
},
"required": [
"key",
"posts",
"engagement",
"avgEngagement"
],
"additionalProperties": false
}
},
"perAngle": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"posts": {
"type": "number"
},
"engagement": {
"type": "number"
},
"avgEngagement": {
"type": "number"
}
},
"required": [
"key",
"posts",
"engagement",
"avgEngagement"
],
"additionalProperties": false
}
},
"topPosts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"contentItemId": {
"type": "string"
},
"platform": {
"type": "string"
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"views": {
"type": "number"
},
"likes": {
"type": "number"
},
"comments": {
"type": "number"
},
"saves": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"contentItemId",
"platform",
"caption",
"views",
"likes",
"comments",
"saves"
],
"additionalProperties": false
}
},
"topFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"topAngle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"learning": {
"anyOf": [
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"evidence": {
"type": "integer"
},
"confidence": {
"type": "string",
"enum": [
"observing",
"early",
"established"
]
},
"explorationRate": {
"type": "number"
},
"format": {
"anyOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"evidence": {
"type": "integer"
},
"reachLift": {
"type": "number"
},
"engagementRatio": {
"type": "number"
},
"adjustmentPoints": {
"type": "number"
},
"dismissed": {
"type": "boolean"
}
},
"required": [
"key",
"evidence",
"reachLift",
"engagementRatio",
"adjustmentPoints",
"dismissed"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"angle": {
"anyOf": [
{
"type": "object",
"properties": {
"key": {
"type": "string"
},
"evidence": {
"type": "integer"
},
"reachLift": {
"type": "number"
},
"engagementRatio": {
"type": "number"
},
"adjustmentPoints": {
"type": "number"
},
"dismissed": {
"type": "boolean"
}
},
"required": [
"key",
"evidence",
"reachLift",
"engagementRatio",
"adjustmentPoints",
"dismissed"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"chosenFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"progress": {
"type": "object",
"properties": {
"posts": {
"type": "integer"
},
"mature": {
"type": "boolean"
},
"initialMedian": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latestMedian": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"changePct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"engagementChangePct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"posts",
"mature",
"initialMedian",
"latestMedian",
"changePct",
"engagementChangePct"
],
"additionalProperties": false
},
"checkpointCoverage": {
"type": "object",
"properties": {
"24h": {
"type": "object",
"properties": {
"eligible": {
"type": "integer"
},
"captured": {
"type": "integer"
},
"pct": {
"type": "number"
}
},
"required": [
"eligible",
"captured",
"pct"
],
"additionalProperties": false
},
"7d": {
"type": "object",
"properties": {
"eligible": {
"type": "integer"
},
"captured": {
"type": "integer"
},
"pct": {
"type": "number"
}
},
"required": [
"eligible",
"captured",
"pct"
],
"additionalProperties": false
}
},
"required": [
"24h",
"7d"
],
"additionalProperties": false
}
},
"required": [
"accountId",
"platform",
"enabled",
"scope",
"checkpoint",
"evidence",
"confidence",
"explorationRate",
"format",
"angle",
"chosenFormatMix",
"effectiveFormatMix",
"progress",
"checkpointCoverage"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"sampleSize",
"minimumSampleSize",
"active",
"totals",
"lastWeek",
"perPlatform",
"perFormat",
"perAngle",
"topPosts",
"topFormat",
"topAngle",
"learning",
"workspaceId",
"brandName"
],
"additionalProperties": true
}publish_contentWrite
Publish a content item NOW through a connected self_connected account; a warmed account's posts are booked ahead with schedule_post. It queues public posting, not a private preview, and is not a guarantee of successful delivery. Use only when the user asks to publish; inspect the calendar for results. Confirm uploaded-media AI disclosure using mediaAiDeclarations. Costs no credits; pass any renewalNote in the result on to the user.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
intentSource | No / conditional | "explicit" | "remembered" |
contentItemId | Yes | uuid |
accountId | Yes | uuid |
caption | No / conditional | string | null |
hashtags | No / conditional | array | null |
isPaidPartnership | No / conditional | boolean |
aiLabel | No / conditional | boolean |
mediaAiDeclarations | No / conditional | arraymaxItems: 20 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "33333333-3333-4333-8333-333333333333",
"idempotency_key": "publish_content-example-1",
"mediaAiDeclarations": [
{
"mediaId": "22222222-2222-4222-8222-222222222222",
"isAiGenerated": false
}
]
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"intentSource": {
"type": "string",
"enum": [
"explicit",
"remembered"
]
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 2200
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "At most 5 are kept, in the order given. The brand's pinned hashtags publish first and count toward the 5."
},
"isPaidPartnership": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean",
"description": "Whether this post carries TikTok's AI label when it has AI-made media. Leave unset to follow the account's AI label setting. Set only when the user chooses."
},
"mediaAiDeclarations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"isAiGenerated": {
"type": "boolean"
}
},
"required": [
"mediaId",
"isAiGenerated"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"contentItemId",
"accountId"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, contentItemId, accountId, status, purpose, publishJobId, runAt, postedAt, externalUrl, externalId, failureCode, failureMessage, autoMoves, movedAt, caption, hashtags, isAigc, isPaidPartnership, views, likes, comments, saves, metricsSyncedAt, metricsNextSyncAt, commentsFetchedAt, commentsCountAtFetch, commentsFetchStage, learningEligible, learningExclusionReason, reachState, reachCheckedAt, autopilot, autopilotReasons, autopilotTrialArm, privacy, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "33333333-3333-4333-8333-333333333333",
"status": "scheduled",
"postedAt": null,
"externalUrl": null,
"caption": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"posting",
"posted",
"awaiting_user_publish",
"failed",
"canceled",
"skipped"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test"
]
},
"publishJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"runAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"externalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autoMoves": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"movedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"isAigc": {
"type": "boolean"
},
"isPaidPartnership": {
"type": "boolean"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"metricsSyncedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"metricsNextSyncAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsFetchedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsCountAtFetch": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"commentsFetchStage": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"learningEligible": {
"type": "boolean"
},
"learningExclusionReason": {
"anyOf": [
{
"type": "string",
"enum": [
"paid_or_boosted",
"repost",
"unverified",
"manual",
"test",
"stalled"
]
},
{
"type": "null"
}
]
},
"reachState": {
"anyOf": [
{
"type": "string",
"enum": [
"not_distributed",
"private",
"gone",
"distributed"
]
},
{
"type": "null"
}
]
},
"reachCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilot": {
"type": "boolean"
},
"autopilotReasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"autopilotTrialArm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacy": {
"type": "string",
"enum": [
"public",
"private"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"accountId",
"status",
"purpose",
"publishJobId",
"runAt",
"postedAt",
"externalUrl",
"externalId",
"failureCode",
"failureMessage",
"autoMoves",
"movedAt",
"caption",
"hashtags",
"isAigc",
"isPaidPartnership",
"views",
"likes",
"comments",
"saves",
"metricsSyncedAt",
"metricsNextSyncAt",
"commentsFetchedAt",
"commentsCountAtFetch",
"commentsFetchStage",
"learningEligible",
"learningExclusionReason",
"reachState",
"reachCheckedAt",
"autopilot",
"autopilotReasons",
"autopilotTrialArm",
"privacy",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}publish_scheduled_postWrite
Move an existing post on a self_connected account to publish NOW; a warmed account's posts are booked ahead with reschedule_post. It queues public posting. Use only when the user asks to publish, then inspect the calendar for results and pass any renewalNote in the result on to the user. A calendar post with status 'failed' is waiting for a new time, not broken: offer to reschedule it, and never tell the user it failed.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
post_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"post_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "publish_scheduled_post-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"post_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"post_id"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, contentItemId, accountId, status, purpose, publishJobId, runAt, postedAt, externalUrl, externalId, failureCode, failureMessage, autoMoves, movedAt, caption, hashtags, isAigc, isPaidPartnership, views, likes, comments, saves, metricsSyncedAt, metricsNextSyncAt, commentsFetchedAt, commentsCountAtFetch, commentsFetchStage, learningEligible, learningExclusionReason, reachState, reachCheckedAt, autopilot, autopilotReasons, autopilotTrialArm, privacy, createdAt, updatedAt.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "33333333-3333-4333-8333-333333333333",
"status": "scheduled",
"postedAt": null,
"externalUrl": null,
"caption": "Example",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"posting",
"posted",
"awaiting_user_publish",
"failed",
"canceled",
"skipped"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test"
]
},
"publishJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"runAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"externalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autoMoves": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"movedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"isAigc": {
"type": "boolean"
},
"isPaidPartnership": {
"type": "boolean"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"metricsSyncedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"metricsNextSyncAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsFetchedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsCountAtFetch": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"commentsFetchStage": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"learningEligible": {
"type": "boolean"
},
"learningExclusionReason": {
"anyOf": [
{
"type": "string",
"enum": [
"paid_or_boosted",
"repost",
"unverified",
"manual",
"test",
"stalled"
]
},
{
"type": "null"
}
]
},
"reachState": {
"anyOf": [
{
"type": "string",
"enum": [
"not_distributed",
"private",
"gone",
"distributed"
]
},
{
"type": "null"
}
]
},
"reachCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilot": {
"type": "boolean"
},
"autopilotReasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"autopilotTrialArm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacy": {
"type": "string",
"enum": [
"public",
"private"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"accountId",
"status",
"purpose",
"publishJobId",
"runAt",
"postedAt",
"externalUrl",
"externalId",
"failureCode",
"failureMessage",
"autoMoves",
"movedAt",
"caption",
"hashtags",
"isAigc",
"isPaidPartnership",
"views",
"likes",
"comments",
"saves",
"metricsSyncedAt",
"metricsNextSyncAt",
"commentsFetchedAt",
"commentsCountAtFetch",
"commentsFetchStage",
"learningEligible",
"learningExclusionReason",
"reachState",
"reachCheckedAt",
"autopilot",
"autopilotReasons",
"autopilotTrialArm",
"privacy",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}post_own_fileWrite
Publish or schedule the user's uploaded image(s) or single finished video through a connected account: when=now publishes right away on a self_connected account, a day or a day and time books it. First prepare_media_upload, upload the actual bytes, and complete_media_upload; pass the returned media_ids here. Explicitly ask whether uploaded media is AI-generated and supply mediaAiDeclarations. Creates a post without generation credits; pass any renewalNote in the result on to the user. If scheduling fails, the error contains the saved content ID so it can be scheduled without re-uploading.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
format | Yes | "slideshow" | "wall_of_text" | "video" |
media_ids | Yes | arrayminItems: 1maxItems: 20 |
account_id | Yes | uuid |
when | Yes | "now" | string | string |
caption | No / conditional | string | null |
hashtags | No / conditional | array | null |
isPaidPartnership | No / conditional | boolean |
aiLabel | No / conditional | boolean |
mediaAiDeclarations | No / conditional | arraymaxItems: 20 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"format": "slideshow",
"media_ids": [
"22222222-2222-4222-8222-222222222222"
],
"account_id": "33333333-3333-4333-8333-333333333333",
"when": "2026-10-15",
"idempotency_key": "post_own_file-example-1",
"caption": "Our new desk setup",
"mediaAiDeclarations": [
{
"mediaId": "22222222-2222-4222-8222-222222222222",
"isAiGenerated": false
}
]
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video"
]
},
"media_ids": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"minItems": 1,
"maxItems": 20
},
"account_id": {
"type": "string",
"format": "uuid"
},
"when": {
"anyOf": [
{
"type": "string",
"const": "now"
},
{
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
{
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T([01]\\d|2[0-3]):[0-5]\\d$"
}
],
"description": "YYYY-MM-DD books the first of that day's peak posting times the account has room for; YYYY-MM-DDTHH:mm books that minute. Both are on the account's own clock, its timezone in list_accounts. One account takes at most 2 posts a day, at least 2 hours apart, and a warmed account's posts are booked at least 6 hours ahead."
}
]
},
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 2200
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "At most 5 are kept, in the order given. The brand's pinned hashtags publish first and count toward the 5."
},
"isPaidPartnership": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean",
"description": "Whether this post carries TikTok's AI label when it has AI-made media. Leave unset to follow the account's AI label setting. Set only when the user chooses."
},
"mediaAiDeclarations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"isAiGenerated": {
"type": "boolean"
}
},
"required": [
"mediaId",
"isAiGenerated"
],
"additionalProperties": false
},
"maxItems": 20
}
},
"required": [
"format",
"media_ids",
"account_id",
"when"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: content, post.
{
"content": {
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"influencerId": "11111111-1111-4111-8111-111111111111",
"targetAccountId": "11111111-1111-4111-8111-111111111111",
"remixedFromId": "11111111-1111-4111-8111-111111111111",
"remixSourceUrl": "Example",
"remixSkeletonId": "Example",
"tweakedFromId": "11111111-1111-4111-8111-111111111111",
"savedTemplateId": "11111111-1111-4111-8111-111111111111",
"format": "slideshow",
"origin": "studio",
"generationSource": "studio",
"status": "draft",
"purpose": "normal",
"sellStyle": "none",
"aspect": "9:16",
"caption": "Example",
"soundTiktokUrl": "Example",
"soundInstagramUrl": "Example",
"hashtags": [],
"angle": "Example",
"seed": "Example",
"learningContext": {
"scope": "account",
"checkpoint": "24h",
"experimental": false,
"reasons": [],
"effectiveFormatMix": {},
"effectiveAngleWeights": {}
},
"turboDeckRank": 0,
"turboAutoDiscardedAt": "2026-10-02T00:00:00.000Z",
"renderedMediaId": "11111111-1111-4111-8111-111111111111",
"renderedNoMusicMediaId": "11111111-1111-4111-8111-111111111111",
"audioOrigin": "Example",
"ownAudio": false,
"timelineRev": 0,
"renderedRev": 0,
"renderStatus": "idle",
"renderError": "Example",
"editsMediaId": "11111111-1111-4111-8111-111111111111",
"clipRequestedRev": 0,
"createdAt": "2026-10-02T00:00:00.000Z",
"updatedAt": "2026-10-02T00:00:00.000Z",
"slides": [],
"renderedUrl": "Example",
"renderedDurationMs": 0,
"renderStale": false
},
"post": {
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"contentItemId": "11111111-1111-4111-8111-111111111111",
"accountId": "11111111-1111-4111-8111-111111111111",
"status": "scheduled",
"purpose": "normal",
"publishJobId": "11111111-1111-4111-8111-111111111111",
"runAt": "2026-10-02T00:00:00.000Z",
"postedAt": null,
"externalUrl": null,
"externalId": "Example",
"failureCode": "Example",
"failureMessage": "Example",
"autoMoves": 0,
"movedAt": "2026-10-02T00:00:00.000Z",
"caption": "Example",
"hashtags": [],
"isAigc": false,
"isPaidPartnership": false,
"views": 0,
"likes": 0,
"comments": 0,
"saves": 0,
"metricsSyncedAt": "2026-10-02T00:00:00.000Z",
"metricsNextSyncAt": "2026-10-02T00:00:00.000Z",
"commentsFetchedAt": "2026-10-02T00:00:00.000Z",
"commentsCountAtFetch": 0,
"commentsFetchStage": 0,
"learningEligible": false,
"learningExclusionReason": "paid_or_boosted",
"reachState": "not_distributed",
"reachCheckedAt": "2026-10-02T00:00:00.000Z",
"autopilot": false,
"autopilotReasons": [],
"autopilotTrialArm": "Example",
"privacy": "public",
"createdAt": "2026-10-02T00:00:00.000Z",
"updatedAt": "2026-10-02T00:00:00.000Z"
},
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"content": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"targetAccountId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"remixSourceUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"remixSkeletonId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"tweakedFromId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"savedTemplateId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"format": {
"type": "string",
"enum": [
"slideshow",
"wall_of_text",
"video",
"green_screen",
"hook_demo",
"talking_head",
"photo_reel"
]
},
"origin": {
"type": "string",
"enum": [
"studio",
"turbo",
"autopilot"
]
},
"generationSource": {
"type": "string",
"enum": [
"studio",
"turbo",
"face_swap",
"multiply",
"tweak",
"upload",
"sonic"
]
},
"status": {
"type": "string",
"enum": [
"draft",
"shortlisted",
"approved",
"rejected",
"scheduled",
"posted",
"needs_attention"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test_post"
]
},
"sellStyle": {
"type": "string",
"enum": [
"none",
"soft",
"hard"
]
},
"aspect": {
"type": "string",
"enum": [
"9:16",
"4:5"
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundTiktokUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"soundInstagramUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"type": "array",
"items": {
"type": "string"
}
},
"angle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"seed": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"learningContext": {
"anyOf": [
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"account",
"workspace",
"cohort",
"none"
]
},
"checkpoint": {
"anyOf": [
{
"type": "string",
"enum": [
"24h",
"7d"
]
},
{
"type": "null"
}
]
},
"experimental": {
"type": "boolean"
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"effectiveFormatMix": {
"type": "object",
"additionalProperties": {
"type": "number"
}
},
"effectiveAngleWeights": {
"type": "object",
"additionalProperties": {
"type": "number"
}
}
},
"required": [
"scope",
"checkpoint",
"experimental",
"reasons",
"effectiveFormatMix",
"effectiveAngleWeights"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"turboDeckRank": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"turboAutoDiscardedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renderedMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"renderedNoMusicMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"audioOrigin": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"ownAudio": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"timelineRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderedRev": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"renderStatus": {
"type": "string",
"enum": [
"idle",
"queued",
"rendering",
"failed"
]
},
"renderError": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"editsMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"clipRequestedRev": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"slides": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"idx": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"trackType": {
"type": "string",
"enum": [
"visual",
"text",
"audio"
]
},
"trackIndex": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineStartMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"timelineDurationMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"imageBrief": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"overlayBoxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"style": {
"type": "object",
"properties": {
"font": {
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
"weight": {
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
]
},
"size": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 400
}
]
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strokeWidth": {
"type": "number",
"minimum": 0,
"maximum": 4
},
"strokeColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"align": {
"type": "string",
"enum": [
"left",
"center",
"right"
]
},
"lineHeight": {
"type": "number",
"minimum": 0.8,
"maximum": 2
},
"letterSpacing": {
"type": "number",
"minimum": -0.05,
"maximum": 0.5
},
"textCase": {
"type": "string",
"enum": [
"none",
"upper",
"lower"
]
},
"bodyColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bodyCase": {
"anyOf": [
{
"type": "string",
"enum": [
"none",
"upper",
"lower"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyWeight": {
"anyOf": [
{
"type": "string",
"enum": [
"400",
"600",
"700",
"800"
],
"default": null
},
{
"type": "null"
}
]
},
"bodyBgColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"accentColor": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": null
},
{
"type": "null"
}
]
},
"bgMode": {
"type": "string",
"enum": [
"scrim",
"solid",
"highlight",
"none"
]
},
"bgColor": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shade": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 0.6,
"default": null
},
{
"type": "null"
}
]
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.35,
"maximum": 1.1889952153110048
},
"fit": {
"type": "string",
"enum": [
"hook",
"cover",
"quiet"
],
"default": "hook"
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"card": {
"anyOf": [
{
"type": "string",
"enum": [
"x",
"reddit",
"notes",
"linkedin",
"imessage",
"chatgpt",
"notification"
],
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"font",
"weight",
"size",
"color",
"strokeWidth",
"strokeColor",
"align",
"lineHeight",
"letterSpacing",
"textCase",
"bgMode",
"bgColor",
"x",
"y",
"width"
],
"additionalProperties": false
},
"cardHandle": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"default": null
},
{
"type": "null"
}
]
},
"behindPhotos": {
"type": "boolean",
"default": false
},
"thread": {
"anyOf": [
{
"type": "object",
"properties": {
"subreddit": {
"type": "string",
"maxLength": 40
},
"title": {
"type": "string",
"maxLength": 300
},
"user": {
"type": "string",
"maxLength": 40
},
"poster": {
"type": "string",
"maxLength": 40
},
"age": {
"type": "string",
"maxLength": 20
},
"op": {
"type": "boolean"
},
"index": {
"type": "integer",
"minimum": 0
},
"total": {
"type": "integer",
"minimum": 1
},
"size": {
"type": "number",
"minimum": 12,
"maximum": 48
},
"palette": {
"type": "object",
"properties": {
"background": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"ink": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panel": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"panelInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"muted": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"accent": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"badge": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"strip": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"stripInk": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"border": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
]
},
"titleFont": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
]
},
{
"type": "null"
}
]
},
"font": {
"anyOf": [
{
"type": "string",
"enum": [
"sora",
"manrope",
"tiktok_sans",
"montserrat",
"poppins",
"inter",
"roboto",
"open_sans",
"dm_sans",
"plus_jakarta_sans",
"lato",
"oswald",
"anton",
"bebas_neue",
"abel",
"playfair_display",
"dancing_script",
"caveat",
"chewy",
"source_code_pro"
],
"default": null
},
{
"type": "null"
}
]
},
"avatar": {
"anyOf": [
{
"type": "string",
"enum": [
"circle",
"square",
"none"
],
"default": null
},
{
"type": "null"
}
]
},
"radius": {
"anyOf": [
{
"type": "number",
"minimum": 0,
"maximum": 3,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"background",
"ink",
"panel",
"panelInk",
"muted",
"accent",
"badge",
"strip",
"stripInk",
"border",
"titleFont"
],
"additionalProperties": false
},
"votes": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"default": null
},
{
"type": "null"
}
]
},
"flair": {
"anyOf": [
{
"type": "string",
"maxLength": 20,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"subreddit",
"title",
"user",
"poster",
"age",
"op",
"index",
"total",
"size",
"palette"
],
"additionalProperties": false,
"default": null
},
{
"type": "null"
}
]
}
},
"required": [
"text",
"style"
],
"additionalProperties": false
}
},
"mediaFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"photoAdjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false
},
"layout": {
"type": "string",
"enum": [
"full",
"stack2",
"side2",
"rows3",
"grid4",
"grid6"
]
},
"layoutCells": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"overlayImages": {
"type": "array",
"items": {
"type": "object",
"properties": {
"mediaId": {
"type": "string",
"format": "uuid"
},
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"minimum": 0.08,
"maximum": 1
},
"frame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"zoom": {
"type": "number",
"minimum": 1,
"maximum": 3
}
},
"required": [
"x",
"y",
"zoom"
],
"additionalProperties": false
},
"rotation": {
"type": "number",
"minimum": -180,
"maximum": 180,
"default": 0
},
"adjust": {
"type": "object",
"properties": {
"brightness": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"contrast": {
"type": "number",
"minimum": 0.2,
"maximum": 2
},
"saturation": {
"type": "number",
"minimum": 0,
"maximum": 2
},
"grayscale": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"sepia": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"brightness",
"contrast",
"saturation",
"grayscale",
"sepia"
],
"additionalProperties": false,
"default": {
"brightness": 1,
"contrast": 1,
"saturation": 1,
"grayscale": 0,
"sepia": 0
}
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"mediaId",
"x",
"y",
"width",
"frame",
"url",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"layerFrame": {
"type": "object",
"properties": {
"x": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"y": {
"type": "number",
"minimum": -1,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": true,
"minimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"additionalProperties": false
},
"overlayMotion": {
"anyOf": [
{
"type": "object",
"properties": {
"entrance": {
"type": "string",
"enum": [
"pop",
"bounce",
"scale",
"cut"
]
},
"exit": {
"type": "string",
"enum": [
"fade",
"scale",
"cut"
]
}
},
"required": [
"entrance",
"exit"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"opacity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"volume": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"muted": {
"type": "boolean"
},
"imageIntent": {
"anyOf": [
{
"type": "string",
"enum": [
"persona",
"lifestyle"
]
},
{
"type": "null"
}
]
},
"trimInMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"trimOutMs": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"keyColor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"keySimilarity": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"keyBlend": {
"type": "number",
"minimum": -140737488355328,
"maximum": 140737488355327
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sourceDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"mediaKind": {
"anyOf": [
{
"type": "string",
"enum": [
"image",
"video",
"audio"
]
},
{
"type": "null"
}
]
},
"mediaAiGenerated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"idx",
"trackType",
"trackIndex",
"timelineStartMs",
"timelineDurationMs",
"label",
"imageBrief",
"mediaId",
"overlayBoxes",
"mediaFrame",
"photoAdjust",
"layout",
"layoutCells",
"overlayImages",
"layerFrame",
"overlayMotion",
"opacity",
"volume",
"muted",
"imageIntent",
"trimInMs",
"trimOutMs",
"keyColor",
"keySimilarity",
"keyBlend",
"createdAt",
"url",
"sourceDurationMs",
"mediaKind",
"mediaAiGenerated"
],
"additionalProperties": false
}
},
"renderedUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"renderedDurationMs": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"renderStale": {
"type": "boolean"
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"targetAccountId",
"remixedFromId",
"remixSourceUrl",
"remixSkeletonId",
"tweakedFromId",
"savedTemplateId",
"format",
"origin",
"generationSource",
"status",
"purpose",
"sellStyle",
"aspect",
"caption",
"soundTiktokUrl",
"soundInstagramUrl",
"hashtags",
"angle",
"seed",
"learningContext",
"turboDeckRank",
"turboAutoDiscardedAt",
"renderedMediaId",
"renderedNoMusicMediaId",
"audioOrigin",
"ownAudio",
"timelineRev",
"renderedRev",
"renderStatus",
"renderError",
"editsMediaId",
"clipRequestedRev",
"createdAt",
"updatedAt",
"slides",
"renderedUrl",
"renderedDurationMs",
"renderStale"
],
"additionalProperties": false
},
"post": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"contentItemId": {
"type": "string",
"format": "uuid"
},
"accountId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"draft",
"scheduled",
"posting",
"posted",
"awaiting_user_publish",
"failed",
"canceled",
"skipped"
]
},
"purpose": {
"type": "string",
"enum": [
"normal",
"test"
]
},
"publishJobId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"runAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"postedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"externalUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"externalId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"failureMessage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autoMoves": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"movedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"caption": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hashtags": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"isAigc": {
"type": "boolean"
},
"isPaidPartnership": {
"type": "boolean"
},
"views": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"comments": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"saves": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"metricsSyncedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"metricsNextSyncAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsFetchedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"commentsCountAtFetch": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"commentsFetchStage": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"learningEligible": {
"type": "boolean"
},
"learningExclusionReason": {
"anyOf": [
{
"type": "string",
"enum": [
"paid_or_boosted",
"repost",
"unverified",
"manual",
"test",
"stalled"
]
},
{
"type": "null"
}
]
},
"reachState": {
"anyOf": [
{
"type": "string",
"enum": [
"not_distributed",
"private",
"gone",
"distributed"
]
},
{
"type": "null"
}
]
},
"reachCheckedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilot": {
"type": "boolean"
},
"autopilotReasons": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"autopilotTrialArm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"privacy": {
"type": "string",
"enum": [
"public",
"private"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"workspaceId",
"contentItemId",
"accountId",
"status",
"purpose",
"publishJobId",
"runAt",
"postedAt",
"externalUrl",
"externalId",
"failureCode",
"failureMessage",
"autoMoves",
"movedAt",
"caption",
"hashtags",
"isAigc",
"isPaidPartnership",
"views",
"likes",
"comments",
"saves",
"metricsSyncedAt",
"metricsNextSyncAt",
"commentsFetchedAt",
"commentsCountAtFetch",
"commentsFetchStage",
"learningEligible",
"learningExclusionReason",
"reachState",
"reachCheckedAt",
"autopilot",
"autopilotReasons",
"autopilotTrialArm",
"privacy",
"createdAt",
"updatedAt"
],
"additionalProperties": false
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"content",
"post",
"workspaceId",
"brandName"
],
"additionalProperties": true
}Accounts
copy_accountWrite
Copy any TikTok or Instagram account's slideshow style: its top slideshows become the workspace's own templates, listed under Yours in Discover's Top slideshows to remix. With account_id, that connected account's Autopilot also posts in their style from then on. Takes the handle or profile link to copy. Returns a jobId; use get_job for progress. Needs a paid plan; the copy itself costs no credits.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | No / conditional | uuid |
handle | Yes | stringminLength: 1maxLength: 500 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"handle": "@example.creator",
"idempotency_key": "copy_account-example-1",
"account_id": "33333333-3333-4333-8333-333333333333"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
},
"handle": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"handle"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, handle, platform.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"handle": "Example",
"platform": "tiktok",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"handle": {
"type": "string"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"handle",
"platform",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_accountRead
Inspect one social account, its connection and settings.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"account_id"
]
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, platform, handle, displayName, bio, profilePhotoMediaId, uploadPostProfileId, connectionStatus, kind, orderId, country, readyEmailSentAt, baselineFollowers, baselineCapturedAt, learningEnabled, aiLabel, postPhotosAsReel, reelSlideMs, reelTransition, learningResetAt, creditGraceSince, billingCycleId, nextCreditDeductionAt, renewalWarningSentFor, creditReleasedAt, keywords, etaGoLive, etaLastChangedAt, warmingCompletedAt, warmingSessionsCompleted, warmingSessionsRequired, nextSessionAt, detailsLockedAt, profileVersion, profileAppliedVersion, profileApplyStatus, profileApplyDetail, profileAppliedAt, profileChangedAt, autopilotPostsPerDay, autopilotPausedReason, autopilotFailures, autopilotTrial, autopilotTemplateSourceId, autopilotTemplateHandle, autopilotTemplatePlatform, autopilotFreshPhotos, autopilotBackgroundScene, autopilotSubjectPin, autopilotPostIdea, autopilotSettingsAt, autopilotCrosspostFrom, autopilotSlideshows, autopilotHookDemo, autopilotDemoMediaIds, autopilotDemoCallToAction, autopilotDemoFilmed, autopilotDemoFreshHooks, autopilotDemoFace, testPostChoice, createdAt, updatedAt, profilePhotoUrl, timezone, autopilotTemplate.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"platform": "tiktok",
"handle": "Example",
"uploadPostProfileId": "Example",
"connectionStatus": "pending",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"uploadPostProfileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"connectionStatus": {
"type": "string",
"enum": [
"pending",
"live",
"warming",
"provisioning",
"waitlisted",
"paused",
"disconnected"
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"orderId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"readyEmailSentAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"baselineFollowers": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"baselineCapturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean"
},
"postPhotosAsReel": {
"type": "boolean"
},
"reelSlideMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
]
},
"learningResetAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditGraceSince": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"billingCycleId": {
"type": "string",
"format": "uuid"
},
"nextCreditDeductionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renewalWarningSentFor": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditReleasedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"etaGoLive": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etaLastChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingCompletedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingSessionsCompleted": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"warmingSessionsRequired": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"nextSessionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"detailsLockedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileVersion": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"profileAppliedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"profileApplyStatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileApplyDetail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileAppliedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotPostsPerDay": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"autopilotPausedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotFailures": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"autopilotTrial": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotTemplateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotTemplateHandle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotTemplatePlatform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"autopilotFreshPhotos": {
"type": "boolean"
},
"autopilotBackgroundScene": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSubjectPin": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotPostIdea": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSettingsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotCrosspostFrom": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotSlideshows": {
"type": "boolean"
},
"autopilotHookDemo": {
"type": "boolean"
},
"autopilotDemoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"autopilotDemoCallToAction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotDemoFilmed": {
"type": "boolean"
},
"autopilotDemoFreshHooks": {
"type": "boolean"
},
"autopilotDemoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"testPostChoice": {
"anyOf": [
{
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"autopilotTemplate": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"type": "integer"
}
},
"required": [
"id",
"coverUrl",
"hook",
"handle",
"freshPhotosCreditCost"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"platform",
"handle",
"displayName",
"bio",
"profilePhotoMediaId",
"uploadPostProfileId",
"connectionStatus",
"kind",
"orderId",
"country",
"readyEmailSentAt",
"baselineFollowers",
"baselineCapturedAt",
"learningEnabled",
"aiLabel",
"postPhotosAsReel",
"reelSlideMs",
"reelTransition",
"learningResetAt",
"creditGraceSince",
"billingCycleId",
"nextCreditDeductionAt",
"renewalWarningSentFor",
"creditReleasedAt",
"keywords",
"etaGoLive",
"etaLastChangedAt",
"warmingCompletedAt",
"warmingSessionsCompleted",
"warmingSessionsRequired",
"nextSessionAt",
"detailsLockedAt",
"profileVersion",
"profileAppliedVersion",
"profileApplyStatus",
"profileApplyDetail",
"profileAppliedAt",
"profileChangedAt",
"autopilotPostsPerDay",
"autopilotPausedReason",
"autopilotFailures",
"autopilotTrial",
"autopilotTemplateSourceId",
"autopilotTemplateHandle",
"autopilotTemplatePlatform",
"autopilotFreshPhotos",
"autopilotBackgroundScene",
"autopilotSubjectPin",
"autopilotPostIdea",
"autopilotSettingsAt",
"autopilotCrosspostFrom",
"autopilotSlideshows",
"autopilotHookDemo",
"autopilotDemoMediaIds",
"autopilotDemoCallToAction",
"autopilotDemoFilmed",
"autopilotDemoFreshHooks",
"autopilotDemoFace",
"testPostChoice",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}get_account_activityRead
Read an account's posting activity and queue.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"account_id"
]
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: events, sessionsDone, sessionsTotal, queuedPosts, stats, testPost, copiedStyle.
{
"events": [],
"sessionsDone": 0,
"sessionsTotal": 0,
"queuedPosts": 0,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"occurredAt": {
"type": "string"
},
"title": {
"type": "string"
},
"body": {
"type": "string"
}
},
"required": [
"id",
"type",
"occurredAt",
"title",
"body"
],
"additionalProperties": false
}
},
"sessionsDone": {
"type": "number"
},
"sessionsTotal": {
"type": "number"
},
"queuedPosts": {
"type": "number"
},
"stats": {
"anyOf": [
{
"type": "object",
"properties": {
"followers": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"following": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"likes": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"posts": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"capturedAt": {
"type": "string"
},
"followersChange7d": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"followers",
"following",
"likes",
"posts",
"capturedAt",
"followersChange7d"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"testPost": {
"anyOf": [
{
"type": "object",
"properties": {
"choice": {
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
"state": {
"type": "string",
"enum": [
"none",
"generating",
"awaiting_approval",
"ready",
"posted",
"failed"
]
},
"contentItemId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
}
},
"required": [
"choice",
"state",
"contentItemId"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"copiedStyle": {
"anyOf": [
{
"type": "object",
"properties": {
"handle": {
"type": "string"
},
"state": {
"type": "string",
"enum": [
"learning",
"done",
"failed"
]
}
},
"required": [
"handle",
"state"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"events",
"sessionsDone",
"sessionsTotal",
"queuedPosts",
"stats",
"testPost",
"copiedStyle",
"workspaceId",
"brandName"
],
"additionalProperties": true
}update_accountWrite
Edit an account's influencer assignment, profile settings, AI label, whether photo posts go out as a video, learning, or pause state. Resuming a released account may charge 100 credits for a connected account or 2000 for a managed account.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
influencerId | No / conditional | uuid | null |
handle | No / conditional | string |
displayName | No / conditional | stringminLength: 1maxLength: 30 |
bio | No / conditional | string | null |
profilePhotoMediaId | No / conditional | uuid | null |
country | No / conditional | "us" | "uk" | "sg" | "ph" |
paused | No / conditional | boolean |
learningEnabled | No / conditional | boolean |
aiLabel | No / conditional | boolean |
postPhotosAsReel | No / conditional | boolean |
reelSlideMs | No / conditional | integerminimum: 1000maximum: 6000 |
reelTransition | No / conditional | "dissolve" | "fade" | "cut" |
resetLearning | No / conditional | true |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"account_id": "33333333-3333-4333-8333-333333333333",
"idempotency_key": "update_account-example-1",
"paused": true
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"account_id"
]
},
{
"type": "object",
"properties": {
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"handle": {
"type": "string"
},
"displayName": {
"type": "string",
"minLength": 1,
"maxLength": 30
},
"bio": {
"anyOf": [
{
"type": "string",
"maxLength": 80
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
"paused": {
"type": "boolean"
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean",
"description": "Whether this account's posts with AI-made media carry TikTok's AI label. Set only when the user chooses."
},
"postPhotosAsReel": {
"type": "boolean",
"description": "Whether photo posts (slideshows, wall of text) booked to this account go out as one video of their slides instead of as photos. The video has no sound. Set only when the user chooses."
},
"reelSlideMs": {
"type": "integer",
"minimum": 1000,
"maximum": 6000,
"multipleOf": 500,
"description": "Milliseconds each slide stays on screen in that video."
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
],
"description": "How each slide gives way to the next in that video: dissolve (blends into the next), fade (each slide fades up from black) or cut."
},
"resetLearning": {
"type": "boolean",
"const": true
}
}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, platform, handle, displayName, bio, profilePhotoMediaId, uploadPostProfileId, connectionStatus, kind, orderId, country, readyEmailSentAt, baselineFollowers, baselineCapturedAt, learningEnabled, aiLabel, postPhotosAsReel, reelSlideMs, reelTransition, learningResetAt, creditGraceSince, billingCycleId, nextCreditDeductionAt, renewalWarningSentFor, creditReleasedAt, keywords, etaGoLive, etaLastChangedAt, warmingCompletedAt, warmingSessionsCompleted, warmingSessionsRequired, nextSessionAt, detailsLockedAt, profileVersion, profileAppliedVersion, profileApplyStatus, profileApplyDetail, profileAppliedAt, profileChangedAt, autopilotPostsPerDay, autopilotPausedReason, autopilotFailures, autopilotTrial, autopilotTemplateSourceId, autopilotTemplateHandle, autopilotTemplatePlatform, autopilotFreshPhotos, autopilotBackgroundScene, autopilotSubjectPin, autopilotPostIdea, autopilotSettingsAt, autopilotCrosspostFrom, autopilotSlideshows, autopilotHookDemo, autopilotDemoMediaIds, autopilotDemoCallToAction, autopilotDemoFilmed, autopilotDemoFreshHooks, autopilotDemoFace, testPostChoice, createdAt, updatedAt, profilePhotoUrl, timezone, autopilotTemplate.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"platform": "tiktok",
"handle": "Example",
"uploadPostProfileId": "Example",
"connectionStatus": "pending",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"uploadPostProfileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"connectionStatus": {
"type": "string",
"enum": [
"pending",
"live",
"warming",
"provisioning",
"waitlisted",
"paused",
"disconnected"
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"orderId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"readyEmailSentAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"baselineFollowers": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"baselineCapturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean"
},
"postPhotosAsReel": {
"type": "boolean"
},
"reelSlideMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
]
},
"learningResetAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditGraceSince": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"billingCycleId": {
"type": "string",
"format": "uuid"
},
"nextCreditDeductionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renewalWarningSentFor": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditReleasedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"etaGoLive": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etaLastChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingCompletedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingSessionsCompleted": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"warmingSessionsRequired": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"nextSessionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"detailsLockedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileVersion": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"profileAppliedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"profileApplyStatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileApplyDetail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileAppliedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotPostsPerDay": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"autopilotPausedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotFailures": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"autopilotTrial": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotTemplateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotTemplateHandle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotTemplatePlatform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"autopilotFreshPhotos": {
"type": "boolean"
},
"autopilotBackgroundScene": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSubjectPin": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotPostIdea": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSettingsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotCrosspostFrom": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotSlideshows": {
"type": "boolean"
},
"autopilotHookDemo": {
"type": "boolean"
},
"autopilotDemoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"autopilotDemoCallToAction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotDemoFilmed": {
"type": "boolean"
},
"autopilotDemoFreshHooks": {
"type": "boolean"
},
"autopilotDemoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"testPostChoice": {
"anyOf": [
{
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"autopilotTemplate": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"type": "integer"
}
},
"required": [
"id",
"coverUrl",
"hook",
"handle",
"freshPhotosCreditCost"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"platform",
"handle",
"displayName",
"bio",
"profilePhotoMediaId",
"uploadPostProfileId",
"connectionStatus",
"kind",
"orderId",
"country",
"readyEmailSentAt",
"baselineFollowers",
"baselineCapturedAt",
"learningEnabled",
"aiLabel",
"postPhotosAsReel",
"reelSlideMs",
"reelTransition",
"learningResetAt",
"creditGraceSince",
"billingCycleId",
"nextCreditDeductionAt",
"renewalWarningSentFor",
"creditReleasedAt",
"keywords",
"etaGoLive",
"etaLastChangedAt",
"warmingCompletedAt",
"warmingSessionsCompleted",
"warmingSessionsRequired",
"nextSessionAt",
"detailsLockedAt",
"profileVersion",
"profileAppliedVersion",
"profileApplyStatus",
"profileApplyDetail",
"profileAppliedAt",
"profileChangedAt",
"autopilotPostsPerDay",
"autopilotPausedReason",
"autopilotFailures",
"autopilotTrial",
"autopilotTemplateSourceId",
"autopilotTemplateHandle",
"autopilotTemplatePlatform",
"autopilotFreshPhotos",
"autopilotBackgroundScene",
"autopilotSubjectPin",
"autopilotPostIdea",
"autopilotSettingsAt",
"autopilotCrosspostFrom",
"autopilotSlideshows",
"autopilotHookDemo",
"autopilotDemoMediaIds",
"autopilotDemoCallToAction",
"autopilotDemoFilmed",
"autopilotDemoFreshHooks",
"autopilotDemoFace",
"testPostChoice",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}start_account_connectionWrite
Start connecting or reconnecting a social account. Return connectUrl to the user to complete provider sign-in; never ask for their password. Connecting costs 100 credits when completed and renews monthly under the existing account rules.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
influencerId | No / conditional | uuid |
platform | Yes | "tiktok" | "instagram" |
accountId | No / conditional | uuid |
returnPath | No / conditional | stringpattern: "^\\/(?![/\\\\])[^\\s\\\\?#]*$"maxLength: 200 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"platform": "instagram",
"idempotency_key": "start_account_connection-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"influencerId": {
"type": "string",
"format": "uuid"
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram"
]
},
"accountId": {
"type": "string",
"format": "uuid"
},
"returnPath": {
"type": "string",
"pattern": "^\\/(?![/\\\\])[^\\s\\\\?#]*$",
"maxLength": 200
}
},
"required": [
"platform"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: attemptId, connectUrl, uploadPostProfileId.
{
"attemptId": "11111111-1111-4111-8111-111111111111",
"connectUrl": "https://example.com/provider-sign-in",
"uploadPostProfileId": "returned-profile-id",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"attemptId": {
"type": "string",
"format": "uuid"
},
"connectUrl": {
"type": "string"
},
"uploadPostProfileId": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"attemptId",
"connectUrl",
"uploadPostProfileId",
"workspaceId",
"brandName"
],
"additionalProperties": true
}complete_account_connectionWrite
Check and complete a provider connection after the user has signed in. Use the attemptId as account_id. May charge 100 credits when connected. Pending means the user still needs to finish authorization.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "complete_account_connection-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"account_id"
]
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: status, account.
{
"status": "pending",
"account": null,
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"anyOf": [
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"pending"
]
},
"account": {
"type": "null"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"status",
"account",
"workspaceId",
"brandName"
],
"additionalProperties": true
},
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"connected"
]
},
"account": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"uploadPostProfileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"connectionStatus": {
"type": "string",
"enum": [
"pending",
"live",
"warming",
"provisioning",
"waitlisted",
"paused",
"disconnected"
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"orderId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"readyEmailSentAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"baselineFollowers": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"baselineCapturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean"
},
"postPhotosAsReel": {
"type": "boolean"
},
"reelSlideMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
]
},
"learningResetAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditGraceSince": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"billingCycleId": {
"type": "string",
"format": "uuid"
},
"nextCreditDeductionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renewalWarningSentFor": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditReleasedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"etaGoLive": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etaLastChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingCompletedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingSessionsCompleted": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"warmingSessionsRequired": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"nextSessionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"detailsLockedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileVersion": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"profileAppliedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"profileApplyStatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileApplyDetail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileAppliedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotPostsPerDay": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"autopilotPausedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotFailures": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"autopilotTrial": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotTemplateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotTemplateHandle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotTemplatePlatform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"autopilotFreshPhotos": {
"type": "boolean"
},
"autopilotBackgroundScene": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSubjectPin": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotPostIdea": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSettingsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotCrosspostFrom": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotSlideshows": {
"type": "boolean"
},
"autopilotHookDemo": {
"type": "boolean"
},
"autopilotDemoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"autopilotDemoCallToAction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotDemoFilmed": {
"type": "boolean"
},
"autopilotDemoFreshHooks": {
"type": "boolean"
},
"autopilotDemoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"testPostChoice": {
"anyOf": [
{
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"autopilotTemplate": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"type": "integer"
}
},
"required": [
"id",
"coverUrl",
"hook",
"handle",
"freshPhotosCreditCost"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"platform",
"handle",
"displayName",
"bio",
"profilePhotoMediaId",
"uploadPostProfileId",
"connectionStatus",
"kind",
"orderId",
"country",
"readyEmailSentAt",
"baselineFollowers",
"baselineCapturedAt",
"learningEnabled",
"aiLabel",
"postPhotosAsReel",
"reelSlideMs",
"reelTransition",
"learningResetAt",
"creditGraceSince",
"billingCycleId",
"nextCreditDeductionAt",
"renewalWarningSentFor",
"creditReleasedAt",
"keywords",
"etaGoLive",
"etaLastChangedAt",
"warmingCompletedAt",
"warmingSessionsCompleted",
"warmingSessionsRequired",
"nextSessionAt",
"detailsLockedAt",
"profileVersion",
"profileAppliedVersion",
"profileApplyStatus",
"profileApplyDetail",
"profileAppliedAt",
"profileChangedAt",
"autopilotPostsPerDay",
"autopilotPausedReason",
"autopilotFailures",
"autopilotTrial",
"autopilotTemplateSourceId",
"autopilotTemplateHandle",
"autopilotTemplatePlatform",
"autopilotFreshPhotos",
"autopilotBackgroundScene",
"autopilotSubjectPin",
"autopilotPostIdea",
"autopilotSettingsAt",
"autopilotCrosspostFrom",
"autopilotSlideshows",
"autopilotHookDemo",
"autopilotDemoMediaIds",
"autopilotDemoCallToAction",
"autopilotDemoFilmed",
"autopilotDemoFreshHooks",
"autopilotDemoFace",
"testPostChoice",
"createdAt",
"updatedAt"
],
"additionalProperties": false
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"status",
"account",
"workspaceId",
"brandName"
],
"additionalProperties": true
}
]
}manage_account_connectionWrite
Return the provider's link for the user to reconnect or revoke a connected account. The user completes that action in the provider screen.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "manage_account_connection-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"account_id"
]
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: connectUrl.
{
"connectUrl": "https://example.com/provider-manage",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"connectUrl": {
"type": "string"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"connectUrl",
"workspaceId",
"brandName"
],
"additionalProperties": true
}reconcile_accountWrite
Refresh a connected account's state after the user changes its provider connection.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "reconcile_account-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"account_id"
]
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, platform, handle, displayName, bio, profilePhotoMediaId, uploadPostProfileId, connectionStatus, kind, orderId, country, readyEmailSentAt, baselineFollowers, baselineCapturedAt, learningEnabled, aiLabel, postPhotosAsReel, reelSlideMs, reelTransition, learningResetAt, creditGraceSince, billingCycleId, nextCreditDeductionAt, renewalWarningSentFor, creditReleasedAt, keywords, etaGoLive, etaLastChangedAt, warmingCompletedAt, warmingSessionsCompleted, warmingSessionsRequired, nextSessionAt, detailsLockedAt, profileVersion, profileAppliedVersion, profileApplyStatus, profileApplyDetail, profileAppliedAt, profileChangedAt, autopilotPostsPerDay, autopilotPausedReason, autopilotFailures, autopilotTrial, autopilotTemplateSourceId, autopilotTemplateHandle, autopilotTemplatePlatform, autopilotFreshPhotos, autopilotBackgroundScene, autopilotSubjectPin, autopilotPostIdea, autopilotSettingsAt, autopilotCrosspostFrom, autopilotSlideshows, autopilotHookDemo, autopilotDemoMediaIds, autopilotDemoCallToAction, autopilotDemoFilmed, autopilotDemoFreshHooks, autopilotDemoFace, testPostChoice, createdAt, updatedAt, profilePhotoUrl, timezone, autopilotTemplate.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"platform": "tiktok",
"handle": "Example",
"uploadPostProfileId": "Example",
"connectionStatus": "pending",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"uploadPostProfileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"connectionStatus": {
"type": "string",
"enum": [
"pending",
"live",
"warming",
"provisioning",
"waitlisted",
"paused",
"disconnected"
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"orderId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"readyEmailSentAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"baselineFollowers": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"baselineCapturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean"
},
"postPhotosAsReel": {
"type": "boolean"
},
"reelSlideMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
]
},
"learningResetAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditGraceSince": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"billingCycleId": {
"type": "string",
"format": "uuid"
},
"nextCreditDeductionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renewalWarningSentFor": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditReleasedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"etaGoLive": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etaLastChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingCompletedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingSessionsCompleted": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"warmingSessionsRequired": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"nextSessionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"detailsLockedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileVersion": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"profileAppliedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"profileApplyStatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileApplyDetail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileAppliedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotPostsPerDay": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"autopilotPausedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotFailures": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"autopilotTrial": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotTemplateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotTemplateHandle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotTemplatePlatform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"autopilotFreshPhotos": {
"type": "boolean"
},
"autopilotBackgroundScene": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSubjectPin": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotPostIdea": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSettingsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotCrosspostFrom": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotSlideshows": {
"type": "boolean"
},
"autopilotHookDemo": {
"type": "boolean"
},
"autopilotDemoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"autopilotDemoCallToAction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotDemoFilmed": {
"type": "boolean"
},
"autopilotDemoFreshHooks": {
"type": "boolean"
},
"autopilotDemoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"testPostChoice": {
"anyOf": [
{
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"autopilotTemplate": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"type": "integer"
}
},
"required": [
"id",
"coverUrl",
"hook",
"handle",
"freshPhotosCreditCost"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"platform",
"handle",
"displayName",
"bio",
"profilePhotoMediaId",
"uploadPostProfileId",
"connectionStatus",
"kind",
"orderId",
"country",
"readyEmailSentAt",
"baselineFollowers",
"baselineCapturedAt",
"learningEnabled",
"aiLabel",
"postPhotosAsReel",
"reelSlideMs",
"reelTransition",
"learningResetAt",
"creditGraceSince",
"billingCycleId",
"nextCreditDeductionAt",
"renewalWarningSentFor",
"creditReleasedAt",
"keywords",
"etaGoLive",
"etaLastChangedAt",
"warmingCompletedAt",
"warmingSessionsCompleted",
"warmingSessionsRequired",
"nextSessionAt",
"detailsLockedAt",
"profileVersion",
"profileAppliedVersion",
"profileApplyStatus",
"profileApplyDetail",
"profileAppliedAt",
"profileChangedAt",
"autopilotPostsPerDay",
"autopilotPausedReason",
"autopilotFailures",
"autopilotTrial",
"autopilotTemplateSourceId",
"autopilotTemplateHandle",
"autopilotTemplatePlatform",
"autopilotFreshPhotos",
"autopilotBackgroundScene",
"autopilotSubjectPin",
"autopilotPostIdea",
"autopilotSettingsAt",
"autopilotCrosspostFrom",
"autopilotSlideshows",
"autopilotHookDemo",
"autopilotDemoMediaIds",
"autopilotDemoCallToAction",
"autopilotDemoFilmed",
"autopilotDemoFreshHooks",
"autopilotDemoFace",
"testPostChoice",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}delete_accountWrite
Delete or disconnect an account under the app's existing rules. This can stop its scheduled posting. Only call when the user explicitly requests it and confirm=true.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
account_id | Yes | uuid |
confirm | Yes | true |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"account_id": "11111111-1111-4111-8111-111111111111",
"confirm": true,
"idempotency_key": "delete_account-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"account_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"account_id"
]
},
{
"type": "object",
"properties": {
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"confirm"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, workspaceId, influencerId, platform, handle, displayName, bio, profilePhotoMediaId, uploadPostProfileId, connectionStatus, kind, orderId, country, readyEmailSentAt, baselineFollowers, baselineCapturedAt, learningEnabled, aiLabel, postPhotosAsReel, reelSlideMs, reelTransition, learningResetAt, creditGraceSince, billingCycleId, nextCreditDeductionAt, renewalWarningSentFor, creditReleasedAt, keywords, etaGoLive, etaLastChangedAt, warmingCompletedAt, warmingSessionsCompleted, warmingSessionsRequired, nextSessionAt, detailsLockedAt, profileVersion, profileAppliedVersion, profileApplyStatus, profileApplyDetail, profileAppliedAt, profileChangedAt, autopilotPostsPerDay, autopilotPausedReason, autopilotFailures, autopilotTrial, autopilotTemplateSourceId, autopilotTemplateHandle, autopilotTemplatePlatform, autopilotFreshPhotos, autopilotBackgroundScene, autopilotSubjectPin, autopilotPostIdea, autopilotSettingsAt, autopilotCrosspostFrom, autopilotSlideshows, autopilotHookDemo, autopilotDemoMediaIds, autopilotDemoCallToAction, autopilotDemoFilmed, autopilotDemoFreshHooks, autopilotDemoFace, testPostChoice, createdAt, updatedAt, profilePhotoUrl, timezone, autopilotTemplate.
{
"id": "11111111-1111-4111-8111-111111111111",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"platform": "tiktok",
"handle": "Example",
"uploadPostProfileId": "Example",
"connectionStatus": "pending",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"uploadPostProfileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"connectionStatus": {
"type": "string",
"enum": [
"pending",
"live",
"warming",
"provisioning",
"waitlisted",
"paused",
"disconnected"
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"orderId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"readyEmailSentAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"baselineFollowers": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"baselineCapturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean"
},
"postPhotosAsReel": {
"type": "boolean"
},
"reelSlideMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
]
},
"learningResetAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditGraceSince": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"billingCycleId": {
"type": "string",
"format": "uuid"
},
"nextCreditDeductionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renewalWarningSentFor": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditReleasedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"etaGoLive": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etaLastChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingCompletedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingSessionsCompleted": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"warmingSessionsRequired": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"nextSessionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"detailsLockedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileVersion": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"profileAppliedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"profileApplyStatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileApplyDetail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileAppliedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotPostsPerDay": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"autopilotPausedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotFailures": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"autopilotTrial": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotTemplateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotTemplateHandle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotTemplatePlatform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"autopilotFreshPhotos": {
"type": "boolean"
},
"autopilotBackgroundScene": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSubjectPin": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotPostIdea": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSettingsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotCrosspostFrom": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotSlideshows": {
"type": "boolean"
},
"autopilotHookDemo": {
"type": "boolean"
},
"autopilotDemoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"autopilotDemoCallToAction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotDemoFilmed": {
"type": "boolean"
},
"autopilotDemoFreshHooks": {
"type": "boolean"
},
"autopilotDemoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"testPostChoice": {
"anyOf": [
{
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"autopilotTemplate": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"type": "integer"
}
},
"required": [
"id",
"coverUrl",
"hook",
"handle",
"freshPhotosCreditCost"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"platform",
"handle",
"displayName",
"bio",
"profilePhotoMediaId",
"uploadPostProfileId",
"connectionStatus",
"kind",
"orderId",
"country",
"readyEmailSentAt",
"baselineFollowers",
"baselineCapturedAt",
"learningEnabled",
"aiLabel",
"postPhotosAsReel",
"reelSlideMs",
"reelTransition",
"learningResetAt",
"creditGraceSince",
"billingCycleId",
"nextCreditDeductionAt",
"renewalWarningSentFor",
"creditReleasedAt",
"keywords",
"etaGoLive",
"etaLastChangedAt",
"warmingCompletedAt",
"warmingSessionsCompleted",
"warmingSessionsRequired",
"nextSessionAt",
"detailsLockedAt",
"profileVersion",
"profileAppliedVersion",
"profileApplyStatus",
"profileApplyDetail",
"profileAppliedAt",
"profileChangedAt",
"autopilotPostsPerDay",
"autopilotPausedReason",
"autopilotFailures",
"autopilotTrial",
"autopilotTemplateSourceId",
"autopilotTemplateHandle",
"autopilotTemplatePlatform",
"autopilotFreshPhotos",
"autopilotBackgroundScene",
"autopilotSubjectPin",
"autopilotPostIdea",
"autopilotSettingsAt",
"autopilotCrosspostFrom",
"autopilotSlideshows",
"autopilotHookDemo",
"autopilotDemoMediaIds",
"autopilotDemoCallToAction",
"autopilotDemoFilmed",
"autopilotDemoFreshHooks",
"autopilotDemoFace",
"testPostChoice",
"createdAt",
"updatedAt",
"workspaceId",
"brandName"
],
"additionalProperties": true
}order_warmed_accountWrite
Order managed (warmed) accounts, one per platform. Costs 2000 credits per platform, then each account renews monthly for 2000 credits starting a month after it goes live, and its posting pauses when the balance is short. Needs a plan that allows accounts, so confirm the order, its cost and the renewal with the user first. Returns the created accounts; the Amplify team sets them up from the order.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
influencerId | No / conditional | uuid |
displayName | Yes | stringminLength: 1maxLength: 30 |
bio | No / conditional | stringmaxLength: 80 |
profilePhotoMediaId | No / conditional | uuid |
country | Yes | "us" | "uk" | "sg" | "ph" |
keywords | No / conditional | arraymaxItems: 10 |
platforms | Yes | arrayminItems: 1 |
handle | No / conditional | string |
testPostChoice | No / conditional | "simple" | "from_my_posts" | "upload_own"default: "simple" |
copyHandle | No / conditional | stringmaxLength: 500 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"displayName": "Example",
"country": "us",
"platforms": [
"tiktok"
],
"idempotency_key": "order_warmed_account-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"influencerId": {
"type": "string",
"format": "uuid"
},
"displayName": {
"type": "string",
"minLength": 1,
"maxLength": 30
},
"bio": {
"type": "string",
"maxLength": 80
},
"profilePhotoMediaId": {
"type": "string",
"format": "uuid"
},
"country": {
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"maxItems": 10
},
"platforms": {
"type": "array",
"items": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"minItems": 1
},
"handle": {
"type": "string"
},
"testPostChoice": {
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
],
"default": "simple"
},
"copyHandle": {
"type": "string",
"maxLength": 500
}
},
"required": [
"displayName",
"country",
"platforms"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: result.
{
"result": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"result": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"influencerId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"platform": {
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"displayName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profilePhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"uploadPostProfileId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"connectionStatus": {
"type": "string",
"enum": [
"pending",
"live",
"warming",
"provisioning",
"waitlisted",
"paused",
"disconnected"
]
},
"kind": {
"type": "string",
"enum": [
"self_connected",
"warmed"
]
},
"orderId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"country": {
"anyOf": [
{
"type": "string",
"enum": [
"us",
"uk",
"sg",
"ph"
]
},
{
"type": "null"
}
]
},
"readyEmailSentAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"baselineFollowers": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"baselineCapturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"learningEnabled": {
"type": "boolean"
},
"aiLabel": {
"type": "boolean"
},
"postPhotosAsReel": {
"type": "boolean"
},
"reelSlideMs": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"reelTransition": {
"type": "string",
"enum": [
"dissolve",
"fade",
"cut"
]
},
"learningResetAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditGraceSince": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"billingCycleId": {
"type": "string",
"format": "uuid"
},
"nextCreditDeductionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"renewalWarningSentFor": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"creditReleasedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"etaGoLive": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etaLastChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingCompletedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"warmingSessionsCompleted": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"warmingSessionsRequired": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"nextSessionAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"detailsLockedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileVersion": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"profileAppliedVersion": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"profileApplyStatus": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileApplyDetail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"profileAppliedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"profileChangedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotPostsPerDay": {
"anyOf": [
{
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"autopilotPausedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotFailures": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"autopilotTrial": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotTemplateSourceId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotTemplateHandle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotTemplatePlatform": {
"anyOf": [
{
"type": "string",
"enum": [
"tiktok",
"instagram",
"facebook",
"youtube"
]
},
{
"type": "null"
}
]
},
"autopilotFreshPhotos": {
"type": "boolean"
},
"autopilotBackgroundScene": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSubjectPin": {
"anyOf": [
{
"anyOf": [
{
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
]
},
{
"type": "array",
"items": {}
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"autopilotPostIdea": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotSettingsAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"autopilotCrosspostFrom": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"autopilotSlideshows": {
"type": "boolean"
},
"autopilotHookDemo": {
"type": "boolean"
},
"autopilotDemoMediaIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"autopilotDemoCallToAction": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"autopilotDemoFilmed": {
"type": "boolean"
},
"autopilotDemoFreshHooks": {
"type": "boolean"
},
"autopilotDemoFace": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"testPostChoice": {
"anyOf": [
{
"type": "string",
"enum": [
"simple",
"from_my_posts",
"upload_own"
]
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"profilePhotoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"autopilotTemplate": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"coverUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"freshPhotosCreditCost": {
"type": "integer"
}
},
"required": [
"id",
"coverUrl",
"hook",
"handle",
"freshPhotosCreditCost"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"influencerId",
"platform",
"handle",
"displayName",
"bio",
"profilePhotoMediaId",
"uploadPostProfileId",
"connectionStatus",
"kind",
"orderId",
"country",
"readyEmailSentAt",
"baselineFollowers",
"baselineCapturedAt",
"learningEnabled",
"aiLabel",
"postPhotosAsReel",
"reelSlideMs",
"reelTransition",
"learningResetAt",
"creditGraceSince",
"billingCycleId",
"nextCreditDeductionAt",
"renewalWarningSentFor",
"creditReleasedAt",
"keywords",
"etaGoLive",
"etaLastChangedAt",
"warmingCompletedAt",
"warmingSessionsCompleted",
"warmingSessionsRequired",
"nextSessionAt",
"detailsLockedAt",
"profileVersion",
"profileAppliedVersion",
"profileApplyStatus",
"profileApplyDetail",
"profileAppliedAt",
"profileChangedAt",
"autopilotPostsPerDay",
"autopilotPausedReason",
"autopilotFailures",
"autopilotTrial",
"autopilotTemplateSourceId",
"autopilotTemplateHandle",
"autopilotTemplatePlatform",
"autopilotFreshPhotos",
"autopilotBackgroundScene",
"autopilotSubjectPin",
"autopilotPostIdea",
"autopilotSettingsAt",
"autopilotCrosspostFrom",
"autopilotSlideshows",
"autopilotHookDemo",
"autopilotDemoMediaIds",
"autopilotDemoCallToAction",
"autopilotDemoFilmed",
"autopilotDemoFreshHooks",
"autopilotDemoFace",
"testPostChoice",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"result",
"workspaceId",
"brandName"
],
"additionalProperties": true
}Jobs and frame review
get_jobRead
Read generation or render progress, result IDs, cancellation availability, and video frames awaiting approval. Use get_content or get_media_url for finished previews. Poll about every 2 seconds while work is active.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
job_id | Yes | uuid |
Input example
{
"job_id": "11111111-1111-4111-8111-111111111111"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"job_id"
]
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: id, type, status, progressStage, runAt, retryCount, claimedAt, providerJobId, priority, result, error, supportSessionId, createdAt, updatedAt, canCancel, canRetry, frameReview, hookDemo.
{
"id": "11111111-1111-4111-8111-111111111111",
"status": "queued",
"progressStage": null,
"result": null,
"error": null,
"canCancel": true,
"canRetry": false,
"frameReview": null,
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "11111111-1111-4111-8111-111111111111",
"workspace_id": "11111111-1111-4111-8111-111111111111"
},
"pollIntervalMs": 2000
},
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"type": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"waiting_provider",
"completed",
"failed",
"cancelled",
"awaiting_review",
"held"
]
},
"progressStage": {
"anyOf": [
{
"type": "string",
"enum": [
"preparing",
"planning",
"selecting_photos",
"rendering_images",
"creating_frames",
"speaking",
"rendering_video",
"composing_video",
"saving",
"adding_visual_inserts"
]
},
{
"type": "null"
}
]
},
"runAt": {
"type": "string",
"format": "date-time"
},
"retryCount": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"claimedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"providerJobId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"priority": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"result": {
"anyOf": [
{
"anyOf": [
{
"type": "object",
"properties": {
"contentItemId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"mediaAssetIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
}
},
"required": [
"contentItemId",
"mediaAssetIds"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"contentItemIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"requested": {
"type": "integer",
"minimum": 0
}
},
"required": [
"contentItemIds",
"requested"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"brand_build"
]
},
"sources": {
"type": "object",
"properties": {
"website": {
"type": "string",
"enum": [
"ok",
"not_found",
"private",
"unavailable",
"failed",
"skipped"
]
},
"tiktok": {
"type": "string",
"enum": [
"ok",
"not_found",
"private",
"unavailable",
"failed",
"skipped"
]
},
"instagram": {
"type": "string",
"enum": [
"ok",
"not_found",
"private",
"unavailable",
"failed",
"skipped"
]
}
},
"required": [
"website",
"tiktok",
"instagram"
],
"additionalProperties": false
},
"sitePhotosExpected": {
"type": "boolean"
},
"socialPhotosExpected": {
"type": "boolean"
}
},
"required": [
"kind",
"sources",
"sitePhotosExpected",
"socialPhotosExpected"
],
"additionalProperties": false
},
{
"type": "object",
"additionalProperties": {}
}
]
},
{
"type": "null"
}
]
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"supportSessionId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"canCancel": {
"type": "boolean"
},
"canRetry": {
"type": "boolean"
},
"frameReview": {
"anyOf": [
{
"type": "object",
"properties": {
"frames": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"reshootsLeft": {
"type": "integer",
"minimum": 0
}
},
"required": [
"url",
"reshootsLeft"
],
"additionalProperties": false
}
},
"expiresAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"frames",
"expiresAt"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"hookDemo": {
"anyOf": [
{
"type": "object",
"properties": {
"viralHookId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"hookLine": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"relation": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"id",
"relation",
"text"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"demoMediaId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"readyMadeId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"readyMadeHook": {
"type": "boolean"
}
},
"required": [
"viralHookId",
"hookLine",
"demoMediaId",
"readyMadeId",
"readyMadeHook"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"id",
"type",
"status",
"progressStage",
"runAt",
"retryCount",
"claimedAt",
"providerJobId",
"priority",
"result",
"error",
"supportSessionId",
"createdAt",
"updatedAt",
"canCancel",
"canRetry",
"frameReview",
"hookDemo",
"workspaceId",
"brandName"
],
"additionalProperties": true
}list_jobsRead
List active jobs in this workspace, including generation and timeline renders.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
Input example
{}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {}
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: feedbackPending, items.
{
"items": [],
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand"
}Full result schema
{
"type": "object",
"properties": {
"feedbackPending": {
"type": "boolean"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"kind": {
"type": "string",
"enum": [
"face_swap",
"multiply",
"tweak",
"improve_photo",
"improve_video",
"photo_shoot",
"video_shoot",
"post",
"video_render",
"discover_refresh",
"research_refresh",
"brand_refresh"
]
},
"count": {
"type": "integer",
"exclusiveMinimum": true,
"minimum": 0
},
"creatorName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"creatorPhotoMediaId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"sourceContentItemId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"canCancel": {
"type": "boolean"
},
"cancelIds": {
"type": "array",
"items": {
"type": "string",
"format": "uuid"
}
},
"ready": {
"type": "integer",
"minimum": 0
},
"awaitingReview": {
"type": "boolean"
},
"href": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"kind",
"count",
"creatorName",
"creatorPhotoMediaId",
"sourceContentItemId",
"canCancel",
"cancelIds",
"ready",
"awaitingReview",
"href"
],
"additionalProperties": false
}
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"feedbackPending",
"items",
"workspaceId",
"brandName"
],
"additionalProperties": true
}cancel_jobWrite
Stop a job only when its result says canCancel. Work that has already spent credits cannot be stopped.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
job_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"job_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "cancel_job-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"job_id"
]
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, status.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"status": "cancelled",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"cancelled"
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"status",
"workspaceId",
"brandName"
],
"additionalProperties": true
}approve_video_framesWrite
Approve the opening frames shown by get_job and continue the already-reserved video render. Only do this after the user approves the previews.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
job_id | Yes | uuid |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"job_id": "11111111-1111-4111-8111-111111111111",
"idempotency_key": "approve_video_frames-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"job_id"
]
},
{
"type": "object",
"properties": {}
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, status.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"status": "queued",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"queued"
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"status",
"workspaceId",
"brandName"
],
"additionalProperties": true
}reshoot_video_frameWrite
Reshoot an opening frame with an optional note before video rendering. Subsequent frames are also redrawn. get_job shows the remaining reshoots.
Parameters
| Name | Required | Type and constraints |
|---|---|---|
workspace_id | No / conditional | uuid |
job_id | Yes | uuid |
note | No / conditional | stringmaxLength: 300 |
index | Yes | integerminimum: 0 |
idempotency_key | Yes | stringminLength: 1maxLength: 200 |
Input example
{
"job_id": "11111111-1111-4111-8111-111111111111",
"index": 0,
"idempotency_key": "reshoot_video_frame-example-1"
}Full input schema
{
"allOf": [
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
}
}
},
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"job_id"
]
},
{
"type": "object",
"properties": {
"note": {
"type": "string",
"maxLength": 300
}
}
},
{
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 0
}
},
"required": [
"index"
]
},
{
"type": "object",
"properties": {
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"idempotency_key"
]
}
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Result
Every result identifies workspaceId and brandName. Other result fields: jobId, status.
{
"jobId": "44444444-4444-4444-8444-444444444444",
"status": "queued",
"workspaceId": "11111111-1111-4111-8111-111111111111",
"brandName": "Example brand",
"nextAction": {
"tool": "get_job",
"arguments": {
"job_id": "44444444-4444-4444-8444-444444444444",
"workspace_id": "11111111-1111-4111-8111-111111111111"
}
}
}Full result schema
{
"type": "object",
"properties": {
"jobId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"queued"
]
},
"workspaceId": {
"type": "string",
"format": "uuid"
},
"brandName": {
"type": "string"
},
"creditBalance": {
"type": "number",
"description": "Added after a call reserves credits; not guaranteed on free calls."
},
"nextAction": {
"type": "object",
"description": "Present on uploads, job results, and calls returning a jobId; see workflows."
}
},
"required": [
"jobId",
"status",
"workspaceId",
"brandName"
],
"additionalProperties": true
}Internal-only tools
Amplify team accounts can additionally discover list_feedback_tickets, get_feedback_ticket, update_feedback_ticket, add_feedback_note, and bump_feedback_ticket. These are not available to ordinary customer accounts and are outside this customer reference.