sayintel
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

NameInTypeRequiredDescription
campaign_idpathstringyes—

Body

NameInTypeRequiredDescription
targetbodynumberyes—

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.