Endpoint
Draft email sequences
POST/api/public/v1/campaigns/{campaign_id}/email-sequenceswrite
Draft the 3-email sequence (subject and three emails) for selected people on one conference who have a drafted LinkedIn first message and a revealed email but no sequence yet. Costs model calls, so the default dry_run=true only counts who is ready and drafts nothing; call again with dry_run=false only after the person said yes. Drafts at most `limit` people per call (default 8, max 20); call again while remaining > 0. Drafts only: nothing is pushed to Instantly or sent.
Request
curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/email-sequences" \
-H "Authorization: Bearer $SAYINTEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{}'Try it out
Try it outPOST/api/public/v1/campaigns/{campaign_id}/email-sequenceswrite
Sent as a bearer token to this site only, and kept in this tab's session storage. It is never written to disk or sent anywhere else.
Paste an API key to run.
Path parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| campaign_id | path | string | yes | — |
Body
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| limit | body | number | no | — |
| dry_run | body | boolean | no | true (default): count who is ready and spend nothing. false: draft. |
| workspace | body | string | no | Not accepted on this tool: it acts on your own account, and naming another workspace is refused. |
| acting_account | body | string | no | Which sayintel login this call acts on: an account_id or email from list_accounts. Required once logins are linked to this connection. |
Response
{
"ok": true,
"tool": "draft_email_sequences",
"kind": "write",
"data": { ... },
"error": null
}Notes
- Scope required: write. How scopes work.
- Accepts Idempotency-Key. A retry with the same key replays the first result instead of repeating the work.
- Accepts dry_run: true and always returns cost_preview before spending anything.
- Same capability over MCP as the tool draft_email_sequences. MCP setup.