API reference

Everything the cuil.si API can do (188 operations), grouped by area. Each one shows what to send, what comes back and a curl example. New here? Start with the overview.

Base URL https://cuil.si/api/v1. Stable operations keep working for all of v1; beta ones can change with 30 days' notice.

Jump to an operation

Account

Who the API key acts as, and the workspace's credits.

get/api/v1/credits

The workspace's credit balance and when credits next expire.

getCreditsStableRead-only keys can use thisPermission: account:read

Answer: 200 OK.

A CreditsOut:

  • balanceintegerrequired
  • lowbooleanrequired

    The balance is below 10% of the starting credits.

  • expiringCreditExpiringOut or null

    The soonest day credits expire (credits are valid for 12 months from the day they're added, oldest used first); null when none will.

  • valid_forstring or null

    How long added credits are valid, e.g. "12 months"; null when credits never expire.

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/credits" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/credits/ledger

Credits added and used, newest first.

listCreditHistoryStableRead-only keys can use thisPermission: account:read

Parameters

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/credits/ledger" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/company

Enterprise workspaces: their Enterprise tools, and how many people have two-step sign-in on (403 enterprise_only in other workspaces).

getEnterpriseBetaRead-only keys can use thisPermission: account:read

Your cuil.si Enterprise: until when, its tools, and how many people here have two-step sign-in on. Enterprise workspaces only (403 enterprise_only elsewhere); owners and admins.

Answer: 200 OK.

A CompanyOut:

  • enterprisebooleanrequired
  • toolslist of CompanyToolrequired
  • peopleintegerrequired
  • people_with_two_stepintegerrequired
  • ends_onstring or null

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/company" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/company/audit-log

Enterprise workspaces: who did what, people and AI alike (sign-ins, the team and roles, API keys, downloads, settings and AI jobs), newest first, a page at a time. A key with Team access (403 enterprise_only in other workspaces).

listAuditLogBetaRead-only keys can use thisPermission: account:read

Who did what in this workspace, people and AI alike, newest first: sign-ins, the team and roles, Enterprise, API keys, downloads, settings and AI jobs. Enterprise workspaces only; owners and admins.

Parameters

  • user_idin the querystring or null

    Up to 64 characters.

  • kindin the querystring or null

    Up to 20 characters.

  • fromin the querystring or null

    Up to 10 characters.

  • toin the querystring or null

    Up to 10 characters.

  • cursorin the querystring or null

    Up to 80 characters.

  • limitin the queryinteger

    From 1 to 100. Default: 50.

Answer: 200 OK.

object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/company/audit-log" \
  -H "Authorization: Bearer $CUILSI_API_KEY"

Create

Images, videos, voice-overs, transcripts and written posts. These use credits.

get/api/v1/ai/models

The AI models you can use, grouped by kind and mode.

listModelsStableRead-only keys can use thisPermission: create:read

Available models grouped by kind and mode, with the model each quality level uses.

Answer: 200 OK.

object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/ai/models" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/ai/styles

The styles you can ask for instead of a model, with about what each quality costs.

listStylesStableRead-only keys can use thisPermission: create:read

The styles you can ask for instead of a model (pass `style` to POST /generations or /generations/estimate), by kind and mode, Auto first: each style's key, label, what it is best at, about how many credits one request costs at each quality (one picture, or a 5 s clip; the estimate gives the exact price) and what it can take.

Answer: 200 OK.

object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/ai/styles" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/ai/enhance

Rewrite a short idea into a detailed prompt.

enhancePromptStablePermission: create:write

Body (JSON)

A EnhanceRequest:

  • textstringrequired

    1 to 20000 characters.

  • targetstring

    One of: image, video, shot, post. Default: image.

  • brand_idstring or null
  • character_idslist of string

    Up to 10 items.

  • model_idstring or null

    Up to 100 characters.

  • references_countinteger

    From 0 to 12. Default: 0.

  • duration_snumber or null

    From 1 to 60.

  • generationGenerationCreate or null
  • writerstring or null

    Up to 100 characters.

Answer: 200 OK.

A EnhanceOut:

  • promptstringrequired

    1 to 4000 characters.

  • negative_promptstring or null

    Up to 1000 characters.

  • notesstring

    Up to 1000 characters.

  • writerstring

    Default: everyday.

  • writer_labelstring

    Default: Everyday.

  • writer_notestring or null
  • premium_creditsinteger

    Default: 0.

Can also answer 400, 401, 402, 403, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/ai/enhance" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Our summer cold brew is back!"
}'
post/api/v1/generations/estimate

How many credits a generation would use.

estimateGenerationStablePermission: create:write

Parameters

  • optionsin the queryboolean

    Default: false.

Body (JSON)

A GenerationCreate:

  • kindstringrequired

    One of: image, video, tts, stt, music, sfx, voice_change, upscale, lipsync.

  • modestringrequired

    One of: t2i, edit, t2v, i2v, r2v, tts, stt, continue, music, sfx, voice_change, video_upscale, lipsync.

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • model_idstring or null

    Up to 100 characters.

  • stylestring or null

    Up to 40 characters.

  • promptstring

    Up to 20000 characters.

  • negative_promptstring or null

    Up to 2000 characters.

  • enhanceboolean

    Default: true.

  • brand_idstring or null
  • character_idslist of string

    Up to 10 items.

  • input_asset_idslist of string

    Up to 12 items.

  • input_roleslist of string or null

    Up to 12 items.

  • input_noteslist of string or null

    Up to 12 items.

  • sourcestring

    One of: create, movie, workflow, editor, api, presentation, long_video. Default: create.

  • logoLogoRequest or null
  • use_product_photosboolean

    Default: false.

  • enhanced_promptstring or null

    Up to 4400 characters.

Answer: 200 OK.

A EstimateOut:

Can also answer 400, 401, 402, 403, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/generations/estimate" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "image",
  "mode": "t2i"
}'
get/api/v1/generations

Your generations, newest first.

listGenerationsStableRead-only keys can use thisPermission: create:read

Parameters

  • kindin the querystring or null

    One of: image, video, tts, stt, music, sfx, voice_change, upscale, lipsync.

  • sourcein the querystring or null

    One of: create, movie, workflow, editor, api, presentation, long_video.

  • statusin the querystring or null

    One of: queued, running, succeeded, failed, active.

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A GenerationPage:

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/generations" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/generations

Start an image, video, voice-over or transcript. Answers at once with its id.

createGenerationStableRetry-safePermission: create:write

Body (JSON)

A GenerationCreate:

  • kindstringrequired

    One of: image, video, tts, stt, music, sfx, voice_change, upscale, lipsync.

  • modestringrequired

    One of: t2i, edit, t2v, i2v, r2v, tts, stt, continue, music, sfx, voice_change, video_upscale, lipsync.

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • model_idstring or null

    Up to 100 characters.

  • stylestring or null

    Up to 40 characters.

  • promptstring

    Up to 20000 characters.

  • negative_promptstring or null

    Up to 2000 characters.

  • enhanceboolean

    Default: true.

  • brand_idstring or null
  • character_idslist of string

    Up to 10 items.

  • input_asset_idslist of string

    Up to 12 items.

  • input_roleslist of string or null

    Up to 12 items.

  • input_noteslist of string or null

    Up to 12 items.

  • sourcestring

    One of: create, movie, workflow, editor, api, presentation, long_video. Default: create.

  • logoLogoRequest or null
  • use_product_photosboolean

    Default: false.

  • enhanced_promptstring or null

    Up to 4400 characters.

Answer: 202 Accepted: it carries on in the background.

A GenerationOut:

  • idstringrequired
  • kindstringrequired
  • modestringrequired
  • tierstringrequired
  • model_idstringrequired
  • model_labelstringrequired
  • promptstringrequired
  • paramsobjectrequired
  • sourcestringrequired
  • statusstringrequired
  • credits_estimatedintegerrequired
  • created_atstringrequired
  • updated_atstringrequired
  • stylestring or null
  • style_labelstring or null
  • style_notestring or null
  • enhanced_promptstring or null
  • negative_promptstring or null
  • input_asset_idslist of string
  • input_roleslist of string
  • input_noteslist of string
  • brand_idstring or null
  • character_idslist of string
  • progressinteger

    Default: 0.

  • progress_messagestring or null
  • errorstring or null
  • output_asset_idslist of string
  • outputslist of AssetOut
  • logoLogoOut or null
  • outputs_without_logolist of AssetOut
  • extended_fromstring or null
  • extendsExtendsOut or null
  • resultobject or null
  • credits_chargedinteger or null
  • completed_atstring or null

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/generations" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "image",
  "mode": "t2i"
}'
get/api/v1/generations/{generation_id}

One generation, with its status and files.

getGenerationStableRead-only keys can use thisPermission: create:read

Parameters

  • generation_idin the pathstringrequired

Answer: 200 OK.

A GenerationOut:

  • idstringrequired
  • kindstringrequired
  • modestringrequired
  • tierstringrequired
  • model_idstringrequired
  • model_labelstringrequired
  • promptstringrequired
  • paramsobjectrequired
  • sourcestringrequired
  • statusstringrequired
  • credits_estimatedintegerrequired
  • created_atstringrequired
  • updated_atstringrequired
  • stylestring or null
  • style_labelstring or null
  • style_notestring or null
  • enhanced_promptstring or null
  • negative_promptstring or null
  • input_asset_idslist of string
  • input_roleslist of string
  • input_noteslist of string
  • brand_idstring or null
  • character_idslist of string
  • progressinteger

    Default: 0.

  • progress_messagestring or null
  • errorstring or null
  • output_asset_idslist of string
  • outputslist of AssetOut
  • logoLogoOut or null
  • outputs_without_logolist of AssetOut
  • extended_fromstring or null
  • extendsExtendsOut or null
  • resultobject or null
  • credits_chargedinteger or null
  • completed_atstring or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/generations/GENERATION_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/create/networks

The social networks posts can be written for.

listNetworksStableRead-only keys can use thisPermission: create:read

Answer: 200 OK.

list of NetworkOut

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/create/networks" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/create/posts/write

Write a social post with AI, in your brand's voice.

writePostStableRetry-safePermission: create:write

Write one post per network from a brief (1 credit) and save it as a draft.

Body (JSON)

A WritePostRequest:

  • briefstringrequired

    1 to 4000 characters.

  • enhanced_briefstring or null

    Up to 4000 characters.

  • networkslist of string

    Up to 6 items. Default: ["instagram","linkedin","facebook"].

  • brand_idstring or null
  • tonestring or null

    Up to 40 characters.

  • languagestring or null

    Up to 40 characters.

  • lengthstring

    One of: short, medium, long. Default: medium.

  • hashtagsboolean

    Default: true.

  • emojisboolean

    Default: true.

  • asset_idslist of string

    Up to 10 items.

  • writerstring or null

    One of: auto, everyday, creative, smart_stories, smart_precise.

Answer: 201 Created.

A PostDraftOut:

  • idstringrequired
  • briefstringrequired
  • networkslist of stringrequired
  • lengthstringrequired
  • hashtagsbooleanrequired
  • emojisbooleanrequired
  • variantslist of VariantOutrequired
  • created_atstringrequired
  • updated_atstringrequired
  • enhanced_briefstring or null
  • brand_idstring or null
  • tonestring or null
  • languagestring or null
  • asset_idslist of string
  • assetslist of AssetOut
  • writer_usedWriterUsedOut or null
  • noteslist of string

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/create/posts/write" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "brief": "..."
}'
get/api/v1/create/posts

Written post drafts, newest first.

listPostDraftsStableRead-only keys can use thisPermission: create:read

Parameters

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A PostDraftPage:

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/create/posts" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/create/posts/{draft_id}

One post draft.

getPostDraftStableRead-only keys can use thisPermission: create:read

Parameters

  • draft_idin the pathstringrequired

Answer: 200 OK.

A PostDraftOut:

  • idstringrequired
  • briefstringrequired
  • networkslist of stringrequired
  • lengthstringrequired
  • hashtagsbooleanrequired
  • emojisbooleanrequired
  • variantslist of VariantOutrequired
  • created_atstringrequired
  • updated_atstringrequired
  • enhanced_briefstring or null
  • brand_idstring or null
  • tonestring or null
  • languagestring or null
  • asset_idslist of string
  • assetslist of AssetOut
  • writer_usedWriterUsedOut or null
  • noteslist of string

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/create/posts/DRAFT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/create/posts/{draft_id}

Change a post draft.

updatePostDraftStablePermission: create:write

Parameters

  • draft_idin the pathstringrequired

Body (JSON)

A PostDraftUpdate:

  • briefstring or null

    1 to 4000 characters.

  • variantslist of VariantEdit or null

    Up to 6 items.

  • asset_idslist of string or null

    Up to 10 items.

  • brand_idstring or null

Answer: 200 OK.

A PostDraftOut:

  • idstringrequired
  • briefstringrequired
  • networkslist of stringrequired
  • lengthstringrequired
  • hashtagsbooleanrequired
  • emojisbooleanrequired
  • variantslist of VariantOutrequired
  • created_atstringrequired
  • updated_atstringrequired
  • enhanced_briefstring or null
  • brand_idstring or null
  • tonestring or null
  • languagestring or null
  • asset_idslist of string
  • assetslist of AssetOut
  • writer_usedWriterUsedOut or null
  • noteslist of string

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/create/posts/DRAFT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "brief": "...",
  "variants": [
    {
      "network": "...",
      "text": "Our summer cold brew is back!"
    }
  ],
  "asset_ids": [
    "ASSET_ID"
  ]
}'
delete/api/v1/create/posts/{draft_id}

Delete a post draft.

deletePostDraftStablePermission: create:write

Parameters

  • draft_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/create/posts/DRAFT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/create/posts/{draft_id}/rewrite

Rewrite a post draft (shorter, friendlier, and so on).

rewritePostStableRetry-safePermission: create:write

Rewrite one network's post with an instruction (1 credit). The other networks stay the same.

Parameters

  • draft_idin the pathstringrequired

Body (JSON)

A RewriteRequest:

  • networkstringrequired
  • instructionstringrequired

    1 to 500 characters.

  • writerstring or null

    One of: auto, everyday, creative, smart_stories, smart_precise.

Answer: 200 OK.

A PostDraftOut:

  • idstringrequired
  • briefstringrequired
  • networkslist of stringrequired
  • lengthstringrequired
  • hashtagsbooleanrequired
  • emojisbooleanrequired
  • variantslist of VariantOutrequired
  • created_atstringrequired
  • updated_atstringrequired
  • enhanced_briefstring or null
  • brand_idstring or null
  • tonestring or null
  • languagestring or null
  • asset_idslist of string
  • assetslist of AssetOut
  • writer_usedWriterUsedOut or null
  • noteslist of string

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/create/posts/DRAFT_ID/rewrite" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "network": "...",
  "instruction": "..."
}'
post/api/v1/create/videos/extend

Make a video longer by continuing its last scene.

extendVideoBetaRetry-safePermission: create:write

Make a video longer with any video model: the same shot carries on with no cut ("continue", a new video holding the whole shot), or a new part starts from the clip's last frame, its last seconds or pictures from its end and is joined after it ("<clip> (extended)"). Returns the generation.

Body (JSON)

A ExtendVideoRequest:

  • asset_idstringrequired
  • promptstringrequired

    1 to 3500 characters.

  • duration_sinteger or null

    From 1 to 60.

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • enhanceboolean

    Default: true.

  • audioboolean or null
  • howstring or null

    One of: continue, clip_end, last_frame, frames.

  • added_secondsinteger or null

    From 2 to 8.

  • model_idstring or null

    1 to 100 characters.

  • enhanced_promptstring or null

    1 to 4000 characters.

  • end_snumber or null

    At most 3600.

Answer: 202 Accepted: it carries on in the background.

A GenerationOut:

  • idstringrequired
  • kindstringrequired
  • modestringrequired
  • tierstringrequired
  • model_idstringrequired
  • model_labelstringrequired
  • promptstringrequired
  • paramsobjectrequired
  • sourcestringrequired
  • statusstringrequired
  • credits_estimatedintegerrequired
  • created_atstringrequired
  • updated_atstringrequired
  • stylestring or null
  • style_labelstring or null
  • style_notestring or null
  • enhanced_promptstring or null
  • negative_promptstring or null
  • input_asset_idslist of string
  • input_roleslist of string
  • input_noteslist of string
  • brand_idstring or null
  • character_idslist of string
  • progressinteger

    Default: 0.

  • progress_messagestring or null
  • errorstring or null
  • output_asset_idslist of string
  • outputslist of AssetOut
  • logoLogoOut or null
  • outputs_without_logolist of AssetOut
  • extended_fromstring or null
  • extendsExtendsOut or null
  • resultobject or null
  • credits_chargedinteger or null
  • completed_atstring or null

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/create/videos/extend" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "asset_id": "ASSET_ID",
  "prompt": "A cozy coffee shop at sunrise, warm light"
}'
get/api/v1/presentations

Your presentation videos, newest first.

listPresentationsBetaRead-only keys can use thisPermission: create:read

Parameters

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/presentations" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/presentations

Start a narrated, animated video from a PDF of slides in your Library. Reading the slides and writing the words is free.

createPresentationBetaRetry-safePermission: create:write

Start from a PDF in the Library: the slides are read and their words written (free).

Body (JSON)

A PresentationCreate:

  • asset_idstringrequired

    Up to 64 characters.

  • titlestring

    Up to 200 characters.

  • modestring

    One of: ai_scenes, keep_slides. Default: ai_scenes.

  • lengthstring

    One of: short, standard, full. Default: standard.

  • languagestring

    Up to 10 characters. Default: en.

  • brand_idstring or null

    Up to 64 characters.

  • wordsstring

    One of: ai, page. Default: ai.

  • writerstring

    Up to 40 characters.

Answer: 201 Created.

object

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/presentations" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "asset_id": "ASSET_ID"
}'
patch/api/v1/presentations/{presentation_id}

Change a presentation video's look, length, voice, music, captions or pictures. Free.

updatePresentationBetaPermission: create:write

The title, the look, the length, the voice, music, captions, style and pictures. Free.

Parameters

  • presentation_idin the pathstringrequired

Body (JSON)

A PresentationPatch:

  • titlestring or null

    Up to 200 characters.

  • modestring or null

    One of: ai_scenes, keep_slides.

  • lengthstring or null

    One of: short, standard, full.

  • voicestring or null

    Up to 100 characters.

  • premium_voiceboolean or null
  • musicboolean or null
  • captionsboolean or null
  • stylestring or null

    One of: clean, bold, warm, brand.

  • picturesstring or null

    One of: photo, illustration, none.

  • brand_idstring or null

    Up to 64 characters.

Answer: 200 OK.

object

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/presentations/PRESENTATION_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Summer launch",
  "mode": "ai_scenes",
  "length": "short"
}'
delete/api/v1/presentations/{presentation_id}

Delete a presentation video. The PDF and the finished videos stay in your Library.

deletePresentationBetaPermission: create:write

Delete it. The PDF and the finished videos stay in the Library.

Parameters

  • presentation_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/presentations/PRESENTATION_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/presentations/{presentation_id}/slides/{slide_id}

Change what the voice says on a slide, or leave the slide out. Free.

updatePresentationSlideBetaPermission: create:write

A slide's words (what the voice says, and how to say a word), its headline and points, its look, or leave it out. Free.

Parameters

  • presentation_idin the pathstringrequired
  • slide_idin the pathintegerrequired

    The slide's number in the deck, from 1.

    From 1 to 500.

Body (JSON)

A PresentationSlidePatch:

  • scriptstring or null

    Up to 1500 characters.

  • saystring or null

    Up to 1500 characters.

  • includedboolean or null
  • lookstring or null

    One of: ai, kept.

  • headlinestring or null

    Up to 70 characters.

  • pointslist of string or null

    Up to 6 items.

Answer: 200 OK.

object

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/presentations/PRESENTATION_ID/slides/SLIDE_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "script": "...",
  "say": "...",
  "included": false
}'
post/api/v1/presentations/{presentation_id}/write

Write the slides' words again. Free; slides you wrote yourself keep your words.

rewritePresentationWordsBetaPermission: create:write

Write the words again (free). Slides you wrote yourself keep your words.

Parameters

  • presentation_idin the pathstringrequired

Answer: 202 Accepted: it carries on in the background.

object

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/presentations/PRESENTATION_ID/write" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/presentations/{presentation_id}/estimate

The price of making the video (or one slide again), and the most it can use.

estimatePresentationBetaRead-only keys can use thisPermission: create:read

One total before anything is made (or for one slide made again), and the most it can use. Free.

Parameters

  • presentation_idin the pathstringrequired
  • slidein the queryinteger or null

    From 1 to 500.

Answer: 200 OK.

object

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/presentations/PRESENTATION_ID/estimate" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/presentations/{presentation_id}/make

Make the video for the total estimatePresentation showed. It is checked and fixed before it's ready.

makePresentationBetaPermission: create:write

Make the video for the total shown: each slide's voice, picture and scene, then the video, checked and fixed before it is shown.

Parameters

  • presentation_idin the pathstringrequired

Body (JSON)

A PresentationMake:

  • total_shownintegerrequired

    At least 0.

Answer: 202 Accepted: it carries on in the background.

object

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/presentations/PRESENTATION_ID/make" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "total_shown": 0
}'
post/api/v1/presentations/{presentation_id}/slides/{slide_id}/remake

Make one slide again with its new words, then the video again.

remakePresentationSlideBetaPermission: create:write

Make one slide again with its new words, then the video again.

Parameters

  • presentation_idin the pathstringrequired
  • slide_idin the pathintegerrequired

    The slide's number in the deck, from 1.

    From 1 to 500.

Body (JSON)

A PresentationMake:

  • total_shownintegerrequired

    At least 0.

Answer: 202 Accepted: it carries on in the background.

object

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/presentations/PRESENTATION_ID/slides/SLIDE_ID/remake" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "total_shown": 0
}'
post/api/v1/presentations/{presentation_id}/stop

Stop making a presentation video. What was made is kept.

stopPresentationBetaPermission: create:write

Stop making it. What was made is kept; nothing more is spent.

Parameters

  • presentation_idin the pathstringrequired

Answer: 200 OK.

object

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/presentations/PRESENTATION_ID/stop" \
  -H "Authorization: Bearer $CUILSI_API_KEY"

Library

Upload, find, rename, tag and delete the files in your Library.

post/api/v1/assets/upload

Upload an image, video or audio file (up to 500 MB).

uploadAssetStablePermission: library:write

Body (a file upload, multipart/form-data)

A UploadAssetBody:

  • filestringrequired
  • brand_idstring or null
  • tagsstring or null
  • folder_idstring or null

    Up to 64 characters.

Answer: 201 Created.

A AssetOut:

  • idstringrequired
  • kindstringrequired
  • sourcestringrequired
  • namestringrequired
  • urlstringrequired
  • content_typestringrequired
  • size_bytesintegerrequired
  • created_atstringrequired
  • download_namestring
  • download_urlstring
  • thumbnail_urlstring or null
  • widthinteger or null
  • heightinteger or null
  • duration_snumber or null
  • tagslist of string
  • brand_idstring or null
  • generation_idstring or null
  • without_logo_idstring or null
  • logo_notestring or null
  • join_notestring or null
  • made_from_idstring or null
  • picture_toolstring or null
  • folder_idstring or null

Can also answer 400, 401, 402, 403, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/assets/upload" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -F "[email protected]"
get/api/v1/assets

Files in your Library, newest first. Filter by kind, tag or search.

listAssetsStableRead-only keys can use thisPermission: library:read

Parameters

  • kindin the querystring or null
  • sourcein the querystring or null
  • brand_idin the querystring or null
  • tagin the querystring or null
  • qin the querystring or null
  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null
  • include_hiddenin the queryboolean

    Default: false.

  • sortin the querystring

    One of: newest, oldest, name, size. Default: newest.

  • folder_idin the querystring or null
  • sincein the querystring (date) or null

    Added on or after this day (UTC).

  • untilin the querystring (date) or null

    Added on or before this day (UTC).

  • made_byin the querystring or null

    "me" or a person's id.

    Up to 64 characters.

Answer: 200 OK.

A AssetPage:

  • itemslist of AssetOutrequired
  • next_cursorstring or null

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/assets" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/assets/{asset_id}

One file, with a link to download it.

getAssetStableRead-only keys can use thisPermission: library:read

Parameters

  • asset_idin the pathstringrequired

Answer: 200 OK.

A AssetOut:

  • idstringrequired
  • kindstringrequired
  • sourcestringrequired
  • namestringrequired
  • urlstringrequired
  • content_typestringrequired
  • size_bytesintegerrequired
  • created_atstringrequired
  • download_namestring
  • download_urlstring
  • thumbnail_urlstring or null
  • widthinteger or null
  • heightinteger or null
  • duration_snumber or null
  • tagslist of string
  • brand_idstring or null
  • generation_idstring or null
  • without_logo_idstring or null
  • logo_notestring or null
  • join_notestring or null
  • made_from_idstring or null
  • picture_toolstring or null
  • folder_idstring or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/assets/ASSET_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/assets/{asset_id}

Rename a file or change its tags.

updateAssetStablePermission: library:write

Parameters

  • asset_idin the pathstringrequired

Body (JSON)

A AssetUpdate:

  • namestring or null

    1 to 300 characters.

  • tagslist of string or null
  • brand_idstring or null

Answer: 200 OK.

A AssetOut:

  • idstringrequired
  • kindstringrequired
  • sourcestringrequired
  • namestringrequired
  • urlstringrequired
  • content_typestringrequired
  • size_bytesintegerrequired
  • created_atstringrequired
  • download_namestring
  • download_urlstring
  • thumbnail_urlstring or null
  • widthinteger or null
  • heightinteger or null
  • duration_snumber or null
  • tagslist of string
  • brand_idstring or null
  • generation_idstring or null
  • without_logo_idstring or null
  • logo_notestring or null
  • join_notestring or null
  • made_from_idstring or null
  • picture_toolstring or null
  • folder_idstring or null

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/assets/ASSET_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "tags": [
    "..."
  ],
  "brand_id": "BRAND_ID"
}'
delete/api/v1/assets/{asset_id}

Delete a file from your Library.

deleteAssetStablePermission: library:write

Delete one file for good (no Trash for Library files): refused under a legal hold (GIN-560, 409 legal_hold).

Parameters

  • asset_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/assets/ASSET_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"

Brands and characters

Brand kits and the characters that appear in your images and films.

get/api/v1/brands

Your brand kits.

listBrandsStableRead-only keys can use thisPermission: brand:read

Answer: 200 OK.

list of BrandOut

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/brands" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/brands

Add a brand kit.

createBrandStableRetry-safePermission: brand:write

Body (JSON)

A BrandCreate:

  • namestringrequired

    1 to 200 characters.

  • taglinestring

    Up to 200 characters.

  • contact_emailstring

    Up to 320 characters.

  • website_urlstring or null

    Up to 2000 characters.

  • phonestring or null

    Up to 60 characters.

  • whatsappstring or null

    Up to 60 characters.

  • addressstring or null

    Up to 1000 characters.

  • descriptionstring

    Up to 2000 characters.

  • audiencestring

    Up to 1000 characters.

  • voice_tonestring

    Up to 500 characters.

  • voice_doslist of string

    Up to 40 items.

  • voice_dontslist of string

    Up to 40 items.

  • keywordslist of string

    Up to 30 items.

  • never_wordslist of string

    Up to 40 items.

  • always_wordslist of string

    Up to 40 items.

  • colorslist of string

    Up to 12 items.

  • fontslist of string

    Up to 6 items.

  • logo_asset_idstring or null
  • productslist of BrandProduct

    Up to 30 items.

  • languagestring

    Up to 10 characters. Default: en.

Answer: 201 Created.

A BrandOut:

  • idstringrequired
  • namestringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • taglinestring
  • contact_emailstring
  • website_urlstring or null
  • phonestring or null
  • whatsappstring or null
  • addressstring or null
  • descriptionstring
  • audiencestring
  • voice_tonestring
  • voice_doslist of string
  • voice_dontslist of string
  • keywordslist of string
  • never_wordslist of string
  • always_wordslist of string
  • colorslist of string
  • fontslist of string
  • font_noteslist of FontNote
  • logo_asset_idstring or null
  • logo_urlstring or null
  • logoAssetOut or null
  • productslist of BrandProduct
  • languagestring

    Default: en.

  • is_defaultboolean

    Default: false.

  • assetsobject

    Default: {}.

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/brands" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch"
}'
get/api/v1/brands/{brand_id}

One brand kit.

getBrandStableRead-only keys can use thisPermission: brand:read

Parameters

  • brand_idin the pathstringrequired

Answer: 200 OK.

A BrandOut:

  • idstringrequired
  • namestringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • taglinestring
  • contact_emailstring
  • website_urlstring or null
  • phonestring or null
  • whatsappstring or null
  • addressstring or null
  • descriptionstring
  • audiencestring
  • voice_tonestring
  • voice_doslist of string
  • voice_dontslist of string
  • keywordslist of string
  • never_wordslist of string
  • always_wordslist of string
  • colorslist of string
  • fontslist of string
  • font_noteslist of FontNote
  • logo_asset_idstring or null
  • logo_urlstring or null
  • logoAssetOut or null
  • productslist of BrandProduct
  • languagestring

    Default: en.

  • is_defaultboolean

    Default: false.

  • assetsobject

    Default: {}.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/brands/BRAND_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/brands/{brand_id}

Change a brand kit.

