Endpoint
Set readiness target
POST/api/public/v1/campaigns/{campaign_id}/readiness-targetwrite
Set how many approved leads make a campaign 'floor ready' (the Approvals readiness target; the UI offers 5, 10, 15 or 25). Changes no drafts and sends nothing.
Request
curl -X POST "https://sayintel.com/api/public/v1/campaigns/<campaign_id>/readiness-target" \
-H "Authorization: Bearer $SAYINTEL_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"target": <target>}'Try it out
Try it outPOST/api/public/v1/campaigns/{campaign_id}/readiness-targetwrite
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 |
|---|---|---|---|---|
| target | body | number | yes | — |
| workspace | body | string | no | Optional. Make this change on another account where you hold an ADMIN seat on the whole account: pass the workspace_id that list_workspaces returns. Omit to use your own account. Refused for viewer and member seats and for client or conference seats. Never sends. |
| 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_readiness_target",
"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_readiness_target. MCP setup.