Endpoint
Set instantly destination
POST/api/public/v1/campaigns/{campaign_id}/instantly/destinationwrite
Choose which Instantly campaign a conference's email sequences push into (an id from list_instantly_campaigns; null clears it). Its steps should read {{subject}}, {{email_1}}, {{email_2}}, {{email_3}}. Writes only campaigns.instantly_campaign_id; nothing is pushed.
Request
curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/instantly/destination" \
-H "Authorization: Bearer $SAYINTEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"instantly_campaign_id": "<instantly_campaign_id>"}'Try it out
Try it outPOST/api/public/v1/campaigns/{campaign_id}/instantly/destinationwrite
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 |
|---|---|---|---|---|
| instantly_campaign_id | body | string | yes | — |
| 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": "set_instantly_destination",
"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.
- Same capability over MCP as the tool set_instantly_destination. MCP setup.