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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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"
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.
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.
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"
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.
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.
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.
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).
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.
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).
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.
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).
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).
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).
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
One recorded "yes" or "no". Rows are never changed; the latest one per channel and purpose counts.
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
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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...
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.
"Add my logo" on the finished film: the brand's exact logo file in a corner, from the first frame to the last.
Free. Uses the movie's brand, else the default brand.
cornerstring
One of: top_left, top_right, bottom_left, bottom_right. Default: bottom_right.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
/api/v1/social/accountsSocial accounts connected in cuil.si.
listSocialAccountsStableRead-only keys can use thisPermission: social:readThe 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 nullThe 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
/api/v1/social/validateCheck a post against each network's rules before sending it.
checkPostStablePermission: social:writeBody (JSON)
A ValidateIn:
textstringUp to 70000 characters.
media_asset_idslist of stringUp to 20 items.
account_idslist of stringUp to 50 items.
per_account_textobject or nulltiktokobject or nullyoutubeobject or nullper_account_mediaobject or nullformatsobject or nullAnswer: 200 OK.
object
Can also answer 400, 401, 402, 403, 422, 429. See errors.
Example
/api/v1/social/postsDrafts, scheduled and published posts, newest first.
listSocialPostsStableRead-only keys can use thisPermission: social:readPosts, 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 nullOne status or several, comma separated (e.g. published,partially_published).
limitin the queryintegerFrom 1 to 100. Default: 30.
cursorin the querystring or nullqin the querystring or nullOnly posts whose text has these words.
Up to 500 characters.
approvalin the querystring or nullOnly 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 nullThe 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
/api/v1/social/postsPublish a post now or schedule it for later.
createSocialPostStableRetry-safePermission: social:publishPublish 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:
textstringUp to 70000 characters.
media_asset_idslist of stringUp to 20 items.
targetslist of TargetInUp to 50 items.
scheduled_atstring (date-time) or nullbrand_idstring or null1 to 64 characters.
draft_idstring or null1 to 64 characters.
draftbooleanSave 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_weeksintegerA 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
/api/v1/social/posts/{post_id}One post, with where and when it goes out.
getSocialPostStableRead-only keys can use thisPermission: social:readParameters
post_idin the pathstringrequiredAnswer: 200 OK.
object
Can also answer 401, 403, 404, 422, 429. See errors.
Example
/api/v1/social/posts/{post_id}Change a post that hasn't gone out yet.
updateSocialPostStablePermission: social:writeChange 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 pathstringrequiredBody (JSON)
A PostUpdate:
textstring or nullUp to 70000 characters.
media_asset_idslist of string or nullUp to 20 items.
targetslist of TargetIn or nullUp to 50 items.
scheduled_atstring (date-time) or nulldraftboolean or nulltrue: 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
/api/v1/social/posts/{post_id}Cancel a post that hasn't gone out yet.
cancelSocialPostStablePermission: social:writeParameters
post_idin the pathstringrequiredremovein the querybooleanAlso 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
/api/v1/social/posts/{post_id}/publish-nowPublish a scheduled post right away.
publishPostNowStablePermission: social:publishPublish 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 pathstringrequiredAnswer: 200 OK.
object
Can also answer 401, 402, 403, 404, 409, 422, 429. See errors.
Example
/api/v1/social/publications/{publication_id}How a post did on one account: status, link and error.
getPublicationStableRead-only keys can use thisPermission: social:readParameters
publication_idin the pathstringrequiredAnswer: 200 OK.
object
Can also answer 401, 403, 404, 422, 429. See errors.
Example
/api/v1/social/publications/{publication_id}Move one account's copy of a post to another time.
reschedulePublicationStablePermission: social:writeMove 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 pathstringrequiredBody (JSON)
A PublicationUpdate:
scheduled_atstring (date-time)requiredAnswer: 200 OK.
object
Can also answer 400, 401, 403, 404, 422, 429. See errors.
Example
/api/v1/social/publications/{publication_id}Delete a live Facebook Page or Instagram post. It stays in your calendar, marked deleted.
deletePublishedPostBetaPermission: social:publishDelete 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 pathstringrequiredAnswer: 200 OK.
object
Can also answer 401, 403, 404, 409, 422, 429. See errors.
Example
/api/v1/social/publications/{publication_id}/retryTry again to publish on an account where it failed.
retryPublicationStablePermission: social:publishTry 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 pathstringrequiredAnswer: 200 OK.
object
Can also answer 401, 402, 403, 404, 409, 422, 429. See errors.
Example
/api/v1/social/calendarPosts between two dates, for a calendar view.
getCalendarStableRead-only keys can use thisPermission: social:readThe range's posts, one per account. brand_id: the brand's posts and the posts on its accounts.
Parameters
startin the querystring (date-time)requiredendin the querystring (date-time)requiredbrand_idin the querystring or nullThe 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
/api/v1/social/publications/{publication_id}/editChange the text of a Facebook Page post that is already live.
editPublishedPostBetaPermission: social:publishChange 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 pathstringrequiredBody (JSON)
A PublishedTextIn:
textstringrequiredUp to 70000 characters.
Answer: 200 OK.
object
Can also answer 400, 401, 402, 403, 404, 409, 422, 429. See errors.
Example