updateBrandStablePermission: brand:write

Parameters

  • brand_idin the pathstringrequired

Body (JSON)

A BrandUpdate:

  • namestring or null

    1 to 200 characters.

  • taglinestring or null

    Up to 200 characters.

  • contact_emailstring or null

    Up to 320 characters.

  • website_urlstring or null

    Up to 2000 characters.

  • phonestring or null

    Up to 60 characters.

  • whatsappstring or null

    Up to 60 characters.

  • addressstring or null

    Up to 1000 characters.

  • descriptionstring or null

    Up to 2000 characters.

  • audiencestring or null

    Up to 1000 characters.

  • voice_tonestring or null

    Up to 500 characters.

  • voice_doslist of string or null

    Up to 40 items.

  • voice_dontslist of string or null

    Up to 40 items.

  • keywordslist of string or null

    Up to 30 items.

  • never_wordslist of string or null

    Up to 40 items.

  • always_wordslist of string or null

    Up to 40 items.

  • colorslist of string or null

    Up to 12 items.

  • fontslist of string or null

    Up to 6 items.

  • logo_asset_idstring or null
  • productslist of BrandProduct or null

    Up to 30 items.

  • languagestring or null

    Up to 10 characters.

Answer: 200 OK.

A BrandOut:

  • idstringrequired
  • namestringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • taglinestring
  • contact_emailstring
  • website_urlstring or null
  • phonestring or null
  • whatsappstring or null
  • addressstring or null
  • descriptionstring
  • audiencestring
  • voice_tonestring
  • voice_doslist of string
  • voice_dontslist of string
  • keywordslist of string
  • never_wordslist of string
  • always_wordslist of string
  • colorslist of string
  • fontslist of string
  • font_noteslist of FontNote
  • logo_asset_idstring or null
  • logo_urlstring or null
  • logoAssetOut or null
  • productslist of BrandProduct
  • languagestring

    Default: en.

  • is_defaultboolean

    Default: false.

  • assetsobject

    Default: {}.

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/brands/BRAND_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "tagline": "...",
  "contact_email": "[email protected]"
}'
delete/api/v1/brands/{brand_id}

Delete a brand kit.

deleteBrandStablePermission: brand:write

Parameters

  • brand_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/brands/BRAND_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/brands/{brand_id}/default

Make this the workspace's main brand.

setDefaultBrandStablePermission: brand:write

Parameters

  • brand_idin the pathstringrequired

Answer: 200 OK.

A BrandOut:

  • idstringrequired
  • namestringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • taglinestring
  • contact_emailstring
  • website_urlstring or null
  • phonestring or null
  • whatsappstring or null
  • addressstring or null
  • descriptionstring
  • audiencestring
  • voice_tonestring
  • voice_doslist of string
  • voice_dontslist of string
  • keywordslist of string
  • never_wordslist of string
  • always_wordslist of string
  • colorslist of string
  • fontslist of string
  • font_noteslist of FontNote
  • logo_asset_idstring or null
  • logo_urlstring or null
  • logoAssetOut or null
  • productslist of BrandProduct
  • languagestring

    Default: en.

  • is_defaultboolean

    Default: false.

  • assetsobject

    Default: {}.

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/brands/BRAND_ID/default" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/characters

Your characters.

listCharactersStableRead-only keys can use thisPermission: brand:read

Parameters

  • brand_idin the querystring or null

    Only this brand's characters (a brand id from GET /api/v1/brands), or "none" for the characters with no brand. Left out: every brand's.

Answer: 200 OK.

list of CharacterOut

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/characters" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/characters

Add a character.

createCharacterStableRetry-safePermission: brand:write

Body (JSON)

A CharacterCreate:

  • namestringrequired

    1 to 100 characters.

  • kindstring

    One of: person, mascot, product, other. Default: person.

  • descriptionstring

    Up to 2000 characters.

  • personalitystring

    Up to 1000 characters.

  • reference_asset_idslist of string

    Up to 24 items.

  • cover_asset_idstring or null
  • voicestring or null

    Up to 100 characters.

  • brand_idstring or null

Answer: 201 Created.

A CharacterOut:

  • idstringrequired
  • namestringrequired
  • kindstringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • descriptionstring
  • personalitystring
  • reference_asset_idslist of string
  • referenceslist of AssetOut
  • cover_asset_idstring or null
  • cover_urlstring or null
  • voicestring or null
  • voice_labelstring or null
  • brand_idstring or null
  • look_generation_idstring or null

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/characters" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch"
}'
get/api/v1/characters/voices

The voices a character can speak with.

listVoicesStableRead-only keys can use thisPermission: brand:read

Answer: 200 OK.

list of VoiceOut

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/characters/voices" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/characters/{character_id}

One character.

getCharacterStableRead-only keys can use thisPermission: brand:read

Parameters

  • character_idin the pathstringrequired

Answer: 200 OK.

A CharacterOut:

  • idstringrequired
  • namestringrequired
  • kindstringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • descriptionstring
  • personalitystring
  • reference_asset_idslist of string
  • referenceslist of AssetOut
  • cover_asset_idstring or null
  • cover_urlstring or null
  • voicestring or null
  • voice_labelstring or null
  • brand_idstring or null
  • look_generation_idstring or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/characters/CHARACTER_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/characters/{character_id}

Change a character.

updateCharacterStablePermission: brand:write

Parameters

  • character_idin the pathstringrequired

Body (JSON)

A CharacterUpdate:

  • namestring or null

    1 to 100 characters.

  • kindstring or null

    One of: person, mascot, product, other.

  • descriptionstring or null

    Up to 2000 characters.

  • personalitystring or null

    Up to 1000 characters.

  • reference_asset_idslist of string or null

    Up to 24 items.

  • cover_asset_idstring or null
  • voicestring or null

    Up to 100 characters.

  • brand_idstring or null

Answer: 200 OK.

A CharacterOut:

  • idstringrequired
  • namestringrequired
  • kindstringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • descriptionstring
  • personalitystring
  • reference_asset_idslist of string
  • referenceslist of AssetOut
  • cover_asset_idstring or null
  • cover_urlstring or null
  • voicestring or null
  • voice_labelstring or null
  • brand_idstring or null
  • look_generation_idstring or null

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/characters/CHARACTER_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "kind": "person",
  "description": "..."
}'
delete/api/v1/characters/{character_id}

Delete a character.

deleteCharacterStablePermission: brand:write

Parameters

  • character_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/characters/CHARACTER_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/brands/import

Fill in a brand kit from a website: name, colours, logo and voice.

importBrandFromWebsiteBetaRetry-safePermission: brand:write

Read a website into a brand draft (not saved). The logo, when found, is saved to the Library.

Body (JSON)

A BrandImportIn:

  • urlstringrequired

    3 to 2000 characters.

  • writerstring or null

    One of: auto, everyday, creative, smart_stories, smart_precise.

Answer: 200 OK.

A BrandImportOut:

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/brands/import" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com"
}'
post/api/v1/characters/{character_id}/voice-preview

Make a short sample of the character's voice.

previewCharacterVoiceBetaRetry-safePermission: brand:write

Parameters

  • character_idin the pathstringrequired

Body (JSON)

  • textstring or null

    Up to 500 characters.

  • voicestring or null

    Up to 100 characters.

Answer: 202 Accepted: it carries on in the background.

A GenerationOut:

  • idstringrequired
  • kindstringrequired
  • modestringrequired
  • tierstringrequired
  • model_idstringrequired
  • model_labelstringrequired
  • promptstringrequired
  • paramsobjectrequired
  • sourcestringrequired
  • statusstringrequired
  • credits_estimatedintegerrequired
  • created_atstringrequired
  • updated_atstringrequired
  • stylestring or null
  • style_labelstring or null
  • style_notestring or null
  • enhanced_promptstring or null
  • negative_promptstring or null
  • input_asset_idslist of string
  • input_roleslist of string
  • input_noteslist of string
  • brand_idstring or null
  • character_idslist of string
  • progressinteger

    Default: 0.

  • progress_messagestring or null
  • errorstring or null
  • output_asset_idslist of string
  • outputslist of AssetOut
  • logoLogoOut or null
  • outputs_without_logolist of AssetOut
  • extended_fromstring or null
  • extendsExtendsOut or null
  • resultobject or null
  • credits_chargedinteger or null
  • completed_atstring or null

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/characters/CHARACTER_ID/voice-preview" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Our summer cold brew is back!",
  "voice": "..."
}'
post/api/v1/characters/{character_id}/generate-look

Make a picture of the character from its description.

generateCharacterLookBetaRetry-safePermission: brand:write

Parameters

  • character_idin the pathstringrequired

Body (JSON)

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • extrastring or null

    Up to 500 characters.

Answer: 202 Accepted: it carries on in the background.

A GenerationOut:

  • idstringrequired
  • kindstringrequired
  • modestringrequired
  • tierstringrequired
  • model_idstringrequired
  • model_labelstringrequired
  • promptstringrequired
  • paramsobjectrequired
  • sourcestringrequired
  • statusstringrequired
  • credits_estimatedintegerrequired
  • created_atstringrequired
  • updated_atstringrequired
  • stylestring or null
  • style_labelstring or null
  • style_notestring or null
  • enhanced_promptstring or null
  • negative_promptstring or null
  • input_asset_idslist of string
  • input_roleslist of string
  • input_noteslist of string
  • brand_idstring or null
  • character_idslist of string
  • progressinteger

    Default: 0.

  • progress_messagestring or null
  • errorstring or null
  • output_asset_idslist of string
  • outputslist of AssetOut
  • logoLogoOut or null
  • outputs_without_logolist of AssetOut
  • extended_fromstring or null
  • extendsExtendsOut or null
  • resultobject or null
  • credits_chargedinteger or null
  • completed_atstring or null

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/characters/CHARACTER_ID/generate-look" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "tier": "standard",
  "extra": "..."
}'

Social posts

Schedule and publish posts to the social accounts connected in cuil.si. Posts to YouTube come only from people in cuil.si and the automations they set up there, and posts to TikTok only from people in cuil.si.

get/api/v1/social/accounts

Social accounts connected in cuil.si.

listSocialAccountsStableRead-only keys can use thisPermission: social:read

The connected accounts, each with its brand (brand_name "Another brand" for one you may not use). brand_id: that brand's accounts and those with no brand.

Parameters

  • brand_idin the querystring or null

    The brand switcher (GIN-574): only this brand's items. 404 for a brand of another workspace or one you may not use (brand access).

    Up to 64 characters.

Answer: 200 OK.

list of object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/social/accounts" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/social/validate

Check a post against each network's rules before sending it.

checkPostStablePermission: social:write

Body (JSON)

A ValidateIn:

  • textstring

    Up to 70000 characters.

  • media_asset_idslist of string

    Up to 20 items.

  • account_idslist of string

    Up to 50 items.

  • per_account_textobject or null
  • tiktokobject or null
  • youtubeobject or null
  • per_account_mediaobject or null
  • formatsobject or null

Answer: 200 OK.

object

Can also answer 400, 401, 402, 403, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/social/validate" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "",
  "media_asset_ids": [
    "MEDIA_ASSET_ID"
  ],
  "account_ids": [
    "ACCOUNT_ID"
  ]
}'
get/api/v1/social/posts

Drafts, scheduled and published posts, newest first.

listSocialPostsStableRead-only keys can use thisPermission: social:read

Posts, newest first: drafts, scheduled, published, failed and unscheduled (cancelled) ones. brand_id: the brand's posts and the posts on its accounts.

Parameters

  • statusin the querystring or null

    One status or several, comma separated (e.g. published,partially_published).

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null
  • qin the querystring or null

    Only posts whose text has these words.

    Up to 500 characters.

  • approvalin the querystring or null

    Only posts that wait for an OK (waiting), were sent back (sent_back) or got an OK (approved).

    Up to 20 characters.

  • brand_idin the querystring or null

    The brand switcher (GIN-574): only this brand's items. 404 for a brand of another workspace or one you may not use (brand access).

    Up to 64 characters.

Answer: 200 OK.

object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/social/posts" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/social/posts

Publish a post now or schedule it for later.

createSocialPostStableRetry-safePermission: social:publish

Publish a post now (leave out scheduled_at) or schedule it. Each account gets its own publication with its own status. With draft true it is saved as a draft instead: nothing goes out until it is scheduled. With repeat_weeks, a scheduled post is also saved for each of the next weeks (their ids are in repeat_post_ids). Posting is free, except an X post whose text has a link (https://... with a real domain, or a bare domain such as cuil.si or shop.com): it uses 20 credits for each X account (each X account's capabilities.link_post_credits in listSocialAccounts says the current number), charged when it goes out and given back if it fails. When the workspace's credits don't cover the X posts with a link, the answer is 402 insufficient_credits, with needed and available, and nothing changes. API keys can't post to YouTube or TikTok: those posts come only from people in cuil.si (and, for YouTube, the automations they set up there). With a key, a YouTube or TikTok account in a post that would go out answers 422 invalid_post, and moving such a post answers 422 youtube_needs_you or tiktok_needs_you. A key may still save a YouTube post as a draft, for a person to post in cuil.si.

Body (JSON)

A PostCreate:

  • textstring

    Up to 70000 characters.

  • media_asset_idslist of string

    Up to 20 items.

  • targetslist of TargetIn

    Up to 50 items.

  • scheduled_atstring (date-time) or null
  • brand_idstring or null

    1 to 64 characters.

  • draft_idstring or null

    1 to 64 characters.

  • draftboolean

    Save it as a draft: nothing goes out until it is scheduled (PATCH with draft false). scheduled_at is then only the planned time and may be left out.

    Default: false.

  • repeat_weeksinteger

    A scheduled post is also saved again for each of the next N weeks, at the same time, as separate posts (their ids are in repeat_post_ids).

    From 0 to 12. Default: 0.

Answer: 201 Created.

object

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/social/posts" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "",
  "media_asset_ids": [
    "MEDIA_ASSET_ID"
  ],
  "targets": [
    {
      "account_id": "ACCOUNT_ID"
    }
  ]
}'
get/api/v1/social/posts/{post_id}

One post, with where and when it goes out.

getSocialPostStableRead-only keys can use thisPermission: social:read

Parameters

  • post_idin the pathstringrequired

Answer: 200 OK.

object

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/social/posts/POST_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/social/posts/{post_id}

Change a post that hasn't gone out yet.

updateSocialPostStablePermission: social:write

Change the text, files, accounts or time of a post that hasn't started going out. Posting is free, except an X post whose text has a link (https://... with a real domain, or a bare domain such as cuil.si or shop.com): it uses 20 credits for each X account (each X account's capabilities.link_post_credits in listSocialAccounts says the current number), charged when it goes out and given back if it fails. When the workspace's credits don't cover the X posts with a link, the answer is 402 insufficient_credits, with needed and available, and nothing changes. API keys can't post to YouTube or TikTok: those posts come only from people in cuil.si (and, for YouTube, the automations they set up there). With a key, a YouTube or TikTok account in a post that would go out answers 422 invalid_post, and moving such a post answers 422 youtube_needs_you or tiktok_needs_you. A key may still save a YouTube post as a draft, for a person to post in cuil.si.

Parameters

  • post_idin the pathstringrequired

Body (JSON)

A PostUpdate:

  • textstring or null

    Up to 70000 characters.

  • media_asset_idslist of string or null

    Up to 20 items.

  • targetslist of TargetIn or null

    Up to 50 items.

  • scheduled_atstring (date-time) or null
  • draftboolean or null

    true: save it as a draft (nothing goes out). false: schedule a draft, at scheduled_at or its planned time if that is still ahead. Left out: a draft stays a draft unless scheduled_at is sent.

Answer: 200 OK.

object

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/social/posts/POST_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Our summer cold brew is back!",
  "media_asset_ids": [
    "MEDIA_ASSET_ID"
  ],
  "targets": [
    {
      "account_id": "ACCOUNT_ID"
    }
  ]
}'
delete/api/v1/social/posts/{post_id}

Cancel a post that hasn't gone out yet.

cancelSocialPostStablePermission: social:write

Parameters

  • post_idin the pathstringrequired
  • removein the queryboolean

    Also delete the post itself (when none of it went out). Without it, a scheduled post is unscheduled and stays in the list; a draft is always deleted.

    Default: false.

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/social/posts/POST_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/social/posts/{post_id}/publish-now

Publish a scheduled post right away.

publishPostNowStablePermission: social:publish

Publish everything in the post that hasn't gone out yet (scheduled or failed), right away. Posting is free, except an X post whose text has a link (https://... with a real domain, or a bare domain such as cuil.si or shop.com): it uses 20 credits for each X account (each X account's capabilities.link_post_credits in listSocialAccounts says the current number), charged when it goes out and given back if it fails. When the workspace's credits don't cover the X posts with a link, the answer is 402 insufficient_credits, with needed and available, and nothing changes. API keys can't post to YouTube or TikTok: those posts come only from people in cuil.si (and, for YouTube, the automations they set up there). With a key, a YouTube or TikTok account in a post that would go out answers 422 invalid_post, and moving such a post answers 422 youtube_needs_you or tiktok_needs_you. A key may still save a YouTube post as a draft, for a person to post in cuil.si.

Parameters

  • post_idin the pathstringrequired

Answer: 200 OK.

object

Can also answer 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/social/posts/POST_ID/publish-now" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/social/publications/{publication_id}

How a post did on one account: status, link and error.

getPublicationStableRead-only keys can use thisPermission: social:read

Parameters

  • publication_idin the pathstringrequired

Answer: 200 OK.

object

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/social/publications/PUBLICATION_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/social/publications/{publication_id}

Move one account's copy of a post to another time.

reschedulePublicationStablePermission: social:write

Move a scheduled post on one account to another time. API keys can't post to YouTube or TikTok: those posts come only from people in cuil.si (and, for YouTube, the automations they set up there). With a key, a YouTube or TikTok account in a post that would go out answers 422 invalid_post, and moving such a post answers 422 youtube_needs_you or tiktok_needs_you. A key may still save a YouTube post as a draft, for a person to post in cuil.si.

Parameters

  • publication_idin the pathstringrequired

Body (JSON)

A PublicationUpdate:

  • scheduled_atstring (date-time)required

Answer: 200 OK.

object

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/social/publications/PUBLICATION_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "scheduled_at": "2026-11-01T09:00:00Z"
}'
delete/api/v1/social/publications/{publication_id}

Delete a live Facebook Page or Instagram post. It stays in your calendar, marked deleted.

deletePublishedPostBetaPermission: social:publish

Delete a live Facebook Page post, or a live Instagram post, reel or carousel. It stays in the calendar with status "deleted" (and deleted_at), and its results are no longer read. Only Facebook and Instagram posts can be deleted after publishing (409 not_changeable for other networks); a post already deleted there is marked deleted too. Instagram needs the instagram_manage_contents permission on the connection (409 missing_permission without it).

Parameters

  • publication_idin the pathstringrequired

Answer: 200 OK.

object

Can also answer 401, 403, 404, 409, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/social/publications/PUBLICATION_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/social/publications/{publication_id}/retry

Try again to publish on an account where it failed.

retryPublicationStablePermission: social:publish

Try a failed publication again. Posting is free, except an X post whose text has a link (https://... with a real domain, or a bare domain such as cuil.si or shop.com): it uses 20 credits for each X account (each X account's capabilities.link_post_credits in listSocialAccounts says the current number), charged when it goes out and given back if it fails. When the workspace's credits don't cover the X posts with a link, the answer is 402 insufficient_credits, with needed and available, and nothing changes. API keys can't post to YouTube or TikTok: those posts come only from people in cuil.si (and, for YouTube, the automations they set up there). With a key, a YouTube or TikTok account in a post that would go out answers 422 invalid_post, and moving such a post answers 422 youtube_needs_you or tiktok_needs_you. A key may still save a YouTube post as a draft, for a person to post in cuil.si.

Parameters

  • publication_idin the pathstringrequired

Answer: 200 OK.

object

Can also answer 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/social/publications/PUBLICATION_ID/retry" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/social/calendar

Posts between two dates, for a calendar view.

getCalendarStableRead-only keys can use thisPermission: social:read

The range's posts, one per account. brand_id: the brand's posts and the posts on its accounts.

Parameters

  • startin the querystring (date-time)required
  • endin the querystring (date-time)required
  • brand_idin the querystring or null

    The brand switcher (GIN-574): only this brand's items. 404 for a brand of another workspace or one you may not use (brand access).

    Up to 64 characters.

Answer: 200 OK.

list of object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/social/calendar?start=2026-11-01T09:00:00Z&end=2026-11-01T09:00:00Z" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/social/publications/{publication_id}/edit

Change the text of a Facebook Page post that is already live.

editPublishedPostBetaPermission: social:publish

Change the text of a Facebook Page post that is already live (a video's description). Only Facebook posts can be edited after publishing (409 not_changeable for other networks). The new text becomes this account's own text; the post's text for other accounts stays as it was. When Facebook says the post was deleted there, it is marked deleted and the answer is 409 deleted_on_facebook.

Parameters

  • publication_idin the pathstringrequired

Body (JSON)

A PublishedTextIn:

  • textstringrequired

    Up to 70000 characters.

Answer: 200 OK.

object

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/social/publications/PUBLICATION_ID/edit" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "text": "Our summer cold brew is back!"
}'

Analytics

How your published posts are doing.

get/api/v1/analytics/overview

Totals for your published posts.

getAnalyticsOverviewStableRead-only keys can use thisPermission: analytics:read

Totals, change vs the previous period, networks, daily series, top posts and best times. With an API key, YouTube is left out (see the youtube note).

Parameters

  • rangein the querystring

    One of: 7d, 30d, 90d. Default: 30d.

  • account_idin the querystring or null

    Up to 64 characters.

  • networkin the querystring or null

    Up to 20 characters.

  • tzin the querystring or null

    Up to 64 characters.

  • brand_idin the querystring or null

    Only this brand's accounts and those with no brand. 404 for a brand of another workspace or one you may not use (brand access).

    Up to 64 characters.

Answer: 200 OK.

object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/analytics/overview" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/analytics/posts

Results for each published post.

listPostResultsStableRead-only keys can use thisPermission: analytics:read

Published posts in the period with their results, newest first or by a number. With an API key, YouTube posts are left out (see the youtube note).

Parameters

  • rangein the querystring

    One of: 7d, 30d, 90d. Default: 30d.

  • sortin the querystring

    One of: recent, engagements, views, engagement_rate. Default: recent.

  • account_idin the querystring or null

    Up to 64 characters.

  • networkin the querystring or null

    Up to 20 characters.

  • tzin the querystring or null

    Up to 64 characters.

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

    Up to 200 characters.

  • brand_idin the querystring or null

    Only this brand's accounts and those with no brand. 404 for a brand of another workspace or one you may not use (brand access).

    Up to 64 characters.

Answer: 200 OK.

object

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/analytics/posts" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/analytics/publications/{publication_id}

Results for a post on one account.

getPublicationResultsStableRead-only keys can use thisPermission: analytics:read

One published post's latest results and how they grew. With an API key, a YouTube post's results answer 403 youtube_not_in_api: they are shown only in cuil.si.

Parameters

  • publication_idin the pathstringrequired

Answer: 200 OK.

object

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/analytics/publications/PUBLICATION_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"

Films

Make a short film from an idea: script, shots and the final cut.

get/api/v1/movies

Your films, newest first.

listMoviesBetaRead-only keys can use thisPermission: movies:read

Parameters

  • kindin the querystring or null

    One of: movie, short.

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A MoviePage:

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/movies" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/movies

Start a film from an idea. It waits for your approval before the shots.

createMovieBetaRetry-safePermission: movies:write

Body (JSON)

A MovieCreate:

  • ideastringrequired

    1 to 50000 characters.

  • titlestring or null

    Up to 200 characters.

  • kindstring

    One of: movie, short. Default: movie.

  • target_duration_sinteger or null
  • stylestring

    1 to 300 characters. Default: cinematic.

  • aspect_ratiostring

    One of: 16:9, 9:16, 1:1. Default: 16:9.

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • modestring

    One of: director, autopilot. Default: autopilot.

  • languagestring

    2 to 20 characters. Default: en.

  • visual_lookstring

    One of: default, live_action. Default: default.

  • character_idslist of string

    Up to 10 items.

  • reference_asset_idslist of string

    Up to 12 items.

  • music_asset_idstring or null
  • burn_subtitlesboolean

    Default: false.

  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null

    The end card after the last shot. Left out: a video ad with a brand gets one, a film doesn't. Null: none.

  • modelsFilmModels or null
  • ai_stylesFilmStyles or null

    Optional: the style for each part (pictures, storyboard, shots, voices) instead of a model id.

  • writerstring or null

    Optional: who writes the story and the script: everyday (fast, careful with facts) or creative (more original). Leave it out for everyday.

    One of: everyday, creative.

Answer: 201 Created.

A MovieOut:

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "idea": "..."
}'
get/api/v1/movies/{movie_id}

One film, with its script, shots and status.

getMovieBetaRead-only keys can use thisPermission: movies:read

Parameters

  • movie_idin the pathstringrequired

Answer: 200 OK.

A MovieOut:

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/movies/MOVIE_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
delete/api/v1/movies/{movie_id}

Delete a film.

deleteMovieBetaPermission: movies:write

Parameters

  • movie_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/movies/MOVIE_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/movies/{movie_id}/estimate

How many credits the film's shots will use.

estimateMovieBetaRead-only keys can use thisPermission: movies:read

Parameters

  • movie_idin the pathstringrequired

Answer: 200 OK.

A MovieEstimate:

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/movies/MOVIE_ID/estimate" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/movies/{movie_id}/approve

Approve the script and start making the shots.

approveMovieBetaPermission: movies:write

Parameters

  • movie_idin the pathstringrequired

Body (JSON)

A ApproveIn:

  • stepstringrequired

    One of: story, cast, storyboard.

Answer: 200 OK.

A MovieOut:

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/MOVIE_ID/approve" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "step": "story"
}'
post/api/v1/movies/{movie_id}/story/rewrite

Write the film's story again before you approve it, with an optional note on what should change. It costs what writing the story costs.

rewriteMovieStoryBetaPermission: movies:write

Write the film's whole story again while it waits at the Story step (written, not approved yet): the same idea, scripts and choices, with `note` (what should change) when given, else a fresh take. It costs what writing the story costs (MovieOut.story_rewrite.credits): held now, charged when the new story is saved, given back when it can't be written. The story shown now is kept as an earlier version (POST .../story/use-earlier brings it back). 409 when the film isn't at the Story step or a new story is being written already, 409 price_changed when it costs another price than `shown_credits`, 402 without enough credits. A Studio film: only for a person who can use Studio models here now; the note and the new story pass the Studio checks first.

Parameters

  • movie_idin the pathstringrequired

Body (JSON)

A StoryRewriteIn:

  • notestring or null

    Up to 500 characters.

  • shown_creditsinteger or null

    At least 0.

Answer: 202 Accepted: it carries on in the background.

A MovieOut:

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/MOVIE_ID/story/rewrite" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "note": "...",
  "shown_credits": 0
}'
post/api/v1/movies/{movie_id}/story/use-earlier

Bring back an earlier version of the film's story before you approve it. Free.

useEarlierMovieStoryBetaPermission: movies:write

Bring back an earlier version of the story (MovieOut.story_versions) while the film waits at the Story step. Free; the story shown now becomes an earlier version. A Studio film: only for a person who can use Studio models here now (as approving it).

Parameters

  • movie_idin the pathstringrequired

Body (JSON)

A StoryUseEarlierIn:

  • versionintegerrequired

    At least 1.

Answer: 200 OK.

A MovieOut:

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/MOVIE_ID/story/use-earlier" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "version": 1
}'
post/api/v1/movies/{movie_id}/pause

Pause a film that is being made.

pauseMovieBetaPermission: movies:write

Parameters

  • movie_idin the pathstringrequired

Answer: 200 OK.

A MovieOut:

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/MOVIE_ID/pause" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/movies/{movie_id}/resume

Carry on with a paused film.

resumeMovieBetaPermission: movies:write

Parameters

  • movie_idin the pathstringrequired

Answer: 200 OK.

A MovieOut:

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/MOVIE_ID/resume" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/movies/{movie_id}/assemble

Put the finished shots together into the film.

assembleMovieBetaPermission: movies:write

Parameters

  • movie_idin the pathstringrequired

Answer: 200 OK.

A MovieOut:

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/MOVIE_ID/assemble" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/movies/plans/format

The film plan's format: the schema, a guide, two examples, the limits and today's prices.

getFilmPlanFormatBetaRead-only keys can use thisPermission: movies:read

The film plan's format for your assistant: the schema, the guide "How to write a cuil.si film plan", two examples, the limits (each camera's shot lengths) and today's credits per second for each quality.

Answer: 200 OK.

A FilmPlanFormat:

  • plan_versionintegerrequired
  • guide_titlestringrequired
  • guidestringrequired
  • guide_linkstringrequired
  • plan_schemaobjectrequired
  • exampleslist of objectrequired
  • limitsobjectrequired
  • credits_per_secondobjectrequired
  • shot_soundbooleanrequired
  • codesobjectrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/movies/plans/format" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/movies/plans/check

Check a film plan for free: its problems, about what it costs and its sound. Saves nothing.

checkFilmPlanBetaPermission: movies:read

Check a film plan, free: each problem with its path in the plan, plain words, a fix and whether it blocks saving; about how many credits it uses; and when words, sound and music are heard. Saves nothing. At most 30 checks in 10 minutes per key (or person) and 300 a day per workspace (429 too_many_checks).

