Record a Do-Not-Call suppression from an agent
Record a Do-Not-Call suppression captured by the AI agent’s mark_dnc tool when a customer asks to be removed from outreach. At least one of phone (E.164) or email is required; channel defaults to all/voice/email by what is provided. The suppression is written to the tenant’s suppression list (and the DNC list for voice/SMS phones), matching contacts are flagged dnc, and the agent.dnc.marked webhook fires for tenant CRM sync. Idempotent — repeat calls re-state the suppression without duplicating rows. Rate-limited to 30/min per tenant.
Authorizations
Dashboard JWT token from Clerk
Headers
Stripe-style idempotency token. Pass a stable, client-generated value (1-255 chars) to dedupe retries on transient timeouts. The same key+credential+path replays the original response for 24h on 2xx (5min on 4xx, 30s on 5xx). Returns 409 if a concurrent request with the same key is already in flight; replayed responses include the Idempotency-Replay: true response header.
1 - 255Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.
true, false Body
The suppression to record — at least one of phone or email.