Campaign
One campaign: its kind, goal, audience, status and members by state.
Required scopes: email:read. Read only.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/campaign.get' \ -H 'Content-Type: application/json' \ -d '{ "input": { "campaignId": "string" }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Generate drafts POST
Write a personal subject and body for each selected member, in the brand voice, saved as drafts to review. Nothing is sent. Required scopes: email:write. Runs at once.
Launch campaign POST
Send every approved draft through email.send, cold email by the campaign's sending route. Compliance, suppression and deliverability rules apply. Cold drafts past the daily mailbox cap stay approved, the output says how many wait, and they carry on by themselves the next day. A cold campaign is refused with no connected mailbox, unless the workspace has a Resend key. Safe to run again: each draft is sent once. Required scopes: email:send. Runs at once.