Body (JSON)

A FilmPlanIn:

  • planstring or objectrequired

Answer: 200 OK.

A PlanReport:

  • okbooleanrequired
  • summarystringrequired
  • problemslist of PlanProblemrequired
  • estimatePlanEstimate or null
  • timelinelist of TimelinePart
  • silentlist of list of number
  • length_snumber

    Default: 0.

  • scenesinteger

    Default: 0.

  • shotsinteger

    Default: 0.

Can also answer 400, 401, 402, 403, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/plans/check" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "plan": "..."
}'
post/api/v1/movies/plans

Save a film plan as a film. Nothing is made until someone presses Make on its page.

createMovieFromPlanBetaRetry-safePermission: movies:write

Save a film plan as a film. It is checked first (422 plan_has_problems, with the report, when something blocks it: nothing is saved). The film waits at the Story step: nothing is made or charged until someone presses Make on its page in cuil.si.

Body (JSON)

A FilmPlanIn:

  • planstring or objectrequired

Answer: 201 Created.

A PlanCreateOut:

  • movie_idstringrequired
  • linkstringrequired
  • messagestringrequired
  • reportPlanReportrequired

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/plans" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "plan": "..."
}'
get/api/v1/movies/{movie_id}/shots/{shot_id}

One shot: its words, status, clip, stills and notes.

getMovieShotBetaRead-only keys can use thisPermission: movies:read

One shot: its words, status, a signed link to its clip, up to 4 stills, and its check results and notes (film plans, FILM_PLANS_ENABLED).

Parameters

  • movie_idin the pathstringrequired
  • shot_idin the pathstringrequired

Answer: 200 OK.

A ShotView:

  • idstringrequired
  • indexintegerrequired
  • scene_indexintegerrequired
  • statusstringrequired
  • secondsnumberrequired
  • sizestringrequired
  • camerastringrequired
  • actionstringrequired
  • linkstringrequired
  • lineslist of ShotLineView
  • narrationstring or null
  • soundstring or null
  • directionobject or null
  • clipAssetOut or null
  • stillslist of AssetOut
  • notesstring or null
  • errorstring or null
  • needs_making_againlist of string
  • remake_suggestedboolean

    Default: false.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/movies/MOVIE_ID/shots/SHOT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/movies/{movie_id}/shots/{shot_id}/words

Change one shot's words for free. Nothing is made again until someone presses it.

changeMovieShotBetaPermission: movies:write

Change one shot's words, free, and get the difference back. Nothing is made again until someone presses that on the film page; 409 being_made while the film is being made (film plans, FILM_PLANS_ENABLED).

Parameters

  • movie_idin the pathstringrequired
  • shot_idin the pathstringrequired

Body (JSON)

A ShotWordsIn:

  • actionstring or null

    1 to 3000 characters.

  • camerastring or null

    Up to 300 characters.

  • sizestring or null

    Up to 100 characters.

  • secondsnumber or null

    From 1 to 60.

  • lineslist of ShotLineIn or null

    Up to 10 items.

  • narrationstring or null

    Up to 2000 characters.

  • soundstring or null

    Up to 1000 characters.

Answer: 200 OK.

A ShotChangeOut:

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/movies/MOVIE_ID/shots/SHOT_ID/words" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "...",
  "camera": "...",
  "size": "..."
}'
post/api/v1/movies/{movie_id}/shots/{shot_id}/remake-suggestions

Suggest making a shot again. A person presses it on the film page.

suggestMovieRemakeBetaPermission: movies:write

Suggest making a shot again: "Re-make shot 4: ..." on the film page, which a person presses (with its credits) or dismisses. Free: nothing is made (film plans, FILM_PLANS_ENABLED).

Parameters

  • movie_idin the pathstringrequired
  • shot_idin the pathstringrequired

Body (JSON)

A RemakeIn:

  • notestringrequired

    Why, in a few plain words, e.g. 'the umbrella is missing'. The person sees it on the button.

    1 to 300 characters.

Answer: 201 Created.

A RemakeOut:

  • idstringrequired
  • shot_idstringrequired
  • shot_indexintegerrequired
  • notestringrequired
  • messagestringrequired
  • linkstringrequired

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/movies/MOVIE_ID/shots/SHOT_ID/remake-suggestions" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "note": "..."
}'

Editor

Timelines, exports and automatic captions.

get/api/v1/editor/timelines

Your timelines, newest first.

listTimelinesBetaRead-only keys can use thisPermission: editor:read

Parameters

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A TimelinePage:

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/editor/timelines" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/editor/timelines

Start an edit (a timeline) from your files.

createTimelineBetaRetry-safePermission: editor:write

Body (JSON)

A TimelineCreate:

  • titlestring or null

    1 to 200 characters.

  • asset_idslist of string

    Up to 100 items.

  • aspect_ratiostring or null

    One of: 16:9, 9:16, 1:1, 4:5.

Answer: 201 Created.

A TimelineOut:

  • idstringrequired
  • titlestringrequired
  • aspect_ratiostringrequired

    One of: 16:9, 9:16, 1:1, 4:5.

  • documentobjectrequired
  • duration_snumberrequired
  • created_atstringrequired
  • updated_atstringrequired
  • cover_urlstring or null
  • assetsobject

    Default: {}.

  • last_renderRenderOut or null

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/editor/timelines" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Summer launch",
  "asset_ids": [
    "ASSET_ID"
  ],
  "aspect_ratio": "16:9"
}'
get/api/v1/editor/timelines/{timeline_id}

One timeline.

getTimelineBetaRead-only keys can use thisPermission: editor:read

Parameters

  • timeline_idin the pathstringrequired

Answer: 200 OK.

A TimelineOut:

  • idstringrequired
  • titlestringrequired
  • aspect_ratiostringrequired

    One of: 16:9, 9:16, 1:1, 4:5.

  • documentobjectrequired
  • duration_snumberrequired
  • created_atstringrequired
  • updated_atstringrequired
  • cover_urlstring or null
  • assetsobject

    Default: {}.

  • last_renderRenderOut or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/editor/timelines/TIMELINE_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/editor/timelines/{timeline_id}

Change a timeline.

updateTimelineBetaPermission: editor:write

Parameters

  • timeline_idin the pathstringrequired

Body (JSON)

A TimelineUpdate:

  • titlestring or null

    1 to 200 characters.

  • documentobject or null

Answer: 200 OK.

A TimelineOut:

  • idstringrequired
  • titlestringrequired
  • aspect_ratiostringrequired

    One of: 16:9, 9:16, 1:1, 4:5.

  • documentobjectrequired
  • duration_snumberrequired
  • created_atstringrequired
  • updated_atstringrequired
  • cover_urlstring or null
  • assetsobject

    Default: {}.

  • last_renderRenderOut or null

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/editor/timelines/TIMELINE_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "title": "Summer launch",
  "document": {}
}'
post/api/v1/editor/timelines/{timeline_id}/render

Export the timeline as a video in your Library.

renderTimelineBetaRetry-safePermission: editor:write

Parameters

  • timeline_idin the pathstringrequired

Body (JSON)

  • previewboolean

    Default: false.

  • fpsinteger or null

    Frames a second: 24 (looks like cinema), 25 or 30.

    One of: 24, 25, 30.

  • cinema_barsboolean or null

    Black 2.39:1 cinema bars inside the frame (16:9 edits only).

  • even_loudnessboolean or null

    Even out the finished sound to -14 LUFS.

  • duck_musicboolean or null

    Turn sound tracks down while the clips or a voice track speak.

Answer: 202 Accepted: it carries on in the background.

A RenderOut:

  • idstringrequired
  • timeline_idstringrequired
  • statusstringrequired

    One of: queued, running, succeeded, failed, cancelled.

  • progressintegerrequired
  • previewbooleanrequired
  • created_atstringrequired
  • progress_messagestring or null
  • output_assetAssetOut or null
  • errorstring or null

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/editor/timelines/TIMELINE_ID/render" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "preview": false,
  "fps": 24,
  "cinema_bars": false
}'
get/api/v1/editor/renders/{render_id}

One export, with its status and file.

getRenderBetaRead-only keys can use thisPermission: editor:read

Parameters

  • render_idin the pathstringrequired

Answer: 200 OK.

A RenderOut:

  • idstringrequired
  • timeline_idstringrequired
  • statusstringrequired

    One of: queued, running, succeeded, failed, cancelled.

  • progressintegerrequired
  • previewbooleanrequired
  • created_atstringrequired
  • progress_messagestring or null
  • output_assetAssetOut or null
  • errorstring or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/editor/renders/RENDER_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/editor/timelines/{timeline_id}/captions/auto

Add captions from the timeline's speech.

addAutoCaptionsBetaRetry-safePermission: editor:write

Parameters

  • timeline_idin the pathstringrequired

Answer: 202 Accepted: it carries on in the background.

A TaskOut:

  • idstringrequired
  • timeline_idstringrequired
  • statusstringrequired

    One of: queued, running, succeeded, failed.

  • kindstring

    Default: captions.

  • progressinteger

    Default: 0.

  • errorstring or null

Can also answer 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/editor/timelines/TIMELINE_ID/captions/auto" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"
get/api/v1/editor/tasks/{task_id}

The status of a caption task.

getEditorTaskBetaRead-only keys can use thisPermission: editor:read

Parameters

  • task_idin the pathstringrequired

Answer: 200 OK.

A TaskOut:

  • idstringrequired
  • timeline_idstringrequired
  • statusstringrequired

    One of: queued, running, succeeded, failed.

  • kindstring

    Default: captions.

  • progressinteger

    Default: 0.

  • errorstring or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/editor/tasks/TASK_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"

Automations

Run, follow and approve your automations, and build new ones. A key can't make, change, switch on, run or approve one that posts to YouTube (403 youtube_in_automation).

get/api/v1/workflows

Your automations.

listWorkflowsStableRead-only keys can use thisPermission: automations:read

Parameters

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A WorkflowPage:

  • itemslist of WorkflowOutrequired
  • next_cursorstring or null

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/workflows" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/workflows

Make an automation from steps.

createWorkflowBetaRetry-safePermission: automations:write

Body (JSON)

A WorkflowCreate:

Answer: 201 Created.

A WorkflowOut:

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired
  • graphobjectrequired
  • trigger_summarystringrequired
  • settingsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • webhook_urlstring or null
  • webhook_secretstring or null
  • next_run_atstring or null
  • last_runRunSummary or null

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch"
}'
get/api/v1/workflows/{workflow_id}

One automation.

getWorkflowStableRead-only keys can use thisPermission: automations:read

Parameters

  • workflow_idin the pathstringrequired

Answer: 200 OK.

A WorkflowOut:

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired
  • graphobjectrequired
  • trigger_summarystringrequired
  • settingsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • webhook_urlstring or null
  • webhook_secretstring or null
  • next_run_atstring or null
  • last_runRunSummary or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/workflows/WORKFLOW_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/workflows/{workflow_id}

Change an automation.

updateWorkflowBetaPermission: automations:write

Parameters

  • workflow_idin the pathstringrequired

Body (JSON)

A WorkflowUpdate:

Answer: 200 OK.

A WorkflowOut:

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired
  • graphobjectrequired
  • trigger_summarystringrequired
  • settingsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • webhook_urlstring or null
  • webhook_secretstring or null
  • next_run_atstring or null
  • last_runRunSummary or null

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/workflows/WORKFLOW_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "description": "...",
  "graph": {
    "nodes": [
      {}
    ],
    "edges": [
      {}
    ]
  }
}'
delete/api/v1/workflows/{workflow_id}

Delete an automation.

deleteWorkflowBetaPermission: automations:write

Parameters

  • workflow_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/workflows/WORKFLOW_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/workflows/{workflow_id}/run

Run an automation now.

runWorkflowStableRetry-safePermission: automations:write

Parameters

  • workflow_idin the pathstringrequired

Body (JSON)

  • dataobject

Answer: 202 Accepted: it carries on in the background.

A RunOut:

  • idstringrequired
  • statusstringrequired

    One of: running, waiting, succeeded, failed, cancelled.

  • trigger_typestringrequired
  • started_atstringrequired
  • workflow_idstringrequired
  • finished_atstring or null
  • errorstring or null
  • credits_usedinteger

    Default: 0.

  • trigger_dataobject

    Default: {}.

  • stepslist of StepOut

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows/WORKFLOW_ID/run" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "data": {}
}'
get/api/v1/workflows/{workflow_id}/runs

An automation's runs, newest first.

listWorkflowRunsStableRead-only keys can use thisPermission: automations:read

Parameters

  • workflow_idin the pathstringrequired
  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A RunPage:

  • itemslist of RunSummaryrequired
  • next_cursorstring or null
  • keep_daysinteger or null
  • failed_keep_daysinteger or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/workflows/WORKFLOW_ID/runs" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/workflows/runs/{run_id}

One run, with each step's result.

getWorkflowRunStableRead-only keys can use thisPermission: automations:read

Parameters

  • run_idin the pathstringrequired

Answer: 200 OK.

A RunOut:

  • idstringrequired
  • statusstringrequired

    One of: running, waiting, succeeded, failed, cancelled.

  • trigger_typestringrequired
  • started_atstringrequired
  • workflow_idstringrequired
  • finished_atstring or null
  • errorstring or null
  • credits_usedinteger

    Default: 0.

  • trigger_dataobject

    Default: {}.

  • stepslist of StepOut

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/workflows/runs/RUN_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/workflows/runs/{run_id}/cancel

Stop a run.

cancelWorkflowRunStablePermission: automations:write

Parameters

  • run_idin the pathstringrequired

Answer: 200 OK.

A RunOut:

  • idstringrequired
  • statusstringrequired

    One of: running, waiting, succeeded, failed, cancelled.

  • trigger_typestringrequired
  • started_atstringrequired
  • workflow_idstringrequired
  • finished_atstring or null
  • errorstring or null
  • credits_usedinteger

    Default: 0.

  • trigger_dataobject

    Default: {}.

  • stepslist of StepOut

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows/runs/RUN_ID/cancel" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/workflows/runs/{run_id}/steps/{step_id}/approve

Approve a step that waits for a person.

approveWorkflowStepStablePermission: automations:write

Parameters

  • run_idin the pathstringrequired
  • step_idin the pathstringrequired

Body (JSON)

  • commentstring or null

    Up to 1000 characters.

  • textstring or null

    Up to 20000 characters.

Answer: 200 OK.

A RunOut:

  • idstringrequired
  • statusstringrequired

    One of: running, waiting, succeeded, failed, cancelled.

  • trigger_typestringrequired
  • started_atstringrequired
  • workflow_idstringrequired
  • finished_atstring or null
  • errorstring or null
  • credits_usedinteger

    Default: 0.

  • trigger_dataobject

    Default: {}.

  • stepslist of StepOut

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows/runs/RUN_ID/steps/STEP_ID/approve" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "comment": "...",
  "text": "Our summer cold brew is back!"
}'
post/api/v1/workflows/runs/{run_id}/steps/{step_id}/reject

Reject a step that waits for a person.

rejectWorkflowStepStablePermission: automations:write

Parameters

  • run_idin the pathstringrequired
  • step_idin the pathstringrequired

Body (JSON)

  • commentstring or null

    Up to 1000 characters.

  • textstring or null

    Up to 20000 characters.

Answer: 200 OK.

A RunOut:

  • idstringrequired
  • statusstringrequired

    One of: running, waiting, succeeded, failed, cancelled.

  • trigger_typestringrequired
  • started_atstringrequired
  • workflow_idstringrequired
  • finished_atstring or null
  • errorstring or null
  • credits_usedinteger

    Default: 0.

  • trigger_dataobject

    Default: {}.

  • stepslist of StepOut

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows/runs/RUN_ID/steps/STEP_ID/reject" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "comment": "...",
  "text": "Our summer cold brew is back!"
}'
post/api/v1/workflows/{workflow_id}/enable

Switch an automation on.

enableWorkflowStablePermission: automations:write

Parameters

  • workflow_idin the pathstringrequired

Answer: 200 OK.

A WorkflowOut:

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired
  • graphobjectrequired
  • trigger_summarystringrequired
  • settingsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • webhook_urlstring or null
  • webhook_secretstring or null
  • next_run_atstring or null
  • last_runRunSummary or null

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows/WORKFLOW_ID/enable" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/workflows/{workflow_id}/disable

Switch an automation off.

disableWorkflowStablePermission: automations:write

Parameters

  • workflow_idin the pathstringrequired

Answer: 200 OK.

A WorkflowOut:

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired
  • graphobjectrequired
  • trigger_summarystringrequired
  • settingsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • webhook_urlstring or null
  • webhook_secretstring or null
  • next_run_atstring or null
  • last_runRunSummary or null

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows/WORKFLOW_ID/disable" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/hooks/workflows/{workflow_id}

Start an automation from another app. No API key: send the automation's own secret.

triggerWorkflowHookStableUses the automation's own secret

Webhook trigger: no sign-in. Send the workflow's secret in the X-Ginie-Secret header (or as "Authorization: Bearer <secret>") and any JSON body (up to 256 KB).

Parameters

  • workflow_idin the pathstringrequired

Answer: 202 Accepted: it carries on in the background.

A WebhookAccepted:

  • run_idstringrequired

Can also answer 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/hooks/workflows/WORKFLOW_ID" \
  -H "X-Ginie-Secret: YOUR_AUTOMATION_SECRET"
post/api/v1/workflows/{workflow_id}/validate

Check an automation for problems.

validateWorkflowBetaPermission: automations:write

Problems to fix before turning it on; ?for_run=true: before a test run with example data.

Parameters

  • workflow_idin the pathstringrequired
  • for_runin the queryboolean

    Default: false.

Answer: 200 OK.

A ValidationOut:

  • okbooleanrequired
  • problemslist of Problemrequired

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows/WORKFLOW_ID/validate" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/workflows/catalog

The steps and triggers an automation can use.

listWorkflowStepsBetaRead-only keys can use thisPermission: automations:read

Answer: 200 OK.

A CatalogOut:

  • categorieslist of objectrequired
  • nodeslist of objectrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/workflows/catalog" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/workflows/templates

Ready-made automations to start from.

listWorkflowTemplatesBetaRead-only keys can use thisPermission: automations:read

Answer: 200 OK.

list of TemplateOut

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/workflows/templates" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/workflows/from-template

Make an automation from a template.

createWorkflowFromTemplateBetaRetry-safePermission: automations:write

Body (JSON)

A FromTemplateIn:

  • template_idstringrequired

    1 to 100 characters.

  • settingsNewWorkflowSettings or null
  • optionslist of string

    Up to 10 items.

Answer: 201 Created.

A WorkflowOut:

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired
  • graphobjectrequired
  • trigger_summarystringrequired
  • settingsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • webhook_urlstring or null
  • webhook_secretstring or null
  • next_run_atstring or null
  • last_runRunSummary or null

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/workflows/from-template" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "template_id": "TEMPLATE_ID"
}'

Webhooks

Get a signed request on your server when something happens in cuil.si.

get/api/v1/developer/webhooks

Your webhook endpoints.

listWebhooksStableRead-only keys can use thisPermission: webhooks:read

Answer: 200 OK.

list of WebhookOut

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/developer/webhooks" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/developer/webhooks

Add a webhook endpoint.

createWebhookStableRetry-safePermission: webhooks:manage

Body (JSON)

A WebhookCreate:

  • urlstringrequired

    1 to 2000 characters.

  • descriptionstring

    Up to 500 characters.

  • event_typeslist of string

    Up to 50 items. Default: ["*"].

  • enabledboolean

    Default: true.

Answer: 201 Created.

A WebhookOut:

  • idstringrequired
  • urlstringrequired
  • descriptionstringrequired
  • event_typeslist of stringrequired
  • enabledbooleanrequired
  • created_atstringrequired
  • updated_atstringrequired
  • last_delivery_statusstring or null
  • last_delivery_atstring or null

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/developer/webhooks" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com"
}'
get/api/v1/developer/webhooks/{endpoint_id}

One webhook endpoint.

getWebhookStableRead-only keys can use thisPermission: webhooks:read

Parameters

  • endpoint_idin the pathstringrequired

Answer: 200 OK.

A WebhookOut:

  • idstringrequired
  • urlstringrequired
  • descriptionstringrequired
  • event_typeslist of stringrequired
  • enabledbooleanrequired
  • created_atstringrequired
  • updated_atstringrequired
  • last_delivery_statusstring or null
  • last_delivery_atstring or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/developer/webhooks/ENDPOINT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/developer/webhooks/{endpoint_id}

Change a webhook endpoint.

updateWebhookStablePermission: webhooks:manage

Parameters

  • endpoint_idin the pathstringrequired

Body (JSON)

A WebhookUpdate:

  • urlstring or null

    1 to 2000 characters.

  • descriptionstring or null

    Up to 500 characters.

  • event_typeslist of string or null

    Up to 50 items.

  • enabledboolean or null

Answer: 200 OK.

A WebhookOut:

  • idstringrequired
  • urlstringrequired
  • descriptionstringrequired
  • event_typeslist of stringrequired
  • enabledbooleanrequired
  • created_atstringrequired
  • updated_atstringrequired
  • last_delivery_statusstring or null
  • last_delivery_atstring or null

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/developer/webhooks/ENDPOINT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://example.com",
  "description": "...",
  "event_types": [
    "..."
  ]
}'
delete/api/v1/developer/webhooks/{endpoint_id}

Delete a webhook endpoint.

deleteWebhookStablePermission: webhooks:manage

Parameters

  • endpoint_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/developer/webhooks/ENDPOINT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/developer/webhooks/{endpoint_id}/test

Send a test event to an endpoint.

sendTestEventStablePermission: webhooks:manage

Parameters

  • endpoint_idin the pathstringrequired

Answer: 200 OK.

A DeliveryOut:

  • idstringrequired
  • endpoint_idstringrequired
  • event_idstringrequired
  • event_typestringrequired
  • statusstringrequired
  • attemptsintegerrequired
  • created_atstringrequired
  • payloadobjectrequired
  • last_status_codeinteger or null
  • last_errorstring or null
  • next_attempt_atstring or null
  • delivered_atstring or null

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/developer/webhooks/ENDPOINT_ID/test" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/developer/webhooks/{endpoint_id}/deliveries

What was sent to an endpoint and how it answered, newest first.

listWebhookDeliveriesStableRead-only keys can use thisPermission: webhooks:read

Parameters

  • endpoint_idin the pathstringrequired
  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A DeliveryPage:

  • itemslist of DeliveryOutrequired
  • next_cursorstring or null

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/developer/webhooks/ENDPOINT_ID/deliveries" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/developer/deliveries/{delivery_id}/resend

Send a delivery again.

resendDeliveryStablePermission: webhooks:manage

Parameters

  • delivery_idin the pathstringrequired

Answer: 200 OK.

A DeliveryOut:

  • idstringrequired
  • endpoint_idstringrequired
  • event_idstringrequired
  • event_typestringrequired
  • statusstringrequired
  • attemptsintegerrequired
  • created_atstringrequired
  • payloadobjectrequired
  • last_status_codeinteger or null
  • last_errorstring or null
  • next_attempt_atstring or null
  • delivered_atstring or null

Can also answer 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/developer/deliveries/DELIVERY_ID/resend" \
  -H "Authorization: Bearer $CUILSI_API_KEY"

Leads

People and companies from your website forms and outreach.

get/api/v1/leads

Your leads, newest first. Filter by words, stage, source, list, tag, owner, score or when they changed.

listLeadsBetaRead-only keys can use thisPermission: leads:read

Parameters

  • qin the querystring or null
  • stagein the querystring or null
  • sourcein the querystring or null

    One of: form, import, api, google_lead_form, meta_lead_ads, linkedin_lead_form, manual, prospecting, workflow, whatsapp.

  • list_idin the querystring or null
  • tagin the querystring or null
  • owner_idin the querystring or null
  • score_minin the queryinteger or null

    From 0 to 100.

  • updated_sincein the querystring (date-time) or null
  • company_idin the querystring or null
  • idsin the querystring or null

    Only these leads: up to 500 ids, separated by commas.

    Up to 20000 characters.

  • labelin the querystring or null

    The score label: cold, interested, warm, hot or ready.

    One of: cold, interested, warm, hot, ready.

  • campaignin the querystring or null

    The ad campaign they came from.

    Up to 200 characters.

  • cityin the querystring or null

    Up to 100 characters.

  • interested_inin the querystring or null

    Up to 200 characters.

  • contactin the querystring or null

    not_contacted: nobody on the team has contacted them yet. waiting: they wrote and are waiting for an answer.

    One of: not_contacted, waiting.

  • last_contactin the querystring or null

    One of: within_7d, within_30d, over_30d.

  • customerin the querystring or null

    One of: yes, no.

  • addedin the querystring or null

    within_7d: added in the last 7 days.

  • sortin the querystring

    newest (default), oldest, score (highest first), name (A to Z) or last_activity (most recent first).

    One of: newest, oldest, score, name, last_activity. Default: newest.

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A LeadPage:

  • itemslist of Leadrequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/leads" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/leads

Add a lead, or fill in the one with the same email (then phone, then LinkedIn link). A LinkedIn link, or a name with a company, is enough without an email or a phone.

createLeadBetaRetry-safePermission: leads:write

Create a lead, or fill in the one with the same email (then phone). 201 when new, 200 when it existed.

Body (JSON)

A LeadIn:

  • emailstring or null

    Up to 320 characters.

  • phonestring or null

    Up to 40 characters.

  • first_namestring or null

    Up to 200 characters.

  • last_namestring or null

    Up to 200 characters.

  • titlestring or null

    Up to 200 characters.

  • senioritystring or null

    Up to 50 characters.

  • departmentstring or null

    Up to 100 characters.

  • linkedin_urlstring or null

    Up to 500 characters.

  • citystring or null

    Up to 100 characters.

  • countrystring or null

    Up to 60 characters.

  • timezonestring or null

    Up to 64 characters.

  • companyCompanyRef or null
  • websitestring or null

    Up to 500 characters.

  • tagslist of string

    Up to 50 items.

  • list_idslist of string

    Up to 20 items.

  • owner_idstring or null

    1 to 100 characters.

  • sourcestring or null

    One of: form, import, api, google_lead_form, meta_lead_ads, linkedin_lead_form, manual, prospecting, workflow, whatsapp.

  • source_detailobject or null
  • fieldsobject or null
  • utmobject or null
  • consentConsentIn or null

Answer: 200 OK.

A LeadSaved:

  • leadLeadrequired
  • is_newbooleanrequired
  • changedlist of stringrequired
  • warningslist of LeadWarningrequired

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "[email protected]",
  "phone": "...",
  "first_name": "..."
}'
post/api/v1/leads/batch

Add or update up to 100 leads at once, with one result each.

upsertLeadsBetaRetry-safePermission: leads:write

Body (JSON)

A LeadBatchIn:

  • itemslist of objectrequired

    Up to 100 items.

Answer: 200 OK.

A LeadBatchResult:

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/batch" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "items": [
    {}
  ]
}'
post/api/v1/leads/bulk-actions

Do one thing to up to 500 leads: move them to a stage, add or remove a tag, add them to a list or give them to a teammate. Answers how many were done and which were skipped, with why.

bulkEditLeadsBetaRetry-safePermission: leads:write

Do one thing to up to 500 leads: move them to a stage, add or remove a tag, add them to a list, give them to a teammate, or erase them (owners and admins, in the app only). Answers how many were done and which were skipped, with why.

Body (JSON)

A BulkActionIn:

  • lead_idslist of string (uuid)required

    Up to 500 items.

  • actionstringrequired

    One of: move_stage, add_tag, remove_tag, add_to_list, assign, delete.

  • stage_idstring or null

    1 to 50 characters.

  • tagstring or null

    1 to 60 characters.

  • list_idstring (uuid) or null
  • assignee_idstring (uuid) or null

Answer: 200 OK.

A BulkActionResult:

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/bulk-actions" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "lead_ids": [
    "LEAD_ID"
  ],
  "action": "move_stage"
}'
get/api/v1/leads/report

How many leads there are by stage, by source and by week.

getLeadReportBetaRead-only keys can use thisPermission: leads:read

Counts by stage, source and week, and money won (sales.py, GIN-493) between money_from and money_to (both days included, in tz; the last 30 days by default) by source, form and campaign.

Parameters

  • weeksin the queryinteger

    From 1 to 52. Default: 12.

  • tzin the querystring

    Default: UTC.

  • money_fromin the querystring (date) or null
  • money_toin the querystring (date) or null

Answer: 200 OK.

A LeadReport:

  • totalintegerrequired
  • by_stagelist of StageCountrequired
  • by_sourcelist of SourceCountrequired
  • by_weeklist of WeekCountrequired
  • time_zonestringrequired
  • moneyMoneyReportrequired

    Money won from recorded sales, between money_from and money_to.

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/leads/report" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/leads/{lead_id}

One lead, with its lists, deals and what contact is allowed.

getLeadBetaRead-only keys can use thisPermission: leads:read

Parameters

  • lead_idin the pathstringrequired

Answer: 200 OK.

