Flito docs
Campaign

Launch campaign

POST
/api/cap/campaign.launch

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.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key (flito_pat_…) from Settings, API & AI connections.

Request Body

application/json
  1. body
input*
idempotencyKey?string

Send the same key to retry safely: the second call returns the first result.

Lengthlength <= 255

Response Body

The capability ran.

application/json
  1. response
result*unknown

The capability’s output.

commitId?|

The config commit, for versioned records.

eventId?string|null
idempotentReplay?boolean

True when this answer is a replay of an earlier call.

Example Request
curl -X POST 'https://crm.yourcompany.com/api/cap/campaign.launch' \  -H 'Content-Type: application/json' \  -d '{  "input": {    "campaignId": "string"  }}'
Example Response
{  "result": null,  "commitId": "string",  "eventId": "string",  "idempotentReplay": true}

Was this page useful?