Create campaign
Create a campaign: its motion (cold, marketing or sales), goal, audience, sending route (plane) and send type.
Required scopes: email:write. Runs at once.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
length <= 255The 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.create' \ -H 'Content-Type: application/json' \ -d '{ "input": { "name": "string", "audience": { "kind": "members" } }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Approve drafts POST
Approve campaign drafts (every drafted one, or a chosen set) so they are ready to launch. Required scopes: email:write. Runs at once.
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.