A LeadDetail:

  • idstringrequired
  • namestringrequired
  • first_namestring or nullrequired
  • last_namestring or nullrequired
  • emailstring or nullrequired
  • email_statusstringrequired

    unknown, valid, risky, invalid or catch_all.

  • phonestring or nullrequired

    In international format, e.g. +919812345678.

  • titlestring or nullrequired
  • senioritystring or nullrequired
  • departmentstring or nullrequired
  • linkedin_urlstring or nullrequired
  • citystring or nullrequired
  • countrystring or nullrequired
  • timezonestring or nullrequired
  • companyCompanyBrief or nullrequired
  • owner_idstring or nullrequired

    The workspace member who looks after this lead.

  • stagestringrequired

    A stage key of the workspace's pipeline, e.g. new, contacted, won.

  • scoreintegerrequired

    0 to 100.

  • score_reasonslist of anyrequired
  • sourcestringrequired

    Where the lead came from: form, import, api, google_lead_form, meta_lead_ads, linkedin_lead_form, manual, prospecting (added from a data provider's search) or workflow.

  • source_detailobjectrequired
  • first_touchobjectrequired

    The first visit's UTM tags and page, when known.

  • tagslist of stringrequired
  • fieldsobjectrequired

    Your own fields, as sent.

  • enrichmentobjectrequired
  • enriched_atstring or nullrequired
  • last_activity_atstring or nullrequired
  • do_not_contactbooleanrequired

    True when the email, its domain or the phone is on the do-not-contact list.

  • created_atstringrequired
  • updated_atstringrequired
  • labelScoreLabelrequired
  • last_contacted_atstring or nullrequired

    When someone on your team last called, messaged, emailed or met them (automatic emails don't count).

  • last_reply_atstring or nullrequired

    When they last wrote to you: a form, a reply or a WhatsApp.

  • waiting_for_usbooleanrequired

    They wrote after your last contact (or you never contacted them).

  • contactedbooleanrequired

    Someone on your team has contacted them.

  • customer_sincestring or nullrequired

    Their first recorded sale.

  • listslist of NamedRefrequired
  • dealslist of Dealrequired
  • permissionPermissionrequired
  • customerCustomer or nullrequired

    Set once a sale is recorded for them.

  • countsLeadCountsrequired

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/leads/LEAD_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/leads/{lead_id}

Change a lead.

updateLeadBetaPermission: leads:write

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A LeadPatch:

  • emailstring or null

    Up to 320 characters.

  • phonestring or null

    Up to 40 characters.

  • first_namestring or null

    Up to 200 characters.

  • last_namestring or null

    Up to 200 characters.

  • titlestring or null

    Up to 200 characters.

  • senioritystring or null

    Up to 50 characters.

  • departmentstring or null

    Up to 100 characters.

  • linkedin_urlstring or null

    Up to 500 characters.

  • citystring or null

    Up to 100 characters.

  • countrystring or null

    Up to 60 characters.

  • timezonestring or null

    Up to 64 characters.

  • company_idstring or null

    1 to 100 characters.

  • companyCompanyRef or null
  • owner_idstring or null

    1 to 100 characters.

  • tagslist of string or null

    Up to 50 items.

  • fieldsobject or null
  • stagestring or null

    1 to 50 characters.

  • deal_value_minorinteger or null

    From 0 to 1000000000000000.

Answer: 200 OK.

A LeadDetail:

  • idstringrequired
  • namestringrequired
  • first_namestring or nullrequired
  • last_namestring or nullrequired
  • emailstring or nullrequired
  • email_statusstringrequired

    unknown, valid, risky, invalid or catch_all.

  • phonestring or nullrequired

    In international format, e.g. +919812345678.

  • titlestring or nullrequired
  • senioritystring or nullrequired
  • departmentstring or nullrequired
  • linkedin_urlstring or nullrequired
  • citystring or nullrequired
  • countrystring or nullrequired
  • timezonestring or nullrequired
  • companyCompanyBrief or nullrequired
  • owner_idstring or nullrequired

    The workspace member who looks after this lead.

  • stagestringrequired

    A stage key of the workspace's pipeline, e.g. new, contacted, won.

  • scoreintegerrequired

    0 to 100.

  • score_reasonslist of anyrequired
  • sourcestringrequired

    Where the lead came from: form, import, api, google_lead_form, meta_lead_ads, linkedin_lead_form, manual, prospecting (added from a data provider's search) or workflow.

  • source_detailobjectrequired
  • first_touchobjectrequired

    The first visit's UTM tags and page, when known.

  • tagslist of stringrequired
  • fieldsobjectrequired

    Your own fields, as sent.

  • enrichmentobjectrequired
  • enriched_atstring or nullrequired
  • last_activity_atstring or nullrequired
  • do_not_contactbooleanrequired

    True when the email, its domain or the phone is on the do-not-contact list.

  • created_atstringrequired
  • updated_atstringrequired
  • labelScoreLabelrequired
  • last_contacted_atstring or nullrequired

    When someone on your team last called, messaged, emailed or met them (automatic emails don't count).

  • last_reply_atstring or nullrequired

    When they last wrote to you: a form, a reply or a WhatsApp.

  • waiting_for_usbooleanrequired

    They wrote after your last contact (or you never contacted them).

  • contactedbooleanrequired

    Someone on your team has contacted them.

  • customer_sincestring or nullrequired

    Their first recorded sale.

  • listslist of NamedRefrequired
  • dealslist of Dealrequired
  • permissionPermissionrequired
  • customerCustomer or nullrequired

    Set once a sale is recorded for them.

  • countsLeadCountsrequired

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/leads/LEAD_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "[email protected]",
  "phone": "...",
  "first_name": "..."
}'
get/api/v1/leads/{lead_id}/activities

A lead's timeline, newest first.

listLeadActivitiesBetaRead-only keys can use thisPermission: leads:read

Parameters

  • lead_idin the pathstringrequired
  • kindin the querystring or null
  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A ActivityPage:

  • itemslist of Activityrequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/leads/LEAD_ID/activities" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/leads/{lead_id}/activities

Add a note or your own event to a lead's timeline.

addLeadActivityBetaRetry-safePermission: leads:write

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A ActivityIn:

  • kindstring

    One of: note, api, email_sent, email_replied, whatsapp_sent, whatsapp_received, meeting_booked, task_done. Default: note.

  • bodystring

    Up to 5000 characters.

  • metaobject or null
  • occurred_atstring (date-time) or null

Answer: 201 Created.

A Activity:

  • idstringrequired
  • lead_idstring or nullrequired
  • deal_idstring or nullrequired
  • kindstringrequired

    note, api, stage_changed, form_submitted, email_sent and so on.

  • bodystringrequired
  • metaobjectrequired
  • occurred_atstringrequired
  • actorstringrequired

    Who did it: user, api, workflow or system.

  • actor_idstring or nullrequired
  • created_atstringrequired

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/activities" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "note",
  "body": "",
  "meta": {}
}'
get/api/v1/leads/{lead_id}/consents

Every yes and no the person gave, and what is allowed now.

listLeadConsentsBetaRead-only keys can use thisPermission: leads:read

Parameters

  • lead_idin the pathstringrequired

Answer: 200 OK.

A ConsentList:

  • itemslist of Consentrequired
  • next_cursorstring or nullrequired
  • permissionPermissionrequired

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/leads/LEAD_ID/consents" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/leads/{lead_id}/consents

Record that the person said yes, or took it back.

recordLeadConsentBetaRetry-safePermission: leads:write

Record a "yes" or a "no" (a new row every time; the latest one counts).

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A ConsentIn:

  • channelstring

    One of: email, whatsapp, phone, any. Default: email.

  • purposestring or null

    One of: enquiry, marketing, newsletter.

  • statusstring

    One of: granted, withdrawn. Default: granted.

  • basisstring

    Why you may contact them: consent (they said yes), asked_to_be_contacted (they asked you to get back to them), existing_customer or b2b_prospect (a work contact who hasn't said yes). For people in India, existing_customer and b2b_prospect can be recorded, but from 13 May 2027 they no longer allow marketing (the DPDP Rules need the person's own yes); until then the answer carries a warning.

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect. Default: consent.

  • textstring or null

    Up to 2000 characters.

  • notice_versionstring or null

    Up to 64 characters.

  • notice_textstring or null

    Up to 20000 characters.

  • captured_viastring or null

    Up to 100 characters.

  • captured_atstring (date-time) or null
  • proofobject or null

Answer: 201 Created.

A ConsentSaved:

  • idstringrequired
  • lead_idstringrequired
  • channelstringrequired
  • purposestringrequired
  • statusstringrequired

    granted or withdrawn.

  • basisstringrequired
  • notice_versionstring or nullrequired
  • notice_text_sha256string or nullrequired
  • notice_textstring or nullrequired

    The exact notice the person saw, kept even after the form is deleted.

  • captured_viastringrequired
  • captured_atstringrequired
  • proofobjectrequired
  • created_atstringrequired
  • permissionPermissionrequired

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/consents" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "channel": "email",
  "purpose": "enquiry",
  "status": "granted"
}'
get/api/v1/companies

Companies, newest first.

listCompaniesBetaRead-only keys can use thisPermission: leads:read

Parameters

  • qin the querystring or null
  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A CompanyPage:

  • itemslist of Companyrequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/companies" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/companies

Add a company.

createCompanyBetaRetry-safePermission: leads:write

Body (JSON)

A CompanyIn:

  • namestringrequired

    1 to 300 characters.

  • domainstring or null

    Up to 500 characters.

  • industrystring or null

    Up to 200 characters.

  • size_rangestring or null

    Up to 30 characters.

  • employee_countinteger or null

    From 0 to 10000000.

  • countrystring or null

    Up to 60 characters.

  • citystring or null

    Up to 100 characters.

  • linkedin_urlstring or null

    Up to 500 characters.

  • websitestring or null

    Up to 500 characters.

  • descriptionstring or null

    Up to 5000 characters.

  • tagslist of string

    Up to 50 items.

  • fieldsobject or null

Answer: 201 Created.

A Company:

  • idstringrequired
  • namestringrequired
  • domainstring or nullrequired
  • industrystring or nullrequired
  • size_rangestring or nullrequired
  • employee_countinteger or nullrequired
  • countrystring or nullrequired
  • citystring or nullrequired
  • linkedin_urlstring or nullrequired
  • websitestring or nullrequired
  • descriptionstring or nullrequired
  • tagslist of stringrequired
  • fieldsobjectrequired
  • enrichmentobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • countsCompanyCounts or null

    On a single company only.

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/companies" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch"
}'
get/api/v1/companies/{id}

One company, with how many leads and deals it has.

getCompanyBetaRead-only keys can use thisPermission: leads:read

Parameters

  • idin the pathstringrequired

Answer: 200 OK.

A Company:

  • idstringrequired
  • namestringrequired
  • domainstring or nullrequired
  • industrystring or nullrequired
  • size_rangestring or nullrequired
  • employee_countinteger or nullrequired
  • countrystring or nullrequired
  • citystring or nullrequired
  • linkedin_urlstring or nullrequired
  • websitestring or nullrequired
  • descriptionstring or nullrequired
  • tagslist of stringrequired
  • fieldsobjectrequired
  • enrichmentobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • countsCompanyCounts or null

    On a single company only.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/companies/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/companies/{id}

Change a company.

updateCompanyBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Body (JSON)

A CompanyPatch:

  • namestring or null

    1 to 300 characters.

  • domainstring or null

    Up to 500 characters.

  • industrystring or null

    Up to 200 characters.

  • size_rangestring or null

    Up to 30 characters.

  • employee_countinteger or null

    From 0 to 10000000.

  • countrystring or null

    Up to 60 characters.

  • citystring or null

    Up to 100 characters.

  • linkedin_urlstring or null

    Up to 500 characters.

  • websitestring or null

    Up to 500 characters.

  • descriptionstring or null

    Up to 5000 characters.

  • tagslist of string or null

    Up to 50 items.

  • fieldsobject or null

Answer: 200 OK.

A Company:

  • idstringrequired
  • namestringrequired
  • domainstring or nullrequired
  • industrystring or nullrequired
  • size_rangestring or nullrequired
  • employee_countinteger or nullrequired
  • countrystring or nullrequired
  • citystring or nullrequired
  • linkedin_urlstring or nullrequired
  • websitestring or nullrequired
  • descriptionstring or nullrequired
  • tagslist of stringrequired
  • fieldsobjectrequired
  • enrichmentobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • countsCompanyCounts or null

    On a single company only.

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/companies/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "domain": "...",
  "industry": "..."
}'
delete/api/v1/companies/{id}

Delete a company. Its people and deals stay.

deleteCompanyBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/companies/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/lead-lists

Your lead lists.

listLeadListsBetaRead-only keys can use thisPermission: leads:read

Parameters

  • qin the querystring or null

    Up to 200 characters.

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A LeadListPage:

  • itemslist of LeadListrequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-lists" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/lead-lists

Make a lead list.

createLeadListBetaRetry-safePermission: leads:write

Body (JSON)

A ListIn:

  • namestringrequired

    1 to 200 characters.

  • descriptionstring

    Up to 2000 characters.

Answer: 201 Created.

A LeadList:

  • idstringrequired
  • namestringrequired
  • descriptionstring or nullrequired
  • kindstringrequired

    static, or smart: a segment whose people update by themselves.

  • member_countinteger or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • filterobject or null

    A segment's filters (the names of listLeads).

  • updatingboolean or null

    True while a new segment is still filling in.

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-lists" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch"
}'
get/api/v1/lead-lists/{id}

One lead list.

getLeadListBetaRead-only keys can use thisPermission: leads:read

Parameters

  • idin the pathstringrequired

Answer: 200 OK.

A LeadList:

  • idstringrequired
  • namestringrequired
  • descriptionstring or nullrequired
  • kindstringrequired

    static, or smart: a segment whose people update by themselves.

  • member_countinteger or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • filterobject or null

    A segment's filters (the names of listLeads).

  • updatingboolean or null

    True while a new segment is still filling in.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-lists/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/lead-lists/{id}

Rename a lead list or change its description.

updateLeadListBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Body (JSON)

A ListPatch:

  • namestring or null

    1 to 200 characters.

  • descriptionstring or null

    Up to 2000 characters.

Answer: 200 OK.

A LeadList:

  • idstringrequired
  • namestringrequired
  • descriptionstring or nullrequired
  • kindstringrequired

    static, or smart: a segment whose people update by themselves.

  • member_countinteger or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • filterobject or null

    A segment's filters (the names of listLeads).

  • updatingboolean or null

    True while a new segment is still filling in.

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/lead-lists/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "description": "..."
}'
delete/api/v1/lead-lists/{id}

Delete a lead list. The people in it stay.

deleteLeadListBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/lead-lists/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/lead-lists/{id}/members

Add leads to a list.

addLeadListMembersBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Body (JSON)

A MembersIn:

  • lead_idslist of stringrequired

    Up to 500 items.

Answer: 200 OK.

A MembersAdded:

  • addedintegerrequired
  • already_in_listintegerrequired

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-lists/ID/members" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "lead_ids": [
    "LEAD_ID"
  ]
}'
delete/api/v1/lead-lists/{id}/members/{lead_id}

Take a lead out of a list.

removeLeadListMemberBetaPermission: leads:write

Parameters

  • idin the pathstringrequired
  • lead_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/lead-lists/ID/members/LEAD_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/lead-tasks

Tasks for your team: open ones soonest due first, done ones most recently done first. Filter by teammate or lead.

listLeadTasksBetaRead-only keys can use thisPermission: leads:read

Open tasks soonest due first (no date last), done tasks most recently done first, or all newest first.

Parameters

  • statusin the querystring

    One of: open, done, all. Default: open.

  • assigneein the querystring

    me, anyone or a teammate's id.

    Up to 100 characters. Default: anyone.

  • lead_idin the querystring or null
  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A LeadTaskPage:

  • itemslist of LeadTaskrequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-tasks" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/lead-tasks

Make a task for a teammate about a lead, such as a call.

createLeadTaskBetaRetry-safePermission: leads:write

Make a task for a teammate about a lead. Not for contacting people on the do-not-contact list, or on a channel they said no to; `warning` says when the task needs care (for example no WhatsApp "yes" yet).

Body (JSON)

A TaskIn:

  • lead_idstring (uuid)required
  • kindstringrequired

    One of: call, email, linkedin, whatsapp, other.

  • titlestringrequired

    1 to 300 characters.

  • notestring or null

    Up to 5000 characters.

  • due_atstring (date-time) or null
  • assignee_idstring (uuid) or null

Answer: 201 Created.

A LeadTaskSaved:

  • idstringrequired
  • lead_idstringrequired
  • lead_namestringrequired
  • kindstringrequired

    call, email, linkedin, whatsapp or other.

  • titlestringrequired
  • notestringrequired
  • due_atstring or nullrequired
  • assignee_idstring or nullrequired
  • assignee_namestring or nullrequired
  • statusstringrequired

    open, done or skipped.

  • done_atstring or nullrequired
  • created_atstringrequired
  • created_by_run_idstring or nullrequired

    The automation run that made it, if one did.

  • warningLeadWarning or nullrequired

    Set when the task is allowed but needs care, e.g. no WhatsApp yes yet.

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-tasks" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "lead_id": "LEAD_ID",
  "kind": "call",
  "title": "Summer launch"
}'
patch/api/v1/lead-tasks/{id}

Change a task, or tick it off.

updateLeadTaskBetaPermission: leads:write

Change a task, or tick it off (status done) or open it again.

Parameters

  • idin the pathstringrequired

Body (JSON)

A TaskPatch:

  • statusstring or null

    One of: open, done.

  • titlestring or null

    1 to 300 characters.

  • notestring or null

    Up to 5000 characters.

  • due_atstring (date-time) or null
  • assignee_idstring (uuid) or null

Answer: 200 OK.

A LeadTask:

  • idstringrequired
  • lead_idstringrequired
  • lead_namestringrequired
  • kindstringrequired

    call, email, linkedin, whatsapp or other.

  • titlestringrequired
  • notestringrequired
  • due_atstring or nullrequired
  • assignee_idstring or nullrequired
  • assignee_namestring or nullrequired
  • statusstringrequired

    open, done or skipped.

  • done_atstring or nullrequired
  • created_atstringrequired
  • created_by_run_idstring or nullrequired

    The automation run that made it, if one did.

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/lead-tasks/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "open",
  "title": "Summer launch",
  "note": "..."
}'
get/api/v1/pipelines

Your pipeline and its stages.

listPipelinesBetaRead-only keys can use thisPermission: leads:read

Answer: 200 OK.

A PipelineList:

  • itemslist of Pipelinerequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/pipelines" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/pipelines/{id}

Rename, add or reorder the stages (admins).

updatePipelineBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Body (JSON)

A PipelinePatch:

  • namestring or null

    1 to 200 characters.

  • stageslist of StageIn or null

    Up to 20 items.

Answer: 200 OK.

A Pipeline:

  • idstringrequired
  • namestringrequired
  • is_defaultbooleanrequired
  • stageslist of Stagerequired
  • created_atstringrequired
  • updated_atstringrequired

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/pipelines/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "stages": [
    {
      "label": "..."
    }
  ]
}'
get/api/v1/deals

Deals, newest first. Filter by pipeline, stage, status, lead, company or owner.

listDealsBetaRead-only keys can use thisPermission: leads:read

Parameters

  • pipeline_idin the querystring or null
  • stagein the querystring or null
  • statusin the querystring or null

    One of: open, won, lost.

  • lead_idin the querystring or null
  • company_idin the querystring or null
  • owner_idin the querystring or null
  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A DealPage:

  • itemslist of Dealrequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/deals" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/deals

Add a deal.

createDealBetaRetry-safePermission: leads:write

Body (JSON)

A DealIn:

  • namestring or null

    Up to 300 characters.

  • pipeline_idstring or null

    1 to 100 characters.

  • stagestring or null

    Up to 50 characters.

  • value_minorinteger

    From 0 to 1000000000000000. Default: 0.

  • currencystring

    Default: INR.

  • contact_idstring or null

    1 to 100 characters.

  • company_idstring or null

    1 to 100 characters.

  • owner_idstring or null

    1 to 100 characters.

  • expected_closestring (date) or null

Answer: 201 Created.

A Deal:

  • idstringrequired
  • pipeline_idstringrequired
  • stagestringrequired
  • namestringrequired
  • value_minorinteger or nullrequired

    The value in the currency's smallest unit (paise, cents).

  • currencystring or nullrequired
  • statusstringrequired

    open, won or lost.

  • leadNamedRef or nullrequired
  • companyCompanyBrief or nullrequired
  • owner_idstring or nullrequired
  • expected_closestring or nullrequired
  • lost_reasonstring or nullrequired
  • closed_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/deals" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "pipeline_id": "PIPELINE_ID",
  "stage": "..."
}'
get/api/v1/deals/{id}

One deal.

getDealBetaRead-only keys can use thisPermission: leads:read

Parameters

  • idin the pathstringrequired

Answer: 200 OK.

A Deal:

  • idstringrequired
  • pipeline_idstringrequired
  • stagestringrequired
  • namestringrequired
  • value_minorinteger or nullrequired

    The value in the currency's smallest unit (paise, cents).

  • currencystring or nullrequired
  • statusstringrequired

    open, won or lost.

  • leadNamedRef or nullrequired
  • companyCompanyBrief or nullrequired
  • owner_idstring or nullrequired
  • expected_closestring or nullrequired
  • lost_reasonstring or nullrequired
  • closed_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/deals/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/deals/{id}

Change a deal. A new stage moves it, and its lead.

updateDealBetaPermission: leads:write

Change a deal; `stage` moves it (and its lead).

Parameters

  • idin the pathstringrequired

Body (JSON)

A DealPatch:

  • namestring or null

    1 to 300 characters.

  • stagestring or null

    1 to 50 characters.

  • value_minorinteger or null

    From 0 to 1000000000000000.

  • currencystring or null
  • contact_idstring or null

    1 to 100 characters.

  • company_idstring or null

    1 to 100 characters.

  • owner_idstring or null

    1 to 100 characters.

  • expected_closestring (date) or null
  • lost_reasonstring or null

    Up to 2000 characters.

Answer: 200 OK.

A Deal:

  • idstringrequired
  • pipeline_idstringrequired
  • stagestringrequired
  • namestringrequired
  • value_minorinteger or nullrequired

    The value in the currency's smallest unit (paise, cents).

  • currencystring or nullrequired
  • statusstringrequired

    open, won or lost.

  • leadNamedRef or nullrequired
  • companyCompanyBrief or nullrequired
  • owner_idstring or nullrequired
  • expected_closestring or nullrequired
  • lost_reasonstring or nullrequired
  • closed_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/deals/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "stage": "...",
  "value_minor": 0
}'
delete/api/v1/deals/{id}

Delete a deal.

deleteDealBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/deals/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/lead-imports

Your CSV imports, newest first.

listLeadImportsBetaRead-only keys can use thisPermission: leads:read

Parameters

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A LeadImportPage:

  • itemslist of LeadImportrequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-imports" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/lead-imports

Upload a CSV file of leads. With a permission basis it is imported at once; without one you get a preview first.

uploadLeadImportBetaPermission: leads:write

Upload a CSV file. With `basis` (and optionally `mapping` as JSON, `duplicate_rule`, `list_id`, `tags`) it is imported right away; without it, the answer is a preview (columns, matches we suggest, the first 5 rows) and POST /lead-imports/{id}/start imports it.

Body (a file upload, multipart/form-data)

A UploadLeadImportBody:

  • filestringrequired
  • mappingstring or null
  • duplicate_rulestring or null
  • basisstring or null
  • list_idstring or null
  • tagsstring or null

Answer: 201 Created.

A LeadImport:

  • idstringrequired
  • statusstringrequired

    preview, queued, running, done, failed or expired.

  • file_namestringrequired
  • columnslist of stringrequired
  • total_rowsinteger or nullrequired
  • delimiterstring or nullrequired
  • suggested_mappingobjectrequired
  • mappingobjectrequired
  • duplicate_rulestringrequired
  • basisstring or nullrequired
  • list_idstring or nullrequired
  • tagslist of stringrequired
  • countsobjectrequired
  • has_skipped_rowsbooleanrequired
  • errorstring or nullrequired
  • file_deletedbooleanrequired
  • targetsobjectrequired

    The lead fields a column can go to, with their names.

  • warningstring or nullrequired

    Set when the chosen basis doesn't allow marketing to some of these people from 13 May 2027 (people in India).

  • started_atstring or nullrequired
  • finished_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • previewlist of object or null

    The first rows, after uploading.

Can also answer 400, 401, 402, 403, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-imports" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -F "[email protected]"
get/api/v1/lead-imports/{id}

One CSV import, with its progress and counts.

getLeadImportBetaRead-only keys can use thisPermission: leads:read

Parameters

  • idin the pathstringrequired

Answer: 200 OK.

A LeadImport:

  • idstringrequired
  • statusstringrequired

    preview, queued, running, done, failed or expired.

  • file_namestringrequired
  • columnslist of stringrequired
  • total_rowsinteger or nullrequired
  • delimiterstring or nullrequired
  • suggested_mappingobjectrequired
  • mappingobjectrequired
  • duplicate_rulestringrequired
  • basisstring or nullrequired
  • list_idstring or nullrequired
  • tagslist of stringrequired
  • countsobjectrequired
  • has_skipped_rowsbooleanrequired
  • errorstring or nullrequired
  • file_deletedbooleanrequired
  • targetsobjectrequired

    The lead fields a column can go to, with their names.

  • warningstring or nullrequired

    Set when the chosen basis doesn't allow marketing to some of these people from 13 May 2027 (people in India).

  • started_atstring or nullrequired
  • finished_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • previewlist of object or null

    The first rows, after uploading.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-imports/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/lead-imports/{id}/start

Import an uploaded file with your column matching.

startLeadImportBetaRetry-safePermission: leads:write

Parameters

  • idin the pathstringrequired

Body (JSON)

A ImportStartIn:

  • basisstringrequired

    Why you may contact them: consent (they said yes), asked_to_be_contacted (they asked you to get back to them), existing_customer or b2b_prospect (a work contact who hasn't said yes). For people in India, existing_customer and b2b_prospect can be recorded, but from 13 May 2027 they no longer allow marketing (the DPDP Rules need the person's own yes); until then the answer carries a warning.

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect.

  • mappingobject or null
  • duplicate_rulestring

    One of: update, skip. Default: update.

  • list_idstring or null

    1 to 100 characters.

  • tagslist of string

    Up to 20 items.

  • start_automationsboolean or null

    Start the switched-on “New lead” automations for the new people. Left out: they start, as before.

Answer: 200 OK.

A LeadImport:

  • idstringrequired
  • statusstringrequired

    preview, queued, running, done, failed or expired.

  • file_namestringrequired
  • columnslist of stringrequired
  • total_rowsinteger or nullrequired
  • delimiterstring or nullrequired
  • suggested_mappingobjectrequired
  • mappingobjectrequired
  • duplicate_rulestringrequired
  • basisstring or nullrequired
  • list_idstring or nullrequired
  • tagslist of stringrequired
  • countsobjectrequired
  • has_skipped_rowsbooleanrequired
  • errorstring or nullrequired
  • file_deletedbooleanrequired
  • targetsobjectrequired

    The lead fields a column can go to, with their names.

  • warningstring or nullrequired

    Set when the chosen basis doesn't allow marketing to some of these people from 13 May 2027 (people in India).

  • started_atstring or nullrequired
  • finished_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • previewlist of object or null

    The first rows, after uploading.

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-imports/ID/start" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "basis": "consent"
}'
get/api/v1/lead-imports/{id}/skipped.csv

The rows that weren't imported, with the reason, as a CSV file.

getSkippedImportRowsBetaRead-only keys can use thisPermission: leads:read

The rows that weren't imported, with the reason. For the person who imported the file, and admins.

Parameters

  • idin the pathstringrequired

Answer: 200 OK.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-imports/ID/skipped.csv" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/suppressions

Put an email, a website domain or a phone on the do-not-contact list.

addToDoNotContactBetaPermission: leads:write

Body (JSON)

A SuppressionIn:

  • kindstring

    One of: email, domain, phone. Default: email.

  • valuestring or null

    Up to 320 characters.

  • value_sha256string or null

    Not taken: send `value` instead.

  • reasonstring

    One of: unsubscribed, bounced, complained, erased, manual, whatsapp_opt_out. Default: manual.

  • sourcestring

    Up to 100 characters.

Answer: 200 OK.

A Suppression:

  • idstringrequired
  • kindstringrequired

    email, domain or phone; linkedin when someone with a LinkedIn address was erased; name when someone with only a name and a company was erased (their full name at that company's name).

  • hintstring or nullrequired
  • reasonstringrequired

    unsubscribed, bounced, complained, erased, manual or whatsapp_opt_out.

  • sourcestringrequired
  • created_atstringrequired

Can also answer 400, 401, 402, 403, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/suppressions" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "kind": "email",
  "value": "...",
  "value_sha256": "..."
}'
post/api/v1/suppressions/check

Check emails and phones against the do-not-contact list.

checkDoNotContactBetaPermission: leads:read

Body (JSON)

A SuppressionCheckIn:

  • emailslist of string

    Up to 100 items.

  • phoneslist of string

    Up to 100 items.

Answer: 200 OK.

A SuppressionChecks:

Can also answer 400, 401, 402, 403, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/suppressions/check" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "emails": [
    "[email protected]"
  ],
  "phones": [
    "..."
  ]
}'
get/api/v1/lead-forms

Your website forms, newest first, with how many were sent.

listLeadFormsBetaRead-only keys can use thisPermission: leads:read

Parameters

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A LeadFormPage:

  • itemslist of LeadFormrequired
  • next_cursorstring or nullrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-forms" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/lead-forms

Make a website form. You get its share link and the HTML to paste into your site.

createLeadFormBetaRetry-safePermission: leads:write

Body (JSON)

A LeadFormIn:

  • namestringrequired

    1 to 200 characters.

  • fieldslist of FormFieldIn or null

    Up to 23 items.

  • consentlist of ConsentItemIn or null

    Up to 4 items.

  • age_checkboolean

    Default: false.

  • notice_textstring or null

    Up to 5000 characters.

  • pagePageIn or null
  • success_messagestring

    Up to 1000 characters.

  • redirect_urlstring or null

    Up to 1000 characters.

  • list_idstring or null

    1 to 100 characters.

  • tagslist of string

    Up to 20 items.

  • notify_user_idslist of string

    Up to 20 items.

  • brand_idstring or null

    1 to 100 characters.

  • enabledboolean

    Default: true.

  • auto_replyAutoReplyIn or null
  • trackingFormTrackingIn or null

Answer: 201 Created.

A LeadFormDetail:

  • idstringrequired
  • public_idstringrequired

    The id in the form's public links.

  • namestringrequired
  • fieldslist of FormFieldrequired
  • consentlist of FormConsentBoxrequired
  • age_checkbooleanrequired

    The form asks people to confirm they're 18 or older (a needed box).

  • pageFormPagerequired

    What the hosted page (public_url) shows above the form.

  • success_messagestringrequired
  • redirect_urlstring or nullrequired

    Your own thank-you page, if any.

  • list_idstring or nullrequired

    New leads from this form go into this list.

  • tagslist of stringrequired
  • notify_user_idslist of stringrequired

    Workspace members who get an email for each submission.

  • brand_idstring or nullrequired
  • enabledbooleanrequired
  • auto_replyFormAutoReplyrequired
  • livebooleanrequired

    Enabled, and the business details it needs are filled in.

  • missinglist of stringrequired

    What to fill in under Leads settings before the form can go live, e.g. business name.

  • public_urlstringrequired

    The hosted page to share.

  • submit_urlstringrequired

    Where your own HTML form posts to (submitLeadForm).

  • googleFormGooglerequired
  • trackingFormTrackingrequired
  • countsFormCountsrequired
  • last_submission_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • noticeFormNoticeTextrequired
  • embed_htmlstringrequired

    A plain HTML form that posts to submit_url, ready to paste.

  • productslist of stringrequired

    What "Which product?" offers: the brand's products in stock.

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-forms" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch"
}'
get/api/v1/lead-forms/{id}

One form, with its notice, share link and HTML.

getLeadFormBetaRead-only keys can use thisPermission: leads:read

Parameters

  • idin the pathstringrequired

Answer: 200 OK.

A LeadFormDetail:

  • idstringrequired
  • public_idstringrequired

    The id in the form's public links.

  • namestringrequired
  • fieldslist of FormFieldrequired
  • consentlist of FormConsentBoxrequired
  • age_checkbooleanrequired

    The form asks people to confirm they're 18 or older (a needed box).

  • pageFormPagerequired

    What the hosted page (public_url) shows above the form.

  • success_messagestringrequired
  • redirect_urlstring or nullrequired

    Your own thank-you page, if any.

  • list_idstring or nullrequired

    New leads from this form go into this list.

  • tagslist of stringrequired
  • notify_user_idslist of stringrequired

    Workspace members who get an email for each submission.

  • brand_idstring or nullrequired
  • enabledbooleanrequired
  • auto_replyFormAutoReplyrequired
  • livebooleanrequired

    Enabled, and the business details it needs are filled in.

  • missinglist of stringrequired

    What to fill in under Leads settings before the form can go live, e.g. business name.

  • public_urlstringrequired

    The hosted page to share.

  • submit_urlstringrequired

    Where your own HTML form posts to (submitLeadForm).

  • googleFormGooglerequired
  • trackingFormTrackingrequired
  • countsFormCountsrequired
  • last_submission_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • noticeFormNoticeTextrequired
  • embed_htmlstringrequired

    A plain HTML form that posts to submit_url, ready to paste.

  • productslist of stringrequired

    What "Which product?" offers: the brand's products in stock.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-forms/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/lead-forms/{id}

Change a form, or switch it off.

updateLeadFormBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Body (JSON)

A LeadFormPatch:

  • namestring or null

    1 to 200 characters.

  • fieldslist of FormFieldIn or null

    Up to 23 items.

  • consentlist of ConsentItemIn or null

    Up to 4 items.

  • age_checkboolean or null
  • notice_textstring or null

    Up to 5000 characters.

  • pagePageIn or null
  • success_messagestring or null

    Up to 1000 characters.

  • redirect_urlstring or null

    Up to 1000 characters.

  • list_idstring or null

    1 to 100 characters.

  • tagslist of string or null

    Up to 20 items.

  • notify_user_idslist of string or null

    Up to 20 items.

  • brand_idstring or null

    1 to 100 characters.

  • enabledboolean or null
  • auto_replyAutoReplyIn or null
  • trackingFormTrackingIn or null

Answer: 200 OK.

A LeadFormDetail:

  • idstringrequired
  • public_idstringrequired

    The id in the form's public links.

  • namestringrequired
  • fieldslist of FormFieldrequired
  • consentlist of FormConsentBoxrequired
  • age_checkbooleanrequired

    The form asks people to confirm they're 18 or older (a needed box).

  • pageFormPagerequired

    What the hosted page (public_url) shows above the form.

  • success_messagestringrequired
  • redirect_urlstring or nullrequired

    Your own thank-you page, if any.

  • list_idstring or nullrequired

    New leads from this form go into this list.

  • tagslist of stringrequired
  • notify_user_idslist of stringrequired

    Workspace members who get an email for each submission.

  • brand_idstring or nullrequired
  • enabledbooleanrequired
  • auto_replyFormAutoReplyrequired
  • livebooleanrequired

    Enabled, and the business details it needs are filled in.

  • missinglist of stringrequired

    What to fill in under Leads settings before the form can go live, e.g. business name.

  • public_urlstringrequired

    The hosted page to share.

  • submit_urlstringrequired

    Where your own HTML form posts to (submitLeadForm).

  • googleFormGooglerequired
  • trackingFormTrackingrequired
  • countsFormCountsrequired
  • last_submission_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • noticeFormNoticeTextrequired
  • embed_htmlstringrequired

    A plain HTML form that posts to submit_url, ready to paste.

  • productslist of stringrequired

    What "Which product?" offers: the brand's products in stock.

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/lead-forms/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "fields": [
    {
      "key": "..."
    }
  ],
  "consent": [
    {
      "purpose": "enquiry",
      "label": "..."
    }
  ]
}'
delete/api/v1/lead-forms/{id}

Delete a form and what was sent with it. The leads it made stay.

deleteLeadFormBetaPermission: leads:write

Parameters

  • idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/lead-forms/ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/lead-forms/{id}/submissions

What people sent with a form, newest first. Add spam=true to see the spam.

listLeadFormSubmissionsBetaRead-only keys can use thisPermission: leads:read

Parameters

  • idin the pathstringrequired
  • spamin the queryboolean

    Default: false.

  • limitin the queryinteger

    From 1 to 100. Default: 30.

  • cursorin the querystring or null

Answer: 200 OK.

A FormSubmissionPage:

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-forms/ID/submissions" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/public/forms/{public_id}/submit

Send a form from your own website. No API key: it is what the form's HTML posts to.

submitLeadFormBetaNo API key needed

Send a form's answers, the way its embed code does. Name each answer by its field key (name, email, phone, company, title, message), send yes for each ticked box (consent_<purpose>_<channel>), _notice with the form's notice version and _t with a time token. JSON gets 201 {ok, message, redirect_url, unsubscribe_url}; a plain HTML form post gets 303 to the thank-you page (or back to the form's own page with ?error= when something is wrong). Suspected spam gets the same answer as a real submit. From a browser, JSON works only on cuil.si's own pages for now: browsers block it from other websites (CORS). On your own website, use the plain HTML form post (the embed code does). Sending leads from your own server? Use POST /leads with an API key: this is for visitors and takes only a few sends from each one.

Parameters

  • public_idin the pathstringrequired

Body (JSON)

  • namestring

    Up to 5000 characters.

  • emailstring

    Up to 5000 characters.

  • phonestring

    Up to 5000 characters.

  • companystring

    Up to 5000 characters.

  • titlestring

    Up to 5000 characters.

  • messagestring

    Up to 5000 characters.

  • consent_enquiry_anystring

    yes when the box was ticked. One per box on the form: consent_<purpose>_<channel>.

  • age_okstring

    yes when the person ticked "I'm 18 or older". Needed when the form's age_check is on.

  • _noticestring

    The form's notice.version, so the exact notice the person saw is kept with their permission.

  • _tstring

    A time token from GET /public/forms/{public_id}/token (the embed code's script gets one). Each token sends answers once. Without one, with a used one, or within 2 seconds of getting it, the answers are kept as suspected spam for the team to check.

  • homepagestring

    Leave it empty and hidden from people: bots fill it in.

  • productstring

    The answer to "Which product?": one of the brand's product names the form shows (it becomes the lead's Interested in).

  • placestring

    The place label of the QR code the person scanned (the page's ?place=).

    Up to 80 characters.

  • q_budgetstring or list of string

    An answer to one of your own questions, named by its key (q_ and 2 to 20 lowercase letters or digits). Tick boxes take a list of the chosen answers.

Answer: 201 Created.

A FormSent:

  • okbooleanrequired
  • messagestringrequired

    The form's thank-you message.

  • redirect_urlstringrequired

    The thank-you page.

  • unsubscribe_urlstring or nullrequired

    The person's own page to stop messages (when they gave an email), for your thank-you page.

Can also answer 303, 400, 404, 413, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/public/forms/PUBLIC_ID/submit" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Asha Rao",
  "email": "[email protected]",
  "phone": "+919812345678"
}'
post/api/v1/leads/{lead_id}/enrich

Look a lead up with your connected data providers and fill in its empty fields.

enrichLeadBetaRetry-safePermission: leads:write

Look this lead up with your connected data providers now. Fills empty fields only unless `overwrite`.

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A EnrichIn:

  • whatstring

    One of: person, company, both. Default: both.

  • find_phoneboolean

    Default: false.

  • overwriteboolean

    Default: false.

  • basisstring or null

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect.

  • providerslist of string or null

    Up to 10 items.

  • verify_emailboolean

    Default: false.

Answer: 200 OK.

A LeadLookup:

  • lead_idstringrequired
  • foundbooleanrequired
  • filledlist of stringrequired

    The fields that were filled in, e.g. title, company.industry.

  • providerslist of stringrequired

    The providers whose answers were used.

  • email_checkEmailCheck or nullrequired
  • basisstringrequired

    The lawful reason used for the lookup.

  • basis_sourcestringrequired

    chosen (you sent basis), permission log, or recorded when added (the reason chosen when the person was added from a search of a company).

  • attemptslist of LookupAttemptrequired
  • leadLeadrequired

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/enrich" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "what": "both",
  "find_phone": false,
  "overwrite": false
}'
post/api/v1/leads/{lead_id}/verify-email

Check whether a lead's email works, with your own email checker or cuil.si's (uses credits).

verifyLeadEmailBetaRetry-safePermission: leads:write

Check whether the lead's email works: your own checker for free, else cuil.si's (1 credit a check).

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A VerifyIn:

  • basisstring or null

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect.

  • providerstring or null

    1 to 30 characters.

Answer: 200 OK.

A EmailCheckResult:

  • lead_idstringrequired
  • email_checkEmailCheck or nullrequired

    None when no checker could answer; see attempts.

  • attemptslist of LookupAttemptrequired
  • basisstringrequired
  • basis_sourcestring or null

    When the email was checked.

  • leadLead or null

    When the email was checked.

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/verify-email" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "basis": "consent",
  "provider": "..."
}'
get/api/v1/leads/{lead_id}/enrichment

Who was asked about a lead, what they filled in and what it cost, newest first.

listLeadLookupsBetaRead-only keys can use thisPermission: leads:read

Parameters

  • lead_idin the pathstringrequired
  • limitin the queryinteger

    From 1 to 100. Default: 50.

Answer: 200 OK.

A LookupLog:

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/leads/LEAD_ID/enrichment" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/lead-enrichment/bulk

Look many leads up in the background (up to 1,000): the ones you pick, or one list.

enrichLeadsBetaRetry-safePermission: leads:write

Look many leads up in the background (at most 1,000; one list or picked leads).

Body (JSON)

A BulkIn:

  • whatstring

    One of: person, company, both. Default: both.

  • find_phoneboolean

    Default: false.

  • overwriteboolean

    Default: false.

  • basisstring or null

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect.

  • providerslist of string or null

    Up to 10 items.

  • verify_emailboolean

    Default: false.

  • lead_idslist of string

    Up to 1000 items.

  • list_idstring or null

    Up to 100 characters.

Answer: 202 Accepted: it carries on in the background.

A BulkLookup:

  • idstringrequired
  • statusstringrequired

    queued, running, succeeded, failed or cancelled.

  • progressintegerrequired

    0 to 100.

  • messagestring or nullrequired
  • totalintegerrequired
  • doneintegerrequired
  • countsobjectrequired

    How many leads ended each way: found, nothing_found, or an error code such as do_not_contact or basis_required.

  • skipped_providersobjectrequired

    Providers left out part way (key refused, out of credits), with why.

  • optionsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-enrichment/bulk" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "what": "both",
  "find_phone": false,
  "overwrite": false
}'
get/api/v1/lead-enrichment/bulk/{job_id}

How a background lookup is going.

getBulkLookupBetaRead-only keys can use thisPermission: leads:read

Parameters

  • job_idin the pathstringrequired

Answer: 200 OK.

A BulkLookup:

  • idstringrequired
  • statusstringrequired

    queued, running, succeeded, failed or cancelled.

  • progressintegerrequired

    0 to 100.

  • messagestring or nullrequired
  • totalintegerrequired
  • doneintegerrequired
  • countsobjectrequired

    How many leads ended each way: found, nothing_found, or an error code such as do_not_contact or basis_required.

  • skipped_providersobjectrequired

    Providers left out part way (key refused, out of credits), with why.

  • optionsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-enrichment/bulk/JOB_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/lead-enrichment/usage

Lookups used in the last 24 hours against your daily limit, and what lead actions cost.

getLookupUsageBetaRead-only keys can use thisPermission: leads:read

Answer: 200 OK.

A LookupUsage:

  • limitintegerrequired

    Lookups allowed in any 24 hours (0: no limit).

  • usedintegerrequired
  • leftintegerrequired
  • window_hoursintegerrequired
  • by_providerlist of ProviderUsagerequired
  • costsCreditCostsrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-enrichment/usage" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
get/api/v1/lead-scoring

The scoring rules in use, the points that always count, and what a rule can look at.

getScoringRulesBetaRead-only keys can use thisPermission: leads:read

Answer: 200 OK.

A ScoringRules:

  • ruleslist of ScoreRulerequired

    Your rules, or the ready-made set when you have none.

  • ready_madebooleanrequired
  • ready_made_ruleslist of ScoreRulerequired
  • score_setstringrequired

    The ready-made set in use: small_business or b2b.

  • labelslist of LabelRangerequired

    Cold to Ready to buy, with their scores and next steps.

  • engagementlist of EngagementPointsrequired

    Points that always count, such as filling in a form.

  • fieldslist of KeyLabelrequired

    What a rule can look at.

  • operatorslist of KeyLabelrequired

Can also answer 401, 403, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-scoring" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/leads/{lead_id}/score

Work out a lead's score from your rules now.

scoreLeadBetaPermission: leads:write

Parameters

  • lead_idin the pathstringrequired

Answer: 200 OK.

A LeadScore:

  • lead_idstringrequired
  • scoreintegerrequired

    0 to 100, from your rules and the lead's activity.

  • labelScoreLabelrequired
  • reasonslist of ScoreReasonrequired
  • aiAiGrade or nullrequired

    The last AI grade, if any.

Can also answer 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/score" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/leads/{lead_id}/score-ai

Grade a lead A to D against your ideal customer with AI (uses credits). The score stays as it is.

scoreLeadWithAiBetaRetry-safePermission: leads:write

A grade A-D, a fit score, a one-line reason and a next step from the AI (1 credit). Refused (409 lead_form_no_ai) for a lead from a lead form in a Google, Facebook or LinkedIn ad: those leads aren't sent to AI for now.

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A AiScoreIn:

  • icp_textstring or null

    Up to 5000 characters.

Answer: 200 OK.

A AiLeadScore:

  • lead_idstringrequired
  • scoreintegerrequired

    0 to 100, from your rules and the lead's activity.

  • labelScoreLabelrequired
  • reasonslist of ScoreReasonrequired
  • aiAiGrade or nullrequired

    The last AI grade, if any.

  • gradestringrequired

    A, B, C or D.

  • fitintegerrequired

    How well the lead fits your ideal customer, 0 to 100.

  • reasonstringrequired
  • next_stepstringrequired
  • credits_usedintegerrequired

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/score-ai" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "icp_text": "..."
}'
post/api/v1/leads/{lead_id}/write-email

Write a short personal sales email to a lead with AI (uses credits). Nothing is sent.

writeSalesEmailBetaRetry-safePermission: leads:write

A short personalised email (subject and body) for this lead (1 credit), signed with your name and the business name and ending with the lead's own unsubscribe link. Nothing is sent. `purpose` "enquiry" replies to what they wrote in your form, in `language` (auto: the language they wrote in), and only for people who came to you themselves (409 not_an_enquiry otherwise). Refused (409) for people on the do-not-contact list or who said no to this kind of email, (409 lead_form_no_ai) for a lead from a lead form in a Google, Facebook or LinkedIn ad, since those leads aren't sent to AI for now, and (403) for a role that can't see people's details; `warning` says when they haven't said yes yet.

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A WriteEmailIn:

  • goalstring

    Up to 500 characters.

  • purposestring

    One of: enquiry, marketing. Default: marketing.

  • languagestring

    One of: auto, en, hi, es, fr, de, pt, ar. Default: auto.

  • brand_idstring or null

    Up to 100 characters.

  • tonestring or null

    One of: friendly, professional, warm, direct.

  • lengthstring

    One of: short, medium. Default: short.

  • call_to_actionstring or null

    Up to 200 characters.

Answer: 200 OK.

A SalesEmail:

  • lead_idstringrequired
  • purposestringrequired

    marketing (a sales email) or enquiry (a reply to what they wrote in your form).

  • languagestringrequired

    auto (the language of their message) or the language asked for.

  • subjectstringrequired
  • bodystringrequired

    Signed with your name and the business name; a sales email also has your business name and postal address. Ends with the unsubscribe line holding the person's own link.

  • first_linestringrequired
  • how_we_found_youstring or nullrequired

    Added for people who didn't come to you themselves.

  • unsubscribe_urlstringrequired

    The person's own unsubscribe link, already in the body.

  • credits_usedintegerrequired
  • warningLeadWarning or null

    Set when they haven't said yes to this kind of email yet.

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/write-email" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "goal": "",
  "purpose": "marketing",
  "language": "auto"
}'
post/api/v1/leads/{lead_id}/log

Log a call, a WhatsApp, an email, their reply or a booked meeting. A reply or a meeting counts in the score at once and stops their follow-up emails.

logLeadContactBetaPermission: leads:write

Called, WhatsApp'd, Emailed, They replied or Meeting booked, with an optional note. A reply or a meeting counts in the score at once and stops their follow-up emails.

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A LogIn:

  • whatstringrequired

    One of: called, whatsapped, emailed, replied, meeting.

  • notestring

    Up to 2000 characters.

Answer: 201 Created.

A ContactLogged:

  • activityActivityrequired
  • scoreintegerrequired
  • labelScoreLabelrequired
  • follow_ups_stoppedintegerrequired
  • last_contacted_atstring or nullrequired
  • last_reply_atstring or nullrequired
  • waiting_for_usbooleanrequired
  • contactedbooleanrequired

Can also answer 400, 401, 402, 403, 404, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/log" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "what": "called"
}'
get/api/v1/leads/{lead_id}/sales

A lead's sales, newest first, and what they spent.

listLeadSalesBetaRead-only keys can use thisPermission: leads:read

The lead's sales, newest first, and what they spent in all.

Parameters

  • lead_idin the pathstringrequired

Answer: 200 OK.

A SalePage:

  • itemslist of Salerequired
  • next_cursorstring or nullrequired
  • customerCustomer or nullrequired

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/leads/LEAD_ID/sales" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/leads/{lead_id}/sales

Record a sale: the lead becomes a customer, its deal is won and its follow-ups stop. The same order id is only counted once.

recordLeadSaleBetaRetry-safePermission: leads:write

Record a sale: the lead becomes a customer, its deal is won and its follow-ups stop. An order id already saved answers 200 with that sale ("duplicate": true) and records nothing.

Parameters

  • lead_idin the pathstringrequired

Body (JSON)

A SaleIn:

  • amount_minorintegerrequired

    In the smallest unit (paise, cents).

    From 0 to 10000000000000.

  • currencystring or null
  • productstring

    Up to 200 characters.

  • sold_atstring (date-time) or null
  • order_idstring or null

    Up to 200 characters.

  • deal_idstring (uuid) or null

Answer: 200 OK.

A SaleSaved:

  • saleSalerequired
  • duplicatebooleanrequired

    True when this order id was already recorded: nothing new was saved.

  • customerCustomer or nullrequired

Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/leads/LEAD_ID/sales" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "amount_minor": 0
}'
post/api/v1/lead-sales

Record a sale from your shop or another app, naming the lead by its id, email or phone.

recordSaleForLeadBetaRetry-safePermission: leads:write

Record a sale from another app (a shop): the lead by its lead_id, email or phone (404 when no lead has it).

Body (JSON)

A SaleForLeadIn:

  • amount_minorintegerrequired

    In the smallest unit (paise, cents).

    From 0 to 10000000000000.

  • currencystring or null
  • productstring

    Up to 200 characters.

  • sold_atstring (date-time) or null
  • order_idstring or null

    Up to 200 characters.

  • deal_idstring (uuid) or null
  • lead_idstring (uuid) or null
  • emailstring or null

    Up to 320 characters.

  • phonestring or null

    Up to 40 characters.

Answer: 200 OK.

A SaleSaved:

  • saleSalerequired
  • duplicatebooleanrequired

    True when this order id was already recorded: nothing new was saved.

  • customerCustomer or nullrequired

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-sales" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "amount_minor": 0
}'
delete/api/v1/lead-sales/{sale_id}

Remove a sale recorded by mistake.

deleteLeadSaleBetaPermission: leads:write

Parameters

  • sale_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/lead-sales/SALE_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
post/api/v1/lead-segments

Save a Leads filter as a segment. Its people fill in within a minute, then update by themselves.

createLeadSegmentBetaRetry-safePermission: leads:write

Save a Leads filter as a segment. Its people fill in within a minute and then update by themselves.

Body (JSON)

A SegmentIn:

  • namestringrequired

    1 to 200 characters.

  • filterSegmentFilterrequired
  • descriptionstring

    Up to 1000 characters.

Answer: 201 Created.

A LeadSegment:

  • idstringrequired
  • namestringrequired
  • descriptionstring or nullrequired
  • kindstringrequired

    static, or smart: a segment whose people update by themselves.

  • member_countinteger or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • filled_atstring or nullrequired

    Its last full refresh.

  • filterobject or null

    A segment's filters (the names of listLeads).

  • updatingboolean or null

    True while a new segment is still filling in.

Can also answer 400, 401, 402, 403, 409, 422, 429. See errors.

Example

curl -X POST "https://cuil.si/api/v1/lead-segments" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "filter": {
    "q": "...",
    "stage": "...",
    "label": "cold"
  }
}'
get/api/v1/lead-segments/{segment_id}

One segment, with its size.

getLeadSegmentBetaRead-only keys can use thisPermission: leads:read

Parameters

  • segment_idin the pathstringrequired

Answer: 200 OK.

A LeadSegment:

  • idstringrequired
  • namestringrequired
  • descriptionstring or nullrequired
  • kindstringrequired

    static, or smart: a segment whose people update by themselves.

  • member_countinteger or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • filled_atstring or nullrequired

    Its last full refresh.

  • filterobject or null

    A segment's filters (the names of listLeads).

  • updatingboolean or null

    True while a new segment is still filling in.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl "https://cuil.si/api/v1/lead-segments/SEGMENT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"
patch/api/v1/lead-segments/{segment_id}

Rename a segment or change its filters.

updateLeadSegmentBetaPermission: leads:write

Parameters

  • segment_idin the pathstringrequired

Body (JSON)

A SegmentPatch:

  • namestring or null

    1 to 200 characters.

  • descriptionstring or null

    Up to 1000 characters.

  • filterSegmentFilter or null

Answer: 200 OK.

A LeadSegment:

  • idstringrequired
  • namestringrequired
  • descriptionstring or nullrequired
  • kindstringrequired

    static, or smart: a segment whose people update by themselves.

  • member_countinteger or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • filled_atstring or nullrequired

    Its last full refresh.

  • filterobject or null

    A segment's filters (the names of listLeads).

  • updatingboolean or null

    True while a new segment is still filling in.

Can also answer 400, 401, 403, 404, 422, 429. See errors.

Example

curl -X PATCH "https://cuil.si/api/v1/lead-segments/SEGMENT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Summer launch",
  "description": "...",
  "filter": {
    "q": "...",
    "stage": "...",
    "label": "cold"
  }
}'
delete/api/v1/lead-segments/{segment_id}

Delete a segment. Its people stay.

deleteLeadSegmentBetaPermission: leads:write

Delete a segment. The people in it stay.

Parameters

  • segment_idin the pathstringrequired

Answer: 204 Done. There is no body.

Can also answer 401, 403, 404, 422, 429. See errors.

Example

curl -X DELETE "https://cuil.si/api/v1/lead-segments/SEGMENT_ID" \
  -H "Authorization: Bearer $CUILSI_API_KEY"

Models

The objects the operations send and answer with. New fields can be added within v1, so ignore fields you don't know.

Activity

  • idstringrequired
  • lead_idstring or nullrequired
  • deal_idstring or nullrequired
  • kindstringrequired

    note, api, stage_changed, form_submitted, email_sent and so on.

  • bodystringrequired
  • metaobjectrequired
  • occurred_atstringrequired
  • actorstringrequired

    Who did it: user, api, workflow or system.

  • actor_idstring or nullrequired
  • created_atstringrequired

ActivityIn

  • kindstring

    One of: note, api, email_sent, email_replied, whatsapp_sent, whatsapp_received, meeting_booked, task_done. Default: note.

  • bodystring

    Up to 5000 characters.

  • metaobject or null
  • occurred_atstring (date-time) or null

ActivityPage

  • itemslist of Activityrequired
  • next_cursorstring or nullrequired

AiGrade

  • keystringrequired
  • kindstringrequired

    ai.

  • labelstringrequired
  • pointsintegerrequired

    Always 0: the AI grade advises and never changes the score.

  • gradestringrequired

    A, B, C or D.

  • fitintegerrequired

    0 to 100.

  • reasonstringrequired
  • next_stepstringrequired
  • atstringrequired

AiLeadScore

  • lead_idstringrequired
  • scoreintegerrequired

    0 to 100, from your rules and the lead's activity.

  • labelScoreLabelrequired
  • reasonslist of ScoreReasonrequired
  • aiAiGrade or nullrequired

    The last AI grade, if any.

  • gradestringrequired

    A, B, C or D.

  • fitintegerrequired

    How well the lead fits your ideal customer, 0 to 100.

  • reasonstringrequired
  • next_stepstringrequired
  • credits_usedintegerrequired

AiScoreIn

  • icp_textstring or null

    Up to 5000 characters.

ApprovalRemakeOut

An approval's "Remake the picture" (in the app only): made so far, left, one being made, why one failed.

  • countinteger

    Default: 0.

  • leftinteger

    Default: 0.

  • runningboolean

    Default: false.

  • failedstring or null

ApproveIn

  • stepstringrequired

    One of: story, cast, storyboard.

AssetOut

  • idstringrequired
  • kindstringrequired
  • sourcestringrequired
  • namestringrequired
  • urlstringrequired
  • content_typestringrequired
  • size_bytesintegerrequired
  • created_atstringrequired
  • download_namestring
  • download_urlstring
  • thumbnail_urlstring or null
  • widthinteger or null
  • heightinteger or null
  • duration_snumber or null
  • tagslist of string
  • brand_idstring or null
  • generation_idstring or null
  • without_logo_idstring or null
  • logo_notestring or null
  • join_notestring or null
  • made_from_idstring or null
  • picture_toolstring or null
  • folder_idstring or null

AssetPage

  • itemslist of AssetOutrequired
  • next_cursorstring or null

AssetUpdate

  • namestring or null

    1 to 300 characters.

  • tagslist of string or null
  • brand_idstring or null

AutoReplyIn

The thank-you email sent once to the person who filled in the form (off unless `enabled`). An empty subject or text uses the ready-made words with the business name.

  • enabledboolean

    Default: false.

  • subjectstring

    Up to 200 characters.

  • textstring

    Up to 3000 characters.

  • googleboolean

    Also send it to people from Google Ads lead forms (only while emails to leads are switched on). Only someone signed in to cuil.si can switch this on: an API key that tries gets 403 forbidden.

    Default: false.

BrandCreate

A new brand. Each font must be one cuil.si can draw on pictures (a common computer font such as Arial is fine).

  • namestringrequired

    1 to 200 characters.

  • taglinestring

    Up to 200 characters.

  • contact_emailstring

    Up to 320 characters.

  • website_urlstring or null

    Up to 2000 characters.

  • phonestring or null

    Up to 60 characters.

  • whatsappstring or null

    Up to 60 characters.

  • addressstring or null

    Up to 1000 characters.

  • descriptionstring

    Up to 2000 characters.

  • audiencestring

    Up to 1000 characters.

  • voice_tonestring

    Up to 500 characters.

  • voice_doslist of string

    Up to 40 items.

  • voice_dontslist of string

    Up to 40 items.

  • keywordslist of string

    Up to 30 items.

  • never_wordslist of string

    Up to 40 items.

  • always_wordslist of string

    Up to 40 items.

  • colorslist of string

    Up to 12 items.

  • fontslist of string

    Up to 6 items.

  • logo_asset_idstring or null
  • productslist of BrandProduct

    Up to 30 items.

  • languagestring

    Up to 10 characters. Default: en.

BrandImportIn

  • urlstringrequired

    3 to 2000 characters.

  • writerstring or null

    One of: auto, everyday, creative, smart_stories, smart_precise.

BrandImportOut

A brand profile read from a website. Nothing is saved until the user saves the form.

BrandOut

  • idstringrequired
  • namestringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • taglinestring
  • contact_emailstring
  • website_urlstring or null
  • phonestring or null
  • whatsappstring or null
  • addressstring or null
  • descriptionstring
  • audiencestring
  • voice_tonestring
  • voice_doslist of string
  • voice_dontslist of string
  • keywordslist of string
  • never_wordslist of string
  • always_wordslist of string
  • colorslist of string
  • fontslist of string
  • font_noteslist of FontNote
  • logo_asset_idstring or null
  • logo_urlstring or null
  • logoAssetOut or null
  • productslist of BrandProduct
  • languagestring

    Default: en.

  • is_defaultboolean

    Default: false.

  • assetsobject

    Default: {}.

BrandProduct

One product or service of the brand (GIN-455: price, sale price, link, key features, category, in stock). The writers and the ad wizard get them through brands.service.brand_prompt_context.

  • namestringrequired

    1 to 120 characters.

  • descriptionstring

    Up to 1000 characters.

  • asset_idslist of string

    Up to 8 items.

  • pricenumber or null

    From 0 to 1000000000.

  • sale_pricenumber or null

    From 0 to 1000000000.

  • currencystring

    Up to 3 characters.

  • linkstring or null

    Up to 2000 characters.

  • featureslist of string

    Up to 6 items.

  • categorystring

    Up to 80 characters.

  • in_stockboolean

    Default: true.

BrandUpdate

Only the fields that are sent are changed. A font already saved with the brand may stay even when cuil.si can't draw it; a new one must be one it can.

  • namestring or null

    1 to 200 characters.

  • taglinestring or null

    Up to 200 characters.

  • contact_emailstring or null

    Up to 320 characters.

  • website_urlstring or null

    Up to 2000 characters.

  • phonestring or null

    Up to 60 characters.

  • whatsappstring or null

    Up to 60 characters.

  • addressstring or null

    Up to 1000 characters.

  • descriptionstring or null

    Up to 2000 characters.

  • audiencestring or null

    Up to 1000 characters.

  • voice_tonestring or null

    Up to 500 characters.

  • voice_doslist of string or null

    Up to 40 items.

  • voice_dontslist of string or null

    Up to 40 items.

  • keywordslist of string or null

    Up to 30 items.

  • never_wordslist of string or null

    Up to 40 items.

  • always_wordslist of string or null

    Up to 40 items.

  • colorslist of string or null

    Up to 12 items.

  • fontslist of string or null

    Up to 6 items.

  • logo_asset_idstring or null
  • productslist of BrandProduct or null

    Up to 30 items.

  • languagestring or null

    Up to 10 characters.

BulkActionIn

  • lead_idslist of string (uuid)required

    Up to 500 items.

  • actionstringrequired

    One of: move_stage, add_tag, remove_tag, add_to_list, assign, delete.

  • stage_idstring or null

    1 to 50 characters.

  • tagstring or null

    1 to 60 characters.

  • list_idstring (uuid) or null
  • assignee_idstring (uuid) or null

BulkActionResult

What a bulk action did. Leads of another workspace (or already erased) are skipped as not found.

BulkIn

  • whatstring

    One of: person, company, both. Default: both.

  • find_phoneboolean

    Default: false.

  • overwriteboolean

    Default: false.

  • basisstring or null

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect.

  • providerslist of string or null

    Up to 10 items.

  • verify_emailboolean

    Default: false.

  • lead_idslist of string

    Up to 1000 items.

  • list_idstring or null

    Up to 100 characters.

BulkLookup

Looking many leads up in the background.

  • idstringrequired
  • statusstringrequired

    queued, running, succeeded, failed or cancelled.

  • progressintegerrequired

    0 to 100.

  • messagestring or nullrequired
  • totalintegerrequired
  • doneintegerrequired
  • countsobjectrequired

    How many leads ended each way: found, nothing_found, or an error code such as do_not_contact or basis_required.

  • skipped_providersobjectrequired

    Providers left out part way (key refused, out of credits), with why.

  • optionsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired

BulkSkipped

  • lead_idstringrequired
  • reasonstringrequired

    Why it wasn't done: in plain words (e.g. We couldn't find this lead.), or the code already_in_list for Add to list.

CatalogOut

  • categorieslist of objectrequired
  • nodeslist of objectrequired

ChannelPermission

  • channelstringrequired

    email, whatsapp or phone.

  • purposestringrequired

    enquiry, marketing or newsletter.

  • allowedbooleanrequired
  • reasonstringrequired

    ok, do_not_contact, no_address, no_permission, withdrawn, needs_opt_in or no_yes (email marketing and newsletter: only the person's own yes counts, so another reason on record isn't enough).

  • basisstring or nullrequired
  • captured_atstring or nullrequired
  • captured_viastring or nullrequired
  • warningstring or nullrequired

    Allowed for now, but read this first: for people in India, existing_customer and b2b_prospect stop allowing marketing on 13 May 2027.

CharacterCreate

  • namestringrequired

    1 to 100 characters.

  • kindstring

    One of: person, mascot, product, other. Default: person.

  • descriptionstring

    Up to 2000 characters.

  • personalitystring

    Up to 1000 characters.

  • reference_asset_idslist of string

    Up to 24 items.

  • cover_asset_idstring or null
  • voicestring or null

    Up to 100 characters.

  • brand_idstring or null

CharacterOut

  • idstringrequired
  • namestringrequired
  • kindstringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • descriptionstring
  • personalitystring
  • reference_asset_idslist of string
  • referenceslist of AssetOut
  • cover_asset_idstring or null
  • cover_urlstring or null
  • voicestring or null
  • voice_labelstring or null
  • brand_idstring or null
  • look_generation_idstring or null

CharacterUpdate

Only the fields that are sent are changed. Send null for voice, brand_id or cover_asset_id to clear.

  • namestring or null

    1 to 100 characters.

  • kindstring or null

    One of: person, mascot, product, other.

  • descriptionstring or null

    Up to 2000 characters.

  • personalitystring or null

    Up to 1000 characters.

  • reference_asset_idslist of string or null

    Up to 24 items.

  • cover_asset_idstring or null
  • voicestring or null

    Up to 100 characters.

  • brand_idstring or null

Company

  • idstringrequired
  • namestringrequired
  • domainstring or nullrequired
  • industrystring or nullrequired
  • size_rangestring or nullrequired
  • employee_countinteger or nullrequired
  • countrystring or nullrequired
  • citystring or nullrequired
  • linkedin_urlstring or nullrequired
  • websitestring or nullrequired
  • descriptionstring or nullrequired
  • tagslist of stringrequired
  • fieldsobjectrequired
  • enrichmentobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • countsCompanyCounts or null

    On a single company only.

CompanyBrief

  • idstringrequired
  • namestringrequired
  • domainstring or nullrequired

CompanyCounts

  • leadsintegerrequired
  • dealsintegerrequired

CompanyIn

  • namestringrequired

    1 to 300 characters.

  • domainstring or null

    Up to 500 characters.

  • industrystring or null

    Up to 200 characters.

  • size_rangestring or null

    Up to 30 characters.

  • employee_countinteger or null

    From 0 to 10000000.

  • countrystring or null

    Up to 60 characters.

  • citystring or null

    Up to 100 characters.

  • linkedin_urlstring or null

    Up to 500 characters.

  • websitestring or null

    Up to 500 characters.

  • descriptionstring or null

    Up to 5000 characters.

  • tagslist of string

    Up to 50 items.

  • fieldsobject or null

CompanyOut

The workspace's cuil.si Enterprise: on or a pilot, until when, its tools, and how many people here have two-step sign-in on.

  • enterprisebooleanrequired
  • toolslist of CompanyToolrequired
  • peopleintegerrequired
  • people_with_two_stepintegerrequired
  • ends_onstring or null

CompanyPage

  • itemslist of Companyrequired
  • next_cursorstring or nullrequired

CompanyPatch

  • namestring or null

    1 to 300 characters.

  • domainstring or null

    Up to 500 characters.

  • industrystring or null

    Up to 200 characters.

  • size_rangestring or null

    Up to 30 characters.

  • employee_countinteger or null

    From 0 to 10000000.

  • countrystring or null

    Up to 60 characters.

  • citystring or null

    Up to 100 characters.

  • linkedin_urlstring or null

    Up to 500 characters.

  • websitestring or null

    Up to 500 characters.

  • descriptionstring or null

    Up to 5000 characters.

  • tagslist of string or null

    Up to 50 items.

  • fieldsobject or null

CompanyRef

  • namestring or null

    Up to 300 characters.

  • domainstring or null

    Up to 500 characters.

CompanyTool

  • keystringrequired
  • labelstringrequired

ConsentIn

What the person agreed to (or took back). The current permission is the latest one per channel and purpose.

  • channelstring

    One of: email, whatsapp, phone, any. Default: email.

  • purposestring or null

    One of: enquiry, marketing, newsletter.

  • statusstring

    One of: granted, withdrawn. Default: granted.

  • basisstring

    Why you may contact them: consent (they said yes), asked_to_be_contacted (they asked you to get back to them), existing_customer or b2b_prospect (a work contact who hasn't said yes). For people in India, existing_customer and b2b_prospect can be recorded, but from 13 May 2027 they no longer allow marketing (the DPDP Rules need the person's own yes); until then the answer carries a warning.

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect. Default: consent.

  • textstring or null

    Up to 2000 characters.

  • notice_versionstring or null

    Up to 64 characters.

  • notice_textstring or null

    Up to 20000 characters.

  • captured_viastring or null

    Up to 100 characters.

  • captured_atstring (date-time) or null
  • proofobject or null

ConsentItemIn

  • purposestringrequired

    One of: enquiry, marketing, newsletter.

  • labelstringrequired

    1 to 300 characters.

  • channelstring

    One of: email, whatsapp, phone, any. Default: email.

  • requiredboolean

    Default: false.

ConsentList

  • itemslist of Consentrequired
  • next_cursorstring or nullrequired
  • permissionPermissionrequired

ConsentSaved

  • idstringrequired
  • lead_idstringrequired
  • channelstringrequired
  • purposestringrequired
  • statusstringrequired

    granted or withdrawn.

  • basisstringrequired
  • notice_versionstring or nullrequired
  • notice_text_sha256string or nullrequired
  • notice_textstring or nullrequired

    The exact notice the person saw, kept even after the form is deleted.

  • captured_viastringrequired
  • captured_atstringrequired
  • proofobjectrequired
  • created_atstringrequired
  • permissionPermissionrequired

ContactLogged

  • activityActivityrequired
  • scoreintegerrequired
  • labelScoreLabelrequired
  • follow_ups_stoppedintegerrequired
  • last_contacted_atstring or nullrequired
  • last_reply_atstring or nullrequired
  • waiting_for_usbooleanrequired
  • contactedbooleanrequired

CreditCosts

What lead actions cost in cuil.si credits.

  • ai_scoreintegerrequired
  • ai_emailintegerrequired
  • email_checkintegerrequired

    An email check on cuil.si's own checker.

  • own_accountintegerrequired

    Lookups with your own provider account (they use its credits).

CreditExpiringOut

  • creditsintegerrequired

    Credits that expire on that day (India time) if they aren't used first.

  • expires_atstringrequired

    When the first of them expire (ISO 8601).

CreditsOut

  • balanceintegerrequired
  • lowbooleanrequired

    The balance is below 10% of the starting credits.

  • expiringCreditExpiringOut or null

    The soonest day credits expire (credits are valid for 12 months from the day they're added, oldest used first); null when none will.

  • valid_forstring or null

    How long added credits are valid, e.g. "12 months"; null when credits never expire.

Customer

  • sincestringrequired

    Their first sale.

  • salesintegerrequired
  • totalslist of CustomerTotalrequired

    What they spent, per currency, biggest first.

CustomerTotal

  • currencystringrequired
  • amount_minorintegerrequired
  • amount_textstringrequired

    e.g. ₹12,500.

Deal

  • idstringrequired
  • pipeline_idstringrequired
  • stagestringrequired
  • namestringrequired
  • value_minorinteger or nullrequired

    The value in the currency's smallest unit (paise, cents).

  • currencystring or nullrequired
  • statusstringrequired

    open, won or lost.

  • leadNamedRef or nullrequired
  • companyCompanyBrief or nullrequired
  • owner_idstring or nullrequired
  • expected_closestring or nullrequired
  • lost_reasonstring or nullrequired
  • closed_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired

DealIn

  • namestring or null

    Up to 300 characters.

  • pipeline_idstring or null

    1 to 100 characters.

  • stagestring or null

    Up to 50 characters.

  • value_minorinteger

    From 0 to 1000000000000000. Default: 0.

  • currencystring

    Default: INR.

  • contact_idstring or null

    1 to 100 characters.

  • company_idstring or null

    1 to 100 characters.

  • owner_idstring or null

    1 to 100 characters.

  • expected_closestring (date) or null

DealPage

  • itemslist of Dealrequired
  • next_cursorstring or nullrequired

DealPatch

  • namestring or null

    1 to 300 characters.

  • stagestring or null

    1 to 50 characters.

  • value_minorinteger or null

    From 0 to 1000000000000000.

  • currencystring or null
  • contact_idstring or null

    1 to 100 characters.

  • company_idstring or null

    1 to 100 characters.

  • owner_idstring or null

    1 to 100 characters.

  • expected_closestring (date) or null
  • lost_reasonstring or null

    Up to 2000 characters.

DecisionIn

  • commentstring or null

    Up to 1000 characters.

  • textstring or null

    Up to 20000 characters.

DeliveryOut

  • idstringrequired
  • endpoint_idstringrequired
  • event_idstringrequired
  • event_typestringrequired
  • statusstringrequired
  • attemptsintegerrequired
  • created_atstringrequired
  • payloadobjectrequired
  • last_status_codeinteger or null
  • last_errorstring or null
  • next_attempt_atstring or null
  • delivered_atstring or null

DeliveryPage

  • itemslist of DeliveryOutrequired
  • next_cursorstring or null

DialogueOut

  • character_namestringrequired
  • linestringrequired
  • character_idstring or null
  • audio_assetAssetOut or null
  • howstring or null
  • spokenstring or null

EmailCheck

  • statusstringrequired

    valid, invalid, risky, catch_all or unknown.

  • is_validbooleanrequired
  • detailstringrequired

    The checker's reason, e.g. mailbox_not_found.

  • providerstringrequired
  • namestringrequired
  • modestringrequired

    byo (your own account, free) or platform (cuil.si's, uses credits).

  • credits_usedintegerrequired

EmailCheckResult

  • lead_idstringrequired
  • email_checkEmailCheck or nullrequired

    None when no checker could answer; see attempts.

  • attemptslist of LookupAttemptrequired
  • basisstringrequired
  • basis_sourcestring or null

    When the email was checked.

  • leadLead or null

    When the email was checked.

EngagementPoints

  • keystringrequired
  • labelstringrequired
  • pointsintegerrequired

EnhanceOut

POST /ai/enhance: the improved prompt, which writer wrote it (a paid writer that was busy or not allowed: Everyday, with `writer_note`), and the Premium writers credits it took (0 for an included writer).

  • promptstringrequired

    1 to 4000 characters.

  • negative_promptstring or null

    Up to 1000 characters.

  • notesstring

    Up to 1000 characters.

  • writerstring

    Default: everyday.

  • writer_labelstring

    Default: Everyday.

  • writer_notestring or null
  • premium_creditsinteger

    Default: 0.

EnhanceRequest

  • textstringrequired

    1 to 20000 characters.

  • targetstring

    One of: image, video, shot, post. Default: image.

  • brand_idstring or null
  • character_idslist of string

    Up to 10 items.

  • model_idstring or null

    Up to 100 characters.

  • references_countinteger

    From 0 to 12. Default: 0.

  • duration_snumber or null

    From 1 to 60.

  • generationGenerationCreate or null
  • writerstring or null

    Up to 100 characters.

EnrichIn

  • whatstring

    One of: person, company, both. Default: both.

  • find_phoneboolean

    Default: false.

  • overwriteboolean

    Default: false.

  • basisstring or null

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect.

  • providerslist of string or null

    Up to 10 items.

  • verify_emailboolean

    Default: false.

EstimateLine

  • labelstringrequired
  • creditsintegerrequired

EstimateOptions

  • modestringrequired

    One of: t2i, edit, t2v, i2v, r2v, tts, stt, continue, music, sfx, voice_change, video_upscale, lipsync.

  • offeredlist of stringrequired
  • hiddenlist of HiddenTierrequired
  • tiersobjectrequired
  • modelslist of ModelOptionrequired
  • styleslist of StyleOption

EstimateOut

EventTypeOut

  • typestringrequired
  • descriptionstringrequired
  • exampleobjectrequired

ExtendsOut

The clip an extend generation carries on (Generation.extends, as far as the person needs it).

  • asset_idstringrequired
  • waystringrequired
  • end_snumber or null
  • skip_snumber or null
  • join_notestring or null

ExtendVideoRequest

  • asset_idstringrequired
  • promptstringrequired

    1 to 3500 characters.

  • duration_sinteger or null

    From 1 to 60.

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • enhanceboolean

    Default: true.

  • audioboolean or null
  • howstring or null

    One of: continue, clip_end, last_frame, frames.

  • added_secondsinteger or null

    From 2 to 8.

  • model_idstring or null

    1 to 100 characters.

  • enhanced_promptstring or null

    1 to 4000 characters.

  • end_snumber or null

    At most 3600.

FilmModels

The AI model for each part of the film, by model id (as listModels shows them; the story writer by its own id). Leave one out, or send null, to let cuil.si choose it by the film's quality (the story: cuil.si's usual story model). A model that can't do a step (for example start a video from a picture) is used where it can, and cuil.si chooses for the rest, with a note on the shot.

  • storystring or null

    The AI model that writes the story and the script (each shot and its lines), by its id: deepseek-ai/DeepSeek-V4.1-Flash-1017, Qwen/Qwen3-235B-A22B-Instruct-2507, deepseek-ai/DeepSeek-V3.2, moonshotai/Kimi-K2.6, google/gemma-4-31B-it, meta-llama/Llama-3.3-70B-Instruct-Turbo. Leave it out for cuil.si's usual story model (the same for every quality). If it can't write the story, the story step fails and says so; cuil.si never swaps it for another one.

    Up to 100 characters.

  • picturesstring or null

    The characters' looks and the places' pictures.

    Up to 100 characters.

  • storyboardstring or null

    The storyboard picture of each shot.

    Up to 100 characters.

  • shotsstring or null

    The video of each shot.

    Up to 100 characters.

  • voicesstring or null

    The spoken lines and the narration.

    Up to 100 characters.

FilmPlanFormat

The film plan's format: the schema, the guide, two examples, the limits and today's prices.

  • plan_versionintegerrequired
  • guide_titlestringrequired
  • guidestringrequired
  • guide_linkstringrequired
  • plan_schemaobjectrequired
  • exampleslist of objectrequired
  • limitsobjectrequired
  • credits_per_secondobjectrequired
  • shot_soundbooleanrequired
  • codesobjectrequired

FilmPlanIn

A film plan: the plan as a JSON object, or the text you pasted (JSON, also inside a ```json block).

  • planstring or objectrequired

FilmStyles

The style for each part of the film instead of a model: what it is best at (the film's "Choose the AI models" lists each part's styles; GET /ai/styles describes them). Leave one out, or send null or "auto", to let cuil.si choose it by the film's quality. A model chosen for the same part in `models` wins over its style.

  • picturesstring or null

    The characters' looks and the places' pictures: photoreal, artistic or text_design.

    1 to 60 characters.

  • storyboardstring or null

    The storyboard picture of each shot: photoreal, artistic or text_design.

    1 to 60 characters.

  • shotsstring or null

    The video of each shot: cinematic or realistic_people.

    1 to 60 characters.

  • voicesstring or null

    The spoken lines and the narration: natural, expressive or quick.

    1 to 60 characters.

FinalOutOfDateOut

A finished film whose shots changed after it was put together: what to do, in plain words.

  • messagestringrequired
  • shotslist of integer
  • busylist of integer

FontNote

A plain note about one of the brand's fonts (GIN-625).

  • fontstringrequired
  • notestringrequired
  • suggestionstring or null
  • usableboolean

    Default: false.

FormatsIn

Extra post formats for one account: an X thread, an Instagram Story or a first comment. Each can be switched off in cuil.si (the account's capabilities.formats says which are offered); sending one that is off answers 422 format_off.

  • first_commentstring or null

    LinkedIn, Facebook and Instagram: a comment posted right after the post.

    Up to 2200 characters.

  • threadlist of string or null

    X: up to 10 more posts after this one, each up to 280 X characters, posted as a thread. Only a part with a link uses credits (like any X post with a link).

    Up to 10 items.

  • ig_storyboolean or null

    Instagram: post it as a Story (one picture or one video at 9:16; a video 3 to 60 seconds). Stories have no caption: the text is not posted.

FormAutoReply

The thank-you email sent once to the person who filled in the form (empty subject or text: the ready-made words). Never to an address on the do-not-contact list.

  • enabledbooleanrequired
  • subjectstringrequired
  • textstringrequired
  • default_subjectstringrequired
  • default_textstringrequired
  • footerstringrequired

    The plain line every thank-you email ends with: why they got it.

  • googlebooleanrequired

    Also sent to people from Google Ads lead forms (only while google_ready).

  • google_readybooleanrequired

    Emails to leads are switched on for cuil.si, so the Google Ads tick takes effect.

  • from_namestringrequired

    The sender name the email comes from, e.g. "Asha Foods via cuil.si".

FormConsentBox

A tick box on the form. Its field name in a submit is consent_<purpose>_<channel>.

  • purposestringrequired

    enquiry, marketing or newsletter.

  • channelstringrequired

    any, email, whatsapp or phone.

  • labelstringrequired
  • requiredbooleanrequired

    Only the box about the enquiry itself can be required.

FormCounts

  • submissionsintegerrequired
  • spamintegerrequired

FormField

  • keystringrequired

    name, email, phone, company, title, message, utm (hidden: where the visitor came from), product ("Which product?": the brand's products), or q_ and 2 to 20 lowercase letters or digits for one of your own questions.

  • labelstringrequired

    Empty means the usual label. Your own questions always have one.

  • requiredbooleanrequired
  • placeholderstringrequired
  • kindstring or null

    Your own questions: short, long, dropdown, checkboxes, number or date; product for the product picker.

  • optionslist of string or null

    The choices of a dropdown or tick boxes.

FormFieldIn

One entry of a form's questions: a fixed field, the product picker or an own question.

  • keystringrequired

    1 to 24 characters.

  • labelstring

    Up to 120 characters.

  • requiredboolean

    Default: false.

  • placeholderstring

    Up to 120 characters.

  • kindstring or null

    One of: short, long, dropdown, checkboxes, number, date, product.

  • optionslist of string

    Up to 20 items.

FormGoogle

Google Ads lead forms. The key itself is only shown in the app.

  • webhook_urlstringrequired
  • key_setbooleanrequired
  • key_hintstring or nullrequired

    The key's last 4 characters, e.g. ••••a1B2.

FormNoticeText

  • textstringrequired

    The notice visitors see: your own text, or the ready-made one.

  • versionstringrequired

    Changes whenever the notice or the box labels change. Send it as _notice.

  • custom_textstringrequired

    Your own notice. Empty: the ready-made one is shown.

  • ready_made_textstringrequired

FormPage

  • headlinestringrequired
  • textstringrequired
  • picture_asset_idstring or nullrequired
  • button_labelstringrequired
  • show_booking_linkboolean

    The thank-you page shows the booking link from Leads settings.

    Default: false.

  • picture_urlstring or null

    On a single form only. A link that expires.

FormSent

The answer to a JSON submit. Spam gets the same answer, so bots learn nothing.

  • okbooleanrequired
  • messagestringrequired

    The form's thank-you message.

  • redirect_urlstringrequired

    The thank-you page.

  • unsubscribe_urlstring or nullrequired

    The person's own page to stop messages (when they gave an email), for your thank-you page.

FormSubmission

  • idstringrequired
  • form_idstringrequired
  • created_atstringrequired
  • leadNamedRef or nullrequired

    The lead it made or filled in. None for spam.

  • answersobjectrequired

    By field key, plus consent_<purpose>_<channel>: true or false.

  • utmobjectrequired
  • referrerstring or nullrequired
  • is_spambooleanrequired
  • spam_reasonstring or nullrequired
  • is_testbooleanrequired
  • sourcestringrequired

    form or google_lead_form.

  • external_idstring or nullrequired

    Google's lead id, for Google Ads leads.

  • do_not_contactbooleanrequired
  • questionslist of objectrequired

    Your own questions and "Which product?" that were answered: [{key, label}] (the answers are in answers).

  • placestring or nullrequired

    The place label of the QR code they scanned, if any.

  • pageobject or nullrequired

    The landing page they sent it from: {id, name, public_id}.

FormSubmissionPage

FormTracking

Your own Google tag and Meta Pixel on the hosted page (loaded only after the visitor says yes).

  • availablebooleanrequired

    False until cuil.si switches this on: saving ids answers 409 own_tags_off.

  • ga4_idstringrequired

    G-… (Google Analytics 4), or empty.

  • ads_idstringrequired

    AW-… (Google Ads conversion id), or empty.

  • ads_labelstringrequired

    The Google Ads conversion label, or empty.

  • pixel_idstringrequired

    The Meta Pixel id (digits), or empty.

  • setbooleanrequired

FormTrackingIn

The ids. Empty text = not used. Only ids, never code.

  • ga4_idstring

    Up to 80 characters.

  • ads_idstring

    Up to 80 characters.

  • ads_labelstring

    Up to 80 characters.

  • pixel_idstring

    Up to 80 characters.

FromTemplateIn

  • template_idstringrequired

    1 to 100 characters.

  • settingsNewWorkflowSettings or null
  • optionslist of string

    Up to 10 items.

GenerateLookIn

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • extrastring or null

    Up to 500 characters.

GenerationCreate

  • kindstringrequired

    One of: image, video, tts, stt, music, sfx, voice_change, upscale, lipsync.

  • modestringrequired

    One of: t2i, edit, t2v, i2v, r2v, tts, stt, continue, music, sfx, voice_change, video_upscale, lipsync.

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • model_idstring or null

    Up to 100 characters.

  • stylestring or null

    Up to 40 characters.

  • promptstring

    Up to 20000 characters.

  • negative_promptstring or null

    Up to 2000 characters.

  • enhanceboolean

    Default: true.

  • brand_idstring or null
  • character_idslist of string

    Up to 10 items.

  • input_asset_idslist of string

    Up to 12 items.

  • input_roleslist of string or null

    Up to 12 items.

  • input_noteslist of string or null

    Up to 12 items.

  • sourcestring

    One of: create, movie, workflow, editor, api, presentation, long_video. Default: create.

  • logoLogoRequest or null
  • use_product_photosboolean

    Default: false.

  • enhanced_promptstring or null

    Up to 4400 characters.

GenerationOut

  • idstringrequired
  • kindstringrequired
  • modestringrequired
  • tierstringrequired
  • model_idstringrequired
  • model_labelstringrequired
  • promptstringrequired
  • paramsobjectrequired
  • sourcestringrequired
  • statusstringrequired
  • credits_estimatedintegerrequired
  • created_atstringrequired
  • updated_atstringrequired
  • stylestring or null
  • style_labelstring or null
  • style_notestring or null
  • enhanced_promptstring or null
  • negative_promptstring or null
  • input_asset_idslist of string
  • input_roleslist of string
  • input_noteslist of string
  • brand_idstring or null
  • character_idslist of string
  • progressinteger

    Default: 0.

  • progress_messagestring or null
  • errorstring or null
  • output_asset_idslist of string
  • outputslist of AssetOut
  • logoLogoOut or null
  • outputs_without_logolist of AssetOut
  • extended_fromstring or null
  • extendsExtendsOut or null
  • resultobject or null
  • credits_chargedinteger or null
  • completed_atstring or null

GenerationPage

GenerationParams

Generation settings. Every key a provider reads is listed here with limits; unknown keys are dropped (so nothing unchecked or unpriced reaches a provider). Add a field here before a provider uses it.

  • duration_snumber or null

    From 1 to 600.

  • aspect_ratiostring or null

    Up to 10 characters.

  • resolutionstring or null

    Up to 10 characters.

  • audioboolean or null
  • voicestring or null

    Up to 100 characters.

  • countinteger or null

    From 1 to 4.

  • seedinteger or null

    From 0 to 2147483647.

  • fpsinteger or null

    From 1 to 60.

  • image_resolutionstring or null

    One of: 1K, 2K, 4K.

  • formatstring or null

    One of: mp3, wav, flac, opus.

  • speednumber or null

    From 0.25 to 4.

  • languagestring or null

    Up to 10 characters.

  • instructstring or null

    Up to 2000 characters.

  • voice_descriptionstring or null

    Up to 2000 characters.

  • instrumentalboolean or null
  • lyricsstring or null

    Up to 4000 characters.

  • loopboolean or null
  • remove_background_noiseboolean or null
  • voice_settingsVoiceSettings or null

GraphEdge

  • sourcestringrequired

    1 to 100 characters.

  • targetstringrequired

    1 to 100 characters.

  • idstring

    Up to 300 characters.

  • sourceHandlestring or null

    Up to 40 characters.

GraphNode

GraphNodeData

  • nodeTypestring

    Up to 60 characters.

  • labelstring or null

    Up to 200 characters.

  • configobject

GraphPosition

  • xnumber

    Default: 0.

  • ynumber

    Default: 0.

HiddenTier

  • tierstringrequired

    One of: draft, standard, premium.

  • notestringrequired

ImportStartIn

  • basisstringrequired

    Why you may contact them: consent (they said yes), asked_to_be_contacted (they asked you to get back to them), existing_customer or b2b_prospect (a work contact who hasn't said yes). For people in India, existing_customer and b2b_prospect can be recorded, but from 13 May 2027 they no longer allow marketing (the DPDP Rules need the person's own yes); until then the answer carries a warning.

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect.

  • mappingobject or null
  • duplicate_rulestring

    One of: update, skip. Default: update.

  • list_idstring or null

    1 to 100 characters.

  • tagslist of string

    Up to 20 items.

  • start_automationsboolean or null

    Start the switched-on “New lead” automations for the new people. Left out: they start, as before.

ItemError

  • codestringrequired
  • messagestringrequired

KeyLabel

  • keystringrequired
  • labelstringrequired

LabelRange

  • keystringrequired
  • labelstringrequired
  • minintegerrequired
  • maxintegerrequired
  • next_stepstringrequired

Lead

One person (a lead). `name` is the best name we have: first and last name, else the email, the phone or the LinkedIn handle. A lead may have no email and no phone yet (added with a LinkedIn link, or a name with a company): nothing is sent to them until one is found or added.

  • idstringrequired
  • namestringrequired
  • first_namestring or nullrequired
  • last_namestring or nullrequired
  • emailstring or nullrequired
  • email_statusstringrequired

    unknown, valid, risky, invalid or catch_all.

  • phonestring or nullrequired

    In international format, e.g. +919812345678.

  • titlestring or nullrequired
  • senioritystring or nullrequired
  • departmentstring or nullrequired
  • linkedin_urlstring or nullrequired
  • citystring or nullrequired
  • countrystring or nullrequired
  • timezonestring or nullrequired
  • companyCompanyBrief or nullrequired
  • owner_idstring or nullrequired

    The workspace member who looks after this lead.

  • stagestringrequired

    A stage key of the workspace's pipeline, e.g. new, contacted, won.

  • scoreintegerrequired

    0 to 100.

  • score_reasonslist of anyrequired
  • sourcestringrequired

    Where the lead came from: form, import, api, google_lead_form, meta_lead_ads, linkedin_lead_form, manual, prospecting (added from a data provider's search) or workflow.

  • source_detailobjectrequired
  • first_touchobjectrequired

    The first visit's UTM tags and page, when known.

  • tagslist of stringrequired
  • fieldsobjectrequired

    Your own fields, as sent.

  • enrichmentobjectrequired
  • enriched_atstring or nullrequired
  • last_activity_atstring or nullrequired
  • do_not_contactbooleanrequired

    True when the email, its domain or the phone is on the do-not-contact list.

  • created_atstringrequired
  • updated_atstringrequired
  • labelScoreLabelrequired
  • last_contacted_atstring or nullrequired

    When someone on your team last called, messaged, emailed or met them (automatic emails don't count).

  • last_reply_atstring or nullrequired

    When they last wrote to you: a form, a reply or a WhatsApp.

  • waiting_for_usbooleanrequired

    They wrote after your last contact (or you never contacted them).

  • contactedbooleanrequired

    Someone on your team has contacted them.

  • customer_sincestring or nullrequired

    Their first recorded sale.

LeadBatchIn

  • itemslist of objectrequired

    Up to 100 items.

LeadBatchItem

One result per item, in the order sent. A bad item doesn't stop the others.

  • indexintegerrequired
  • okbooleanrequired
  • lead_idstring or null
  • is_newboolean or null
  • changedlist of string or null
  • warningslist of LeadWarning or null

    The same shape as createLead's.

  • errorItemError or null

LeadBatchResult

LeadCounts

  • activitiesintegerrequired
  • dealsintegerrequired
  • tasksintegerrequired
  • consentsintegerrequired
  • listsintegerrequired
  • form_submissionsintegerrequired

LeadDetail

A lead with its lists, deals, permissions and how much is linked to it.

  • idstringrequired
  • namestringrequired
  • first_namestring or nullrequired
  • last_namestring or nullrequired
  • emailstring or nullrequired
  • email_statusstringrequired

    unknown, valid, risky, invalid or catch_all.

  • phonestring or nullrequired

    In international format, e.g. +919812345678.

  • titlestring or nullrequired
  • senioritystring or nullrequired
  • departmentstring or nullrequired
  • linkedin_urlstring or nullrequired
  • citystring or nullrequired
  • countrystring or nullrequired
  • timezonestring or nullrequired
  • companyCompanyBrief or nullrequired
  • owner_idstring or nullrequired

    The workspace member who looks after this lead.

  • stagestringrequired

    A stage key of the workspace's pipeline, e.g. new, contacted, won.

  • scoreintegerrequired

    0 to 100.

  • score_reasonslist of anyrequired
  • sourcestringrequired

    Where the lead came from: form, import, api, google_lead_form, meta_lead_ads, linkedin_lead_form, manual, prospecting (added from a data provider's search) or workflow.

  • source_detailobjectrequired
  • first_touchobjectrequired

    The first visit's UTM tags and page, when known.

  • tagslist of stringrequired
  • fieldsobjectrequired

    Your own fields, as sent.

  • enrichmentobjectrequired
  • enriched_atstring or nullrequired
  • last_activity_atstring or nullrequired
  • do_not_contactbooleanrequired

    True when the email, its domain or the phone is on the do-not-contact list.

  • created_atstringrequired
  • updated_atstringrequired
  • labelScoreLabelrequired
  • last_contacted_atstring or nullrequired

    When someone on your team last called, messaged, emailed or met them (automatic emails don't count).

  • last_reply_atstring or nullrequired

    When they last wrote to you: a form, a reply or a WhatsApp.

  • waiting_for_usbooleanrequired

    They wrote after your last contact (or you never contacted them).

  • contactedbooleanrequired

    Someone on your team has contacted them.

  • customer_sincestring or nullrequired

    Their first recorded sale.

  • listslist of NamedRefrequired
  • dealslist of Dealrequired
  • permissionPermissionrequired
  • customerCustomer or nullrequired

    Set once a sale is recorded for them.

  • countsLeadCountsrequired

LeadForm

A form for your website. People can send it once it is `live`.

  • idstringrequired
  • public_idstringrequired

    The id in the form's public links.

  • namestringrequired
  • fieldslist of FormFieldrequired
  • consentlist of FormConsentBoxrequired
  • age_checkbooleanrequired

    The form asks people to confirm they're 18 or older (a needed box).

  • pageFormPagerequired

    What the hosted page (public_url) shows above the form.

  • success_messagestringrequired
  • redirect_urlstring or nullrequired

    Your own thank-you page, if any.

  • list_idstring or nullrequired

    New leads from this form go into this list.

  • tagslist of stringrequired
  • notify_user_idslist of stringrequired

    Workspace members who get an email for each submission.

  • brand_idstring or nullrequired
  • enabledbooleanrequired
  • auto_replyFormAutoReplyrequired
  • livebooleanrequired

    Enabled, and the business details it needs are filled in.

  • missinglist of stringrequired

    What to fill in under Leads settings before the form can go live, e.g. business name.

  • public_urlstringrequired

    The hosted page to share.

  • submit_urlstringrequired

    Where your own HTML form posts to (submitLeadForm).

  • googleFormGooglerequired
  • trackingFormTrackingrequired
  • countsFormCountsrequired
  • last_submission_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired

LeadFormDetail

A form with its notice and the HTML to paste into your website.

  • idstringrequired
  • public_idstringrequired

    The id in the form's public links.

  • namestringrequired
  • fieldslist of FormFieldrequired
  • consentlist of FormConsentBoxrequired
  • age_checkbooleanrequired

    The form asks people to confirm they're 18 or older (a needed box).

  • pageFormPagerequired

    What the hosted page (public_url) shows above the form.

  • success_messagestringrequired
  • redirect_urlstring or nullrequired

    Your own thank-you page, if any.

  • list_idstring or nullrequired

    New leads from this form go into this list.

  • tagslist of stringrequired
  • notify_user_idslist of stringrequired

    Workspace members who get an email for each submission.

  • brand_idstring or nullrequired
  • enabledbooleanrequired
  • auto_replyFormAutoReplyrequired
  • livebooleanrequired

    Enabled, and the business details it needs are filled in.

  • missinglist of stringrequired

    What to fill in under Leads settings before the form can go live, e.g. business name.

  • public_urlstringrequired

    The hosted page to share.

  • submit_urlstringrequired

    Where your own HTML form posts to (submitLeadForm).

  • googleFormGooglerequired
  • trackingFormTrackingrequired
  • countsFormCountsrequired
  • last_submission_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • noticeFormNoticeTextrequired
  • embed_htmlstringrequired

    A plain HTML form that posts to submit_url, ready to paste.

  • productslist of stringrequired

    What "Which product?" offers: the brand's products in stock.

LeadFormIn

  • namestringrequired

    1 to 200 characters.

  • fieldslist of FormFieldIn or null

    Up to 23 items.

  • consentlist of ConsentItemIn or null

    Up to 4 items.

  • age_checkboolean

    Default: false.

  • notice_textstring or null

    Up to 5000 characters.

  • pagePageIn or null
  • success_messagestring

    Up to 1000 characters.

  • redirect_urlstring or null

    Up to 1000 characters.

  • list_idstring or null

    1 to 100 characters.

  • tagslist of string

    Up to 20 items.

  • notify_user_idslist of string

    Up to 20 items.

  • brand_idstring or null

    1 to 100 characters.

  • enabledboolean

    Default: true.

  • auto_replyAutoReplyIn or null
  • trackingFormTrackingIn or null

LeadFormPage

  • itemslist of LeadFormrequired
  • next_cursorstring or nullrequired

LeadFormPatch

  • namestring or null

    1 to 200 characters.

  • fieldslist of FormFieldIn or null

    Up to 23 items.

  • consentlist of ConsentItemIn or null

    Up to 4 items.

  • age_checkboolean or null
  • notice_textstring or null

    Up to 5000 characters.

  • pagePageIn or null
  • success_messagestring or null

    Up to 1000 characters.

  • redirect_urlstring or null

    Up to 1000 characters.

  • list_idstring or null

    1 to 100 characters.

  • tagslist of string or null

    Up to 20 items.

  • notify_user_idslist of string or null

    Up to 20 items.

  • brand_idstring or null

    1 to 100 characters.

  • enabledboolean or null
  • auto_replyAutoReplyIn or null
  • trackingFormTrackingIn or null

LeadImport

A CSV import: uploaded (preview), then queued and running, then done, failed or expired.

  • idstringrequired
  • statusstringrequired

    preview, queued, running, done, failed or expired.

  • file_namestringrequired
  • columnslist of stringrequired
  • total_rowsinteger or nullrequired
  • delimiterstring or nullrequired
  • suggested_mappingobjectrequired
  • mappingobjectrequired
  • duplicate_rulestringrequired
  • basisstring or nullrequired
  • list_idstring or nullrequired
  • tagslist of stringrequired
  • countsobjectrequired
  • has_skipped_rowsbooleanrequired
  • errorstring or nullrequired
  • file_deletedbooleanrequired
  • targetsobjectrequired

    The lead fields a column can go to, with their names.

  • warningstring or nullrequired

    Set when the chosen basis doesn't allow marketing to some of these people from 13 May 2027 (people in India).

  • started_atstring or nullrequired
  • finished_atstring or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • previewlist of object or null

    The first rows, after uploading.

LeadImportPage

  • itemslist of LeadImportrequired
  • next_cursorstring or nullrequired

LeadIn

Create a lead, or update the one with the same email (then the phone). Only empty fields are filled. Needs an email or a phone, else a LinkedIn profile link, else a first and last name with a company (`company` or `website`). A lead without an email or a phone matches an existing one by its LinkedIn link, else by the same name at the same company, and can't be contacted until an email or a phone is found.

  • emailstring or null

    Up to 320 characters.

  • phonestring or null

    Up to 40 characters.

  • first_namestring or null

    Up to 200 characters.

  • last_namestring or null

    Up to 200 characters.

  • titlestring or null

    Up to 200 characters.

  • senioritystring or null

    Up to 50 characters.

  • departmentstring or null

    Up to 100 characters.

  • linkedin_urlstring or null

    Up to 500 characters.

  • citystring or null

    Up to 100 characters.

  • countrystring or null

    Up to 60 characters.

  • timezonestring or null

    Up to 64 characters.

  • companyCompanyRef or null
  • websitestring or null

    Up to 500 characters.

  • tagslist of string

    Up to 50 items.

  • list_idslist of string

    Up to 20 items.

  • owner_idstring or null

    1 to 100 characters.

  • sourcestring or null

    One of: form, import, api, google_lead_form, meta_lead_ads, linkedin_lead_form, manual, prospecting, workflow, whatsapp.

  • source_detailobject or null
  • fieldsobject or null
  • utmobject or null
  • consentConsentIn or null

LeadList

  • idstringrequired
  • namestringrequired
  • descriptionstring or nullrequired
  • kindstringrequired

    static, or smart: a segment whose people update by themselves.

  • member_countinteger or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • filterobject or null

    A segment's filters (the names of listLeads).

  • updatingboolean or null

    True while a new segment is still filling in.

LeadListPage

  • itemslist of LeadListrequired
  • next_cursorstring or nullrequired

LeadLookup

What a lookup found and filled in. Only empty fields are filled, unless you sent overwrite.

  • lead_idstringrequired
  • foundbooleanrequired
  • filledlist of stringrequired

    The fields that were filled in, e.g. title, company.industry.

  • providerslist of stringrequired

    The providers whose answers were used.

  • email_checkEmailCheck or nullrequired
  • basisstringrequired

    The lawful reason used for the lookup.

  • basis_sourcestringrequired

    chosen (you sent basis), permission log, or recorded when added (the reason chosen when the person was added from a search of a company).

  • attemptslist of LookupAttemptrequired
  • leadLeadrequired

LeadPage

  • itemslist of Leadrequired
  • next_cursorstring or nullrequired

LeadPatch

Change a lead. Fields you send replace what is there (send null to clear a field). `fields` is merged: a key set to null is removed. `stage` moves the lead (and its deal) to that stage.

  • emailstring or null

    Up to 320 characters.

  • phonestring or null

    Up to 40 characters.

  • first_namestring or null

    Up to 200 characters.

  • last_namestring or null

    Up to 200 characters.

  • titlestring or null

    Up to 200 characters.

  • senioritystring or null

    Up to 50 characters.

  • departmentstring or null

    Up to 100 characters.

  • linkedin_urlstring or null

    Up to 500 characters.

  • citystring or null

    Up to 100 characters.

  • countrystring or null

    Up to 60 characters.

  • timezonestring or null

    Up to 64 characters.

  • company_idstring or null

    1 to 100 characters.

  • companyCompanyRef or null
  • owner_idstring or null

    1 to 100 characters.

  • tagslist of string or null

    Up to 50 items.

  • fieldsobject or null
  • stagestring or null

    1 to 50 characters.

  • deal_value_minorinteger or null

    From 0 to 1000000000000000.

LeadReport

  • totalintegerrequired
  • by_stagelist of StageCountrequired
  • by_sourcelist of SourceCountrequired
  • by_weeklist of WeekCountrequired
  • time_zonestringrequired
  • moneyMoneyReportrequired

    Money won from recorded sales, between money_from and money_to.

LeadSaved

The lead after a create-or-update. `is_new` is false when an existing lead (same email, then phone, then LinkedIn link, or for a lead without an email and a phone the same name at the same company) was filled in; then only its empty fields were set.

  • leadLeadrequired
  • is_newbooleanrequired
  • changedlist of stringrequired
  • warningslist of LeadWarningrequired

LeadScore

  • lead_idstringrequired
  • scoreintegerrequired

    0 to 100, from your rules and the lead's activity.

  • labelScoreLabelrequired
  • reasonslist of ScoreReasonrequired
  • aiAiGrade or nullrequired

    The last AI grade, if any.

LeadSegment

  • idstringrequired
  • namestringrequired
  • descriptionstring or nullrequired
  • kindstringrequired

    static, or smart: a segment whose people update by themselves.

  • member_countinteger or nullrequired
  • created_atstringrequired
  • updated_atstringrequired
  • filled_atstring or nullrequired

    Its last full refresh.

  • filterobject or null

    A segment's filters (the names of listLeads).

  • updatingboolean or null

    True while a new segment is still filling in.

LeadSegmentPage

  • itemslist of LeadSegmentrequired
  • next_cursorstring or nullrequired

LeadTask

A to-do for a teammate about a lead. Nothing is sent to the lead.

  • idstringrequired
  • lead_idstringrequired
  • lead_namestringrequired
  • kindstringrequired

    call, email, linkedin, whatsapp or other.

  • titlestringrequired
  • notestringrequired
  • due_atstring or nullrequired
  • assignee_idstring or nullrequired
  • assignee_namestring or nullrequired
  • statusstringrequired

    open, done or skipped.

  • done_atstring or nullrequired
  • created_atstringrequired
  • created_by_run_idstring or nullrequired

    The automation run that made it, if one did.

LeadTaskPage

  • itemslist of LeadTaskrequired
  • next_cursorstring or nullrequired

LeadTaskSaved

  • idstringrequired
  • lead_idstringrequired
  • lead_namestringrequired
  • kindstringrequired

    call, email, linkedin, whatsapp or other.

  • titlestringrequired
  • notestringrequired
  • due_atstring or nullrequired
  • assignee_idstring or nullrequired
  • assignee_namestring or nullrequired
  • statusstringrequired

    open, done or skipped.

  • done_atstring or nullrequired
  • created_atstringrequired
  • created_by_run_idstring or nullrequired

    The automation run that made it, if one did.

  • warningLeadWarning or nullrequired

    Set when the task is allowed but needs care, e.g. no WhatsApp yes yet.

LeadWarning

Something to know about a change that was still made. Every `warnings` list (and `warning`) uses this shape.

  • codestringrequired

    e.g. do_not_contact, permission_withdrawn, no_permission, needs_opt_in.

  • messagestringrequired

ListIn

  • namestringrequired

    1 to 200 characters.

  • descriptionstring

    Up to 2000 characters.

ListPatch

  • namestring or null

    1 to 200 characters.

  • descriptionstring or null

    Up to 2000 characters.

LocationOut

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • statusstringrequired
  • plate_assetAssetOut or null
  • earlier_lookslist of AssetOut

LogIn

  • whatstringrequired

    One of: called, whatsapped, emailed, replied, meeting.

  • notestring

    Up to 2000 characters.

LogoOut

What was asked when the generation was created; never changes after that.

  • on_topbooleanrequired
  • cornerstringrequired

    One of: top_left, top_right, bottom_left, bottom_right.

  • sizestringrequired

    One of: small, medium, large.

  • in_scenebooleanrequired
  • add_nameboolean

    Default: false.

LogoRequest

The brand's logo on a picture or a video (needs brand_id). A video takes it on top only (no in_scene).

  • on_topboolean

    Default: false.

  • cornerstring

    One of: top_left, top_right, bottom_left, bottom_right. Default: bottom_right.

  • sizestring

    One of: small, medium, large. Default: medium.

  • in_sceneboolean

    Default: false.

  • add_nameboolean

    Default: false.

LookOut

One of a person's changed looks (12 Nov 2026, docs/v2/FILM_LOOKS.md): it lasts from where it starts until the next one. "Look 1" is the person's own picture set (CharacterOut); these are Look 2, 3...

  • idstringrequired
  • numberintegerrequired
  • namestringrequired
  • statusstringrequired
  • scene_idstring or null
  • scene_numberinteger or null
  • scene_titlestring
  • shot_idstring or null
  • shot_numberinteger or null
  • linestring
  • changestring
  • faceboolean

    Default: false.

  • usualboolean

    Default: false.

  • errorstring or null
  • added_bystring

    Default: writer.

  • pictureAssetOut or null
  • face_pictureAssetOut or null
  • scenes_labelstring
  • from_earlierboolean

    Default: false.

  • over_capboolean

    Default: false.

LookupAttempt

One provider asked, or a step skipped, in the order it happened.

  • kindstringrequired

    person, email_find, company, verify or search.

  • statusstringrequired

    found, not_found, error or skipped.

  • providerstring or null
  • namestring or null

    The provider's name, e.g. Apollo.

  • messagestring or null
  • cachedboolean or null

    True when a recent answer was reused (no cost).

  • errorstring or null
  • modestring or null

    platform when cuil.si's own email checker was used.

  • credits_usedinteger or null

LookupLog

LookupLogEntry

One provider call (or reused answer). It never holds the values found.

  • idstringrequired
  • lead_idstring or nullrequired
  • company_idstring or nullrequired
  • providerstringrequired
  • namestringrequired
  • modestringrequired

    byo or platform.

  • kindstringrequired
  • statusstringrequired

    found, not_found, error, cached or skipped.

  • filledlist of stringrequired
  • errorstring or nullrequired
  • basisstring or nullrequired
  • cuilsi_creditsintegerrequired

    cuil.si credits used.

  • provider_creditsnumberrequired

    Credits used on your own provider account, when it says.

  • created_atstringrequired

LookupUsage

  • limitintegerrequired

    Lookups allowed in any 24 hours (0: no limit).

  • usedintegerrequired
  • leftintegerrequired
  • window_hoursintegerrequired
  • by_providerlist of ProviderUsagerequired
  • costsCreditCostsrequired

MembersAdded

  • addedintegerrequired
  • already_in_listintegerrequired

MembersIn

  • lead_idslist of stringrequired

    Up to 500 items.

MeOut

  • userUserOutrequired
  • workspaceslist of WorkspaceOutrequired
  • current_workspace_idstring or nullrequired

ModelGroupOut

  • tiersobjectrequired
  • modelslist of ModelOutrequired
  • offeredlist of string

ModelOption

  • idstringrequired
  • labelstringrequired
  • descriptionstringrequired
  • tierslist of stringrequired
  • creditsinteger or nullrequired
  • reasonstring or nullrequired
  • makerstring
  • accessstring

    One of: everyone, admins. Default: everyone.

  • hiddenboolean

    Default: false.

ModelOut

  • idstringrequired
  • labelstringrequired
  • kindstringrequired
  • modeslist of stringrequired
  • tierslist of stringrequired
  • credits_per_unitnumberrequired
  • unitstringrequired
  • durationslist of integer
  • resolutionslist of string
  • aspect_ratioslist of string
  • supports_audioboolean

    Default: false.

  • supports_end_frameboolean

    Default: false.

  • max_reference_imagesinteger

    Default: 0.

  • voiceslist of string
  • descriptionstring
  • familystring
  • voice_designboolean

    Default: false.

  • makerstring
  • accessstring

    One of: everyone, admins. Default: everyone.

  • hiddenboolean

    Default: false.

MoneyLine

  • currencystringrequired
  • amount_minorintegerrequired
  • amount_textstringrequired
  • salesintegerrequired
  • sourcestring or null
  • form_idstring or null
  • form_namestring or null
  • campaignstring or null

MoneyReport

  • first_daystringrequired
  • last_daystringrequired
  • currencystring or nullrequired

    The currency with the most money won.

  • totalslist of MoneyLinerequired
  • by_sourcelist of MoneyLinerequired
  • by_formlist of MoneyLinerequired
  • by_campaignlist of MoneyLinerequired

MovieCharacterOut

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • personalitystringrequired
  • statusstringrequired
  • voicestring or null
  • library_character_idstring or null
  • sheet_assetAssetOut or null
  • reference_assetslist of AssetOut
  • earlier_lookslist of AssetOut
  • prompt_lookstring
  • face_assetAssetOut or null
  • outfit_assetAssetOut or null
  • errorstring or null
  • lookslist of LookOut
  • first_look_labelstring
  • new_look_creditsinteger

    Default: 0.

MovieCreate

  • ideastringrequired

    1 to 50000 characters.

  • titlestring or null

    Up to 200 characters.

  • kindstring

    One of: movie, short. Default: movie.

  • target_duration_sinteger or null
  • stylestring

    1 to 300 characters. Default: cinematic.

  • aspect_ratiostring

    One of: 16:9, 9:16, 1:1. Default: 16:9.

  • tierstring

    One of: draft, standard, premium. Default: standard.

  • modestring

    One of: director, autopilot. Default: autopilot.

  • languagestring

    2 to 20 characters. Default: en.

  • visual_lookstring

    One of: default, live_action. Default: default.

  • character_idslist of string

    Up to 10 items.

  • reference_asset_idslist of string

    Up to 12 items.

  • music_asset_idstring or null
  • burn_subtitlesboolean

    Default: false.

  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null

    The end card after the last shot. Left out: a video ad with a brand gets one, a film doesn't. Null: none.

  • modelsFilmModels or null
  • ai_stylesFilmStyles or null

    Optional: the style for each part (pictures, storyboard, shots, voices) instead of a model id.

  • writerstring or null

    Optional: who writes the story and the script: everyday (fast, careful with facts) or creative (more original). Leave it out for everyday.

    One of: everyday, creative.

MovieEndCard

The end card after the last shot: the brand's logo, main colour and website, and a short call to action, for 2 to 3 seconds. Free. Uses the film's brand.

  • ctastring

    A short call to action, up to 40 characters ("Order your first coffee"). Empty: none.

    Up to 40 characters.

  • websiteboolean

    Show the brand's website (when it has one).

    Default: true.

  • secondsnumber

    How long the card shows: 2 to 3 seconds.

    From 2 to 3. Default: 2.5.

MovieEstimate

MovieListItem

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null

MovieOut

  • idstringrequired
  • titlestringrequired
  • kindstringrequired
  • statusstringrequired
  • progressProgressOutrequired
  • target_duration_sintegerrequired
  • aspect_ratiostringrequired
  • created_atstringrequired
  • updated_atstringrequired
  • ideastringrequired
  • stylestringrequired
  • languagestringrequired
  • tierstringrequired
  • modestringrequired
  • visual_lookstringrequired
  • burn_subtitlesbooleanrequired
  • credits_estimateintegerrequired
  • credits_usedintegerrequired
  • awaitingstring or null
  • poster_urlstring or null
  • final_assetAssetOut or null
  • storyboardboolean

    Default: true.

  • final_out_of_dateFinalOutOfDateOut or null
  • music_assetAssetOut or null
  • brand_idstring or null
  • logoMovieLogo or null
  • end_cardMovieEndCard or null
  • brand_changeableboolean

    Default: false.

  • Default: {}.

  • model_noteslist of string
  • credits_capinteger or null
  • errorstring or null
  • subtitles_assetAssetOut or null
  • reference_assetslist of AssetOut
  • reference_notesstring or null
  • shot_soundboolean

    Default: false.

  • shot_modelslist of string
  • storyStoryOut or null
  • characterslist of MovieCharacterOut
  • locationslist of LocationOut
  • sceneslist of SceneOut
  • story_rewriteStoryRewriteOut or null
  • story_versionslist of StoryVersionOut
  • looksboolean

    Default: false.

  • looks_picturesboolean

    Default: false.

MoviePage

NamedRef

  • idstringrequired
  • namestringrequired

NetworkOut

  • keystringrequired
  • labelstringrequired
  • max_charsintegerrequired
  • supportsobjectrequired
  • max_hashtagsintegerrequired
  • hashtag_tipstringrequired
  • recommended_charsinteger or null
  • title_max_charsinteger or null
  • needsstring or null

NewWorkflowSettings

Settings sent with a create. A time zone this server doesn't know (e.g. a new browser's) is left out, so the workflow keeps UTC instead of the whole create failing.

  • max_credits_per_runinteger or null

    From 1 to 100000.

  • timezonestring or null

    Up to 64 characters.

  • approvals_expireboolean or null

PageIn

  • headlinestring

    Up to 200 characters.

  • textstring

    Up to 2000 characters.

  • picture_asset_idstring or null

    1 to 100 characters.

  • button_labelstring

    Up to 40 characters.

  • show_booking_linkboolean

    Default: false.

Permission

May we contact them? One row per channel and purpose.

  • do_not_contactbooleanrequired
  • do_not_contact_reasonsobjectrequired
  • channelslist of ChannelPermissionrequired

Pipeline

  • idstringrequired
  • namestringrequired
  • is_defaultbooleanrequired
  • stageslist of Stagerequired
  • created_atstringrequired
  • updated_atstringrequired

PipelineList

  • itemslist of Pipelinerequired
  • next_cursorstring or nullrequired

PipelinePatch

  • namestring or null

    1 to 200 characters.

  • stageslist of StageIn or null

    Up to 20 items.

PlanCreateOut

A film saved from a plan. It waits at the Story step: the person presses Make on its page.

  • movie_idstringrequired
  • linkstringrequired
  • messagestringrequired
  • reportPlanReportrequired

PlanEstimate

  • creditsintegerrequired
  • mostintegerrequired
  • minuteslist of integerrequired
  • breakdownlist of PlanEstimateLinerequired

PlanEstimateLine

  • labelstringrequired
  • creditsintegerrequired

PlanProblem

  • pathstringrequired
  • codestringrequired
  • messagestringrequired
  • fixstringrequired
  • blockingbooleanrequired

PlanReport

  • okbooleanrequired
  • summarystringrequired
  • problemslist of PlanProblemrequired
  • estimatePlanEstimate or null
  • timelinelist of TimelinePart
  • silentlist of list of number
  • length_snumber

    Default: 0.

  • scenesinteger

    Default: 0.

  • shotsinteger

    Default: 0.

PostCreate

  • textstring

    Up to 70000 characters.

  • media_asset_idslist of string

    Up to 20 items.

  • targetslist of TargetIn

    Up to 50 items.

  • scheduled_atstring (date-time) or null
  • brand_idstring or null

    1 to 64 characters.

  • draft_idstring or null

    1 to 64 characters.

  • draftboolean

    Save it as a draft: nothing goes out until it is scheduled (PATCH with draft false). scheduled_at is then only the planned time and may be left out.

    Default: false.

  • repeat_weeksinteger

    A scheduled post is also saved again for each of the next N weeks, at the same time, as separate posts (their ids are in repeat_post_ids).

    From 0 to 12. Default: 0.

PostDraftOut

  • idstringrequired
  • briefstringrequired
  • networkslist of stringrequired
  • lengthstringrequired
  • hashtagsbooleanrequired
  • emojisbooleanrequired
  • variantslist of VariantOutrequired
  • created_atstringrequired
  • updated_atstringrequired
  • enhanced_briefstring or null
  • brand_idstring or null
  • tonestring or null
  • languagestring or null
  • asset_idslist of string
  • assetslist of AssetOut
  • writer_usedWriterUsedOut or null
  • noteslist of string

PostDraftPage

PostDraftUpdate

  • briefstring or null

    1 to 4000 characters.

  • variantslist of VariantEdit or null

    Up to 6 items.

  • asset_idslist of string or null

    Up to 10 items.

  • brand_idstring or null

PostUpdate

  • textstring or null

    Up to 70000 characters.

  • media_asset_idslist of string or null

    Up to 20 items.

  • targetslist of TargetIn or null

    Up to 50 items.

  • scheduled_atstring (date-time) or null
  • draftboolean or null

    true: save it as a draft (nothing goes out). false: schedule a draft, at scheduled_at or its planned time if that is still ahead. Left out: a draft stays a draft unless scheduled_at is sent.

PresentationCreate

  • asset_idstringrequired

    Up to 64 characters.

  • titlestring

    Up to 200 characters.

  • modestring

    One of: ai_scenes, keep_slides. Default: ai_scenes.

  • lengthstring

    One of: short, standard, full. Default: standard.

  • languagestring

    Up to 10 characters. Default: en.

  • brand_idstring or null

    Up to 64 characters.

  • wordsstring

    One of: ai, page. Default: ai.

  • writerstring

    Up to 40 characters.

PresentationMake

  • total_shownintegerrequired

    At least 0.

PresentationPatch

  • titlestring or null

    Up to 200 characters.

  • modestring or null

    One of: ai_scenes, keep_slides.

  • lengthstring or null

    One of: short, standard, full.

  • voicestring or null

    Up to 100 characters.

  • premium_voiceboolean or null
  • musicboolean or null
  • captionsboolean or null
  • stylestring or null

    One of: clean, bold, warm, brand.

  • picturesstring or null

    One of: photo, illustration, none.

  • brand_idstring or null

    Up to 64 characters.

PresentationSlidePatch

  • scriptstring or null

    Up to 1500 characters.

  • saystring or null

    Up to 1500 characters.

  • includedboolean or null
  • lookstring or null

    One of: ai, kept.

  • headlinestring or null

    Up to 70 characters.

  • pointslist of string or null

    Up to 6 items.

Problem

  • messagestringrequired
  • node_idstring or null

ProgressOut

  • stagestringrequired
  • percentintegerrequired
  • messagestringrequired

ProviderUsage

  • providerstringrequired
  • lookupsintegerrequired
  • credits_usedintegerrequired

    cuil.si credits.

PublicationUpdate

  • scheduled_atstring (date-time)required

PublishedTextIn

The new text of a live Facebook post (a video's description).

  • textstringrequired

    Up to 70000 characters.

RemakeIn

  • notestringrequired

    Why, in a few plain words, e.g. 'the umbrella is missing'. The person sees it on the button.

    1 to 300 characters.

RemakeOut

  • idstringrequired
  • shot_idstringrequired
  • shot_indexintegerrequired
  • notestringrequired
  • messagestringrequired
  • linkstringrequired

RenderCreate

  • previewboolean

    Default: false.

  • fpsinteger or null

    Frames a second: 24 (looks like cinema), 25 or 30.

    One of: 24, 25, 30.

  • cinema_barsboolean or null

    Black 2.39:1 cinema bars inside the frame (16:9 edits only).

  • even_loudnessboolean or null

    Even out the finished sound to -14 LUFS.

  • duck_musicboolean or null

    Turn sound tracks down while the clips or a voice track speak.

RenderOut

  • idstringrequired
  • timeline_idstringrequired
  • statusstringrequired

    One of: queued, running, succeeded, failed, cancelled.

  • progressintegerrequired
  • previewbooleanrequired
  • created_atstringrequired
  • progress_messagestring or null
  • output_assetAssetOut or null
  • errorstring or null

RewriteRequest

  • networkstringrequired
  • instructionstringrequired

    1 to 500 characters.

  • writerstring or null

    One of: auto, everyday, creative, smart_stories, smart_precise.

RunIn

  • dataobject

RunOut

  • idstringrequired
  • statusstringrequired

    One of: running, waiting, succeeded, failed, cancelled.

  • trigger_typestringrequired
  • started_atstringrequired
  • workflow_idstringrequired
  • finished_atstring or null
  • errorstring or null
  • credits_usedinteger

    Default: 0.

  • trigger_dataobject

    Default: {}.

  • stepslist of StepOut

RunPage

  • itemslist of RunSummaryrequired
  • next_cursorstring or null
  • keep_daysinteger or null
  • failed_keep_daysinteger or null

RunSummary

  • idstringrequired
  • statusstringrequired

    One of: running, waiting, succeeded, failed, cancelled.

  • trigger_typestringrequired
  • started_atstringrequired
  • finished_atstring or null
  • errorstring or null
  • credits_usedinteger

    Default: 0.

Sale

  • idstringrequired
  • lead_idstring or nullrequired
  • deal_idstring or nullrequired
  • amount_minorintegerrequired

    In the currency's smallest unit (paise, cents).

  • currencystringrequired
  • amount_textstringrequired
  • productstringrequired
  • order_idstring or nullrequired
  • sold_atstringrequired
  • sourcestringrequired

    manual, deal_won, api, csv, automation or assistant.

  • created_atstringrequired

SaleForLeadIn

POST /lead-sales: another app names the lead by its id, else its email, else its phone.

  • amount_minorintegerrequired

    In the smallest unit (paise, cents).

    From 0 to 10000000000000.

  • currencystring or null
  • productstring

    Up to 200 characters.

  • sold_atstring (date-time) or null
  • order_idstring or null

    Up to 200 characters.

  • deal_idstring (uuid) or null
  • lead_idstring (uuid) or null
  • emailstring or null

    Up to 320 characters.

  • phonestring or null

    Up to 40 characters.

SaleIn

  • amount_minorintegerrequired

    In the smallest unit (paise, cents).

    From 0 to 10000000000000.

  • currencystring or null
  • productstring

    Up to 200 characters.

  • sold_atstring (date-time) or null
  • order_idstring or null

    Up to 200 characters.

  • deal_idstring (uuid) or null

SalePage

  • itemslist of Salerequired
  • next_cursorstring or nullrequired
  • customerCustomer or nullrequired

SaleSaved

  • saleSalerequired
  • duplicatebooleanrequired

    True when this order id was already recorded: nothing new was saved.

  • customerCustomer or nullrequired

SalesEmail

A draft. Nothing is sent or saved.

  • lead_idstringrequired
  • purposestringrequired

    marketing (a sales email) or enquiry (a reply to what they wrote in your form).

  • languagestringrequired

    auto (the language of their message) or the language asked for.

  • subjectstringrequired
  • bodystringrequired

    Signed with your name and the business name; a sales email also has your business name and postal address. Ends with the unsubscribe line holding the person's own link.

  • first_linestringrequired
  • how_we_found_youstring or nullrequired

    Added for people who didn't come to you themselves.

  • unsubscribe_urlstringrequired

    The person's own unsubscribe link, already in the body.

  • credits_usedintegerrequired
  • warningLeadWarning or null

    Set when they haven't said yes to this kind of email yet.

SceneChangeOut

A changed look that starts in this scene ("Changes here: Asha: Soaked through (from shot 2)").

  • character_idstringrequired
  • namestringrequired
  • look_idstringrequired
  • look_namestringrequired
  • shot_idstring or null
  • shot_numberinteger or null
  • added_bystring

    Default: writer.

  • messagestring or null

SceneOut

  • idstringrequired
  • indexintegerrequired
  • titlestringrequired
  • summarystringrequired
  • shotslist of ShotOutrequired
  • location_idstring or null
  • whenstring
  • follows_onboolean

    Default: false.

  • changeslist of SceneChangeOut

ScoreLabel

The score as a word (leads/labels.py): Cold 0-20, Interested 21-40, Warm 41-60, Hot 61-80, Ready to buy 81-100.

  • keystringrequired

    cold, interested, warm, hot or ready.

  • labelstringrequired
  • next_stepstringrequired

    What to do next, in one line.

ScoreReason

  • labelstringrequired

    e.g. Job title contains founder.

  • pointsintegerrequired
  • keystring or null

ScoreRule

  • fieldstringrequired
  • operatorstringrequired

    equals, not_equals, contains, not_contains, greater_than, less_than, is_empty or is_not_empty.

  • pointsintegerrequired
  • valuestring or integer or number or any or null
  • labelstring or null

    On the rules in use.

ScoringRules

  • ruleslist of ScoreRulerequired

    Your rules, or the ready-made set when you have none.

  • ready_madebooleanrequired
  • ready_made_ruleslist of ScoreRulerequired
  • score_setstringrequired

    The ready-made set in use: small_business or b2b.

  • labelslist of LabelRangerequired

    Cold to Ready to buy, with their scores and next steps.

  • engagementlist of EngagementPointsrequired

    Points that always count, such as filling in a form.

  • fieldslist of KeyLabelrequired

    What a rule can look at.

  • operatorslist of KeyLabelrequired

SegmentFilter

The Leads page's filters a segment keeps (the same names as GET /leads).

  • qstring or null

    1 to 200 characters.

  • stagestring or null

    1 to 50 characters.

  • labelstring or null

    One of: cold, interested, warm, hot, ready.

  • sourcestring or null

    One of: form, import, api, google_lead_form, meta_lead_ads, linkedin_lead_form, manual, prospecting, workflow, whatsapp.

  • campaignstring or null

    1 to 200 characters.

  • citystring or null

    1 to 200 characters.

  • tagstring or null

    1 to 60 characters.

  • interested_instring or null

    1 to 200 characters.

  • contactstring or null

    One of: not_contacted, waiting.

  • last_contactstring or null

    One of: within_7d, within_30d, over_30d.

  • customerstring or null

    One of: yes, no.

  • owner_idstring (uuid) or null
  • score_mininteger or null

    From 0 to 100.

SegmentIn

  • namestringrequired

    1 to 200 characters.

  • filterSegmentFilterrequired
  • descriptionstring

    Up to 1000 characters.

SegmentPatch

  • namestring or null

    1 to 200 characters.

  • descriptionstring or null

    Up to 1000 characters.

  • filterSegmentFilter or null

ShotChange

  • fieldstringrequired
  • beforeany
  • afterany

ShotChangeOut

ShotEstimate

  • shot_idstringrequired
  • indexintegerrequired
  • creditsintegerrequired
  • modelstring or null
  • lines_in_shotinteger

    Default: 0.

ShotLineIn

  • whostringrequired

    1 to 100 characters.

  • textstringrequired

    1 to 1000 characters.

  • howstring

    Up to 200 characters.

ShotLineView

  • whostringrequired
  • textstringrequired
  • howstring or null

ShotOut

  • idstringrequired
  • indexintegerrequired
  • scene_idstringrequired
  • duration_snumberrequired
  • shot_typestringrequired
  • camerastringrequired
  • actionstringrequired
  • dialoguelist of DialogueOutrequired
  • continuitystringrequired
  • media_modestringrequired
  • statusstringrequired
  • narrationstring or null
  • promptstring or null
  • keyframe_assetAssetOut or null
  • video_assetAssetOut or null
  • errorstring or null
  • progressinteger

    Default: 0.

  • notesstring or null
  • stale_partslist of string
  • soundstring or null
  • speechstring

    One of: auto, in_shot, voice_over. Default: auto.

  • video_modelstring

    One of: auto, wan3, seedance. Default: auto.

  • end_picture_assetAssetOut or null
  • planShotPlanOut or null
  • first_shot_frameboolean or null
  • frame_shot_idstring or null
  • own_takeboolean

    Default: false.

ShotPlanOut

How the shot is made when shots have their own sound: the model, why it was chosen, and the words.

  • reasonstringrequired

    One of: chosen, talking, faces, action, usual, unavailable, film.

  • modelstring or null
  • lines_in_shotinteger

    Default: 0.

  • voice_oversinteger

    Default: 0.

  • sound_onboolean

    Default: false.

ShotView

One shot of a film: its words, its status, its clip and pictures, and the check results and notes.

  • idstringrequired
  • indexintegerrequired
  • scene_indexintegerrequired
  • statusstringrequired
  • secondsnumberrequired
  • sizestringrequired
  • camerastringrequired
  • actionstringrequired
  • linkstringrequired
  • lineslist of ShotLineView
  • narrationstring or null
  • soundstring or null
  • directionobject or null
  • clipAssetOut or null
  • stillslist of AssetOut
  • notesstring or null
  • errorstring or null
  • needs_making_againlist of string
  • remake_suggestedboolean

    Default: false.

ShotWordsIn

New words for one shot. Leave out what stays. Free: nothing is made again until the person presses it.

  • actionstring or null

    1 to 3000 characters.

  • camerastring or null

    Up to 300 characters.

  • sizestring or null

    Up to 100 characters.

  • secondsnumber or null

    From 1 to 60.

  • lineslist of ShotLineIn or null

    Up to 10 items.

  • narrationstring or null

    Up to 2000 characters.

  • soundstring or null

    Up to 1000 characters.

SignInBlockOut

  • codestringrequired
  • messagestringrequired
  • methodslist of string

SourceCount

  • sourcestringrequired
  • countintegerrequired

Stage

  • keystringrequired

    Stays the same when the label is renamed.

  • labelstringrequired
  • kindstringrequired

    open, won or lost.

  • orderintegerrequired

StageCount

  • stagestringrequired
  • labelstringrequired
  • kindstringrequired
  • countintegerrequired

StageIn

  • labelstringrequired

    1 to 60 characters.

  • keystring or null

    Up to 40 characters.

  • kindstring

    One of: open, won, lost. Default: open.

StepOut

  • idstringrequired
  • node_idstringrequired
  • node_typestringrequired
  • labelstringrequired
  • statusstringrequired

    One of: pending, running, waiting, succeeded, failed, skipped.

  • inputany
  • outputany
  • errorstring or null
  • started_atstring or null
  • finished_atstring or null
  • waiting_forstring or null

    One of: approval, generation, delay, provider, event.

  • remakeApprovalRemakeOut or null

StoryOut

  • loglinestringrequired
  • synopsisstringrequired
  • style_guidestringrequired

StoryRewriteIn

Write the film's whole story again while it waits at the Story step (not approved yet). Nothing changes until the new story is written; the story shown now is kept as an earlier version (StoryUseEarlierIn).

  • notestring or null

    Up to 500 characters.

  • shown_creditsinteger or null

    At least 0.

StoryRewriteOut

"Write a new story": at the Story step (before the story is approved), or while a new story is written.

  • creditsintegerrequired
  • writingboolean

    Default: false.

  • notestring or null
  • messagestring or null
  • model_goneboolean

    Default: false.

StoryUseEarlierIn

Bring back an earlier version of the story (MovieOut.story_versions) while the film waits at the Story step. Free; the story shown now becomes an earlier version.

  • versionintegerrequired

    At least 1.

StoryVersionOut

An earlier version of the story, kept when a new one was written (at most 3, newest first).

  • versionintegerrequired
  • first_linestringrequired
  • scenesintegerrequired
  • shotsintegerrequired
  • written_atstring (date-time) or null
  • notestring or null

StyleOption

One style for exactly this request (GIN-428): what it is best at and what it would be held.

  • keystringrequired
  • labelstringrequired
  • linestringrequired
  • creditsinteger or nullrequired
  • reasonstring or null
  • notestring or null

StyleOut

GET /ai/styles (GIN-442): a style for a kind and mode, its plain line and about what each quality costs.

  • keystringrequired
  • labelstringrequired
  • linestringrequired
  • tiersobjectrequired
  • durationslist of integer
  • aspect_ratioslist of string
  • resolutionslist of string
  • max_reference_imagesinteger

    Default: 0.

  • supports_audioboolean

    Default: false.

  • supports_end_frameboolean

    Default: false.

StyleTierOut

  • creditsinteger or nullrequired
  • reasonstring or null

Suppression

An entry on the do-not-contact list. We keep only a keyed fingerprint of the value (never sent) and a short hint.

  • idstringrequired
  • kindstringrequired

    email, domain or phone; linkedin when someone with a LinkedIn address was erased; name when someone with only a name and a company was erased (their full name at that company's name).

  • hintstring or nullrequired
  • reasonstringrequired

    unsubscribed, bounced, complained, erased, manual or whatsapp_opt_out.

  • sourcestringrequired
  • created_atstringrequired

SuppressionCheck

  • kindstringrequired

    email or phone.

  • valuestringrequired

    As you sent it.

  • validbooleanrequired
  • do_not_contactbooleanrequired
  • reasonstring or nullrequired

SuppressionCheckIn

  • emailslist of string

    Up to 100 items.

  • phoneslist of string

    Up to 100 items.

SuppressionChecks

SuppressionIn

  • kindstring

    One of: email, domain, phone. Default: email.

  • valuestring or null

    Up to 320 characters.

  • value_sha256string or null

    Not taken: send `value` instead.

  • reasonstring

    One of: unsubscribed, bounced, complained, erased, manual, whatsapp_opt_out. Default: manual.

  • sourcestring

    Up to 100 characters.

TargetIn

  • account_idstringrequired

    1 to 64 characters.

  • first_commentstring or null

    LinkedIn, Facebook and Instagram: a comment posted right after the post.

    Up to 2200 characters.

  • threadlist of string or null

    X: up to 10 more posts after this one, each up to 280 X characters, posted as a thread. Only a part with a link uses credits (like any X post with a link).

    Up to 10 items.

  • ig_storyboolean or null

    Instagram: post it as a Story (one picture or one video at 9:16; a video 3 to 60 seconds). Stories have no caption: the text is not posted.

  • textstring or null

    Up to 70000 characters.

  • tiktokTikTokSettingsIn or null
  • youtubeYouTubeSettingsIn or null
  • media_asset_idslist of string or null

    Different pictures or videos for this account only (Library file ids, up to 20). Left out or null: the post's media_asset_ids. An empty list: no media on this account. Each file is checked like the post's own (in this workspace, not a Studio file, a kind this network takes, and the network's own limits).

    Up to 20 items.

TaskIn

  • lead_idstring (uuid)required
  • kindstringrequired

    One of: call, email, linkedin, whatsapp, other.

  • titlestringrequired

    1 to 300 characters.

  • notestring or null

    Up to 5000 characters.

  • due_atstring (date-time) or null
  • assignee_idstring (uuid) or null

TaskOut

  • idstringrequired
  • timeline_idstringrequired
  • statusstringrequired

    One of: queued, running, succeeded, failed.

  • kindstring

    Default: captions.

  • progressinteger

    Default: 0.

  • errorstring or null

TaskPatch

  • statusstring or null

    One of: open, done.

  • titlestring or null

    1 to 300 characters.

  • notestring or null

    Up to 5000 characters.

  • due_atstring (date-time) or null
  • assignee_idstring (uuid) or null

TemplateOption

  • keystringrequired
  • labelstringrequired
  • helpstringrequired

TemplateOut

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • iconstringrequired
  • graphobjectrequired
  • optionslist of TemplateOption

TierOption

  • model_idstringrequired
  • labelstringrequired
  • creditsintegerrequired

TikTokSettingsIn

What the creator chose for a TikTok post (TikTok's Content Sharing Guidelines; see tiktok_rules.py). Nothing is chosen for them: privacy has no default and every switch starts off.

  • privacy_levelstring or null

    One of: PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY.

  • allow_commentboolean

    Default: false.

  • allow_duetboolean

    Default: false.

  • allow_stitchboolean

    Default: false.

  • discloseboolean

    Default: false.

  • your_brandboolean

    Default: false.

  • branded_contentboolean

    Default: false.

  • ai_generatedboolean

    Default: false.

TimelineCreate

  • titlestring or null

    1 to 200 characters.

  • asset_idslist of string

    Up to 100 items.

  • aspect_ratiostring or null

    One of: 16:9, 9:16, 1:1, 4:5.

TimelineListItem

  • idstringrequired
  • titlestringrequired
  • aspect_ratiostringrequired

    One of: 16:9, 9:16, 1:1, 4:5.

  • duration_snumberrequired
  • updated_atstringrequired
  • cover_urlstring or null
  • last_renderRenderOut or null

TimelineOut

  • idstringrequired
  • titlestringrequired
  • aspect_ratiostringrequired

    One of: 16:9, 9:16, 1:1, 4:5.

  • documentobjectrequired
  • duration_snumberrequired
  • created_atstringrequired
  • updated_atstringrequired
  • cover_urlstring or null
  • assetsobject

    Default: {}.

  • last_renderRenderOut or null

TimelinePage

TimelinePart

  • shotintegerrequired
  • sceneintegerrequired
  • start_snumberrequired
  • end_snumberrequired
  • wordslist of list of numberrequired
  • musicbooleanrequired
  • soundbooleanrequired
  • quietbooleanrequired

TimelineUpdate

  • titlestring or null

    1 to 200 characters.

  • documentobject or null

UploadAssetBody

  • filestringrequired
  • brand_idstring or null
  • tagsstring or null
  • folder_idstring or null

    Up to 64 characters.

UploadLeadImportBody

  • filestringrequired
  • mappingstring or null
  • duplicate_rulestring or null
  • basisstring or null
  • list_idstring or null
  • tagsstring or null

UserOut

  • idstringrequired
  • emailstringrequired
  • namestringrequired
  • avatar_urlstring or null
  • is_platform_adminboolean

    Default: false.

  • email_verifiedboolean

    Default: false.

  • email_alertsboolean

    Default: true.

  • two_stepboolean

    Default: false.

  • admin_needs_two_stepboolean

    Default: false.

  • starting_credits_givenboolean

    Default: false.

ValidateIn

  • textstring

    Up to 70000 characters.

  • media_asset_idslist of string

    Up to 20 items.

  • account_idslist of string

    Up to 50 items.

  • per_account_textobject or null
  • tiktokobject or null
  • youtubeobject or null
  • per_account_mediaobject or null
  • formatsobject or null

ValidationOut

  • okbooleanrequired
  • problemslist of Problemrequired

VariantEdit

  • networkstringrequired
  • textstringrequired

    Up to 70000 characters.

  • titlestring or null

    Up to 200 characters.

VariantOut

  • networkstringrequired
  • textstringrequired
  • char_countintegerrequired
  • max_charsintegerrequired
  • hashtagslist of string
  • titlestring or null

VerifyIn

  • basisstring or null

    One of: consent, asked_to_be_contacted, existing_customer, b2b_prospect.

  • providerstring or null

    1 to 30 characters.

VoiceOut

  • idstringrequired
  • labelstringrequired
  • model_idstringrequired
  • provider_modelstringrequired
  • tierstringrequired
  • languagestringrequired
  • sample_textstringrequired
  • enginestring
  • genderstring or null
  • accentstring or null
  • stylestring
  • languageslist of string

VoicePreviewIn

  • textstring or null

    Up to 500 characters.

  • voicestring or null

    Up to 100 characters.

VoiceSettings

The ElevenLabs voice changer's voice settings for one request (its `voice_settings`, sent as a JSON string; elevenlabs.voice_change_form): each from 0 to 1, and a yes/no for the speaker boost. Unknown keys are dropped, as in GenerationParams. The proof film's stronger setting (15 Nov 2026): stability 0.8, similarity_boost 1.0, style 0, use_speaker_boost true.

  • stabilitynumber or null

    From 0 to 1.

  • similarity_boostnumber or null

    From 0 to 1.

  • stylenumber or null

    From 0 to 1.

  • use_speaker_boostboolean or null

WebhookAccepted

  • run_idstringrequired

WebhookCreate

  • urlstringrequired

    1 to 2000 characters.

  • descriptionstring

    Up to 500 characters.

  • event_typeslist of string

    Up to 50 items. Default: ["*"].

  • enabledboolean

    Default: true.

WebhookOut

  • idstringrequired
  • urlstringrequired
  • descriptionstringrequired
  • event_typeslist of stringrequired
  • enabledbooleanrequired
  • created_atstringrequired
  • updated_atstringrequired
  • last_delivery_statusstring or null
  • last_delivery_atstring or null

WebhookUpdate

  • urlstring or null

    1 to 2000 characters.

  • descriptionstring or null

    Up to 500 characters.

  • event_typeslist of string or null

    Up to 50 items.

  • enabledboolean or null

WeekCount

  • week_startstringrequired
  • countintegerrequired

WorkflowCreate

WorkflowGraph

WorkflowOut

  • idstringrequired
  • namestringrequired
  • descriptionstringrequired
  • enabledbooleanrequired
  • graphobjectrequired
  • trigger_summarystringrequired
  • settingsobjectrequired
  • created_atstringrequired
  • updated_atstringrequired
  • webhook_urlstring or null
  • webhook_secretstring or null
  • next_run_atstring or null
  • last_runRunSummary or null

WorkflowPage

  • itemslist of WorkflowOutrequired
  • next_cursorstring or null

WorkflowSettings

  • max_credits_per_runinteger or null

    From 1 to 100000.

  • timezonestring or null

    Up to 64 characters.

  • approvals_expireboolean or null

WorkflowUpdate

WorkspaceOut

  • idstringrequired
  • namestringrequired
  • slugstringrequired
  • rolestringrequired
  • role_labelstring or null
  • accessobject
  • sees_personal_databoolean

    Default: true.

  • enterpriseboolean

    Default: false.

  • featureslist of string
  • brand_countinteger or null
  • sign_in_blockSignInBlockOut or null

WriteEmailIn

  • goalstring

    Up to 500 characters.

  • purposestring

    One of: enquiry, marketing. Default: marketing.

  • languagestring

    One of: auto, en, hi, es, fr, de, pt, ar. Default: auto.

  • brand_idstring or null

    Up to 100 characters.

  • tonestring or null

    One of: friendly, professional, warm, direct.

  • lengthstring

    One of: short, medium. Default: short.

  • call_to_actionstring or null

    Up to 200 characters.

WritePostRequest

  • briefstringrequired

    1 to 4000 characters.

  • enhanced_briefstring or null

    Up to 4000 characters.

  • networkslist of string

    Up to 6 items. Default: ["instagram","linkedin","facebook"].

  • brand_idstring or null
  • tonestring or null

    Up to 40 characters.

  • languagestring or null

    Up to 40 characters.

  • lengthstring

    One of: short, medium, long. Default: medium.

  • hashtagsboolean

    Default: true.

  • emojisboolean

    Default: true.

  • asset_idslist of string

    Up to 10 items.

  • writerstring or null

    One of: auto, everyday, creative, smart_stories, smart_precise.

WriterUsedOut

Which writer wrote a result: a paid one that was busy, refused or not allowed is Everyday, with `note` (one plain line); `premium_credits`: what Premium writers took for it (0 for an included writer).

  • writerstringrequired
  • labelstringrequired
  • notestring or null
  • premium_creditsinteger

    Default: 0.

YouTubeSettingsIn

What the person chose for a YouTube upload (YouTube's Required Minimum Functionality and Developer Policies III.C.3; see youtube_rules.py). Nothing is chosen for them: privacy and "made for kids" have no default. With an API key they are kept on a draft only: YouTube posts come from people in cuil.si and the automations they set up there.

  • privacystring or null

    One of: public, unlisted, private.

  • made_for_kidsboolean or null
  • ai_contentboolean

    Default: false.

  • titlestring or null

    Up to 500 characters.