Acceptance sequence
- Create a key and verify a safe authenticated read.
- Create a synthetic lead and a small lead list.
- Run a prospect search (
POST /searches) and read its preview without importing it. - Create a campaign draft and read its preflight (
GET /campaigns?id=...&include=preflight) without launching. - Register a webhook and verify its signature using the raw body.
- Trigger a test delivery (
send_testonPATCH /webhook-endpoints/{id}) and inspect delivery history (include=deliveries). - Create a voice-agent draft (
POST /agentswithdraft: true), attach a test knowledge source, and test a tool with generated input. - Configure a widget and verify allowed and disallowed origins.
- Poll a known job (
GET /jobs?id=...) through pending, running, completed, and failure handling where fixtures permit.
Negative cases
Exercise missing/invalid keys (401), unavailable entitlements (403), wrong-workspace IDs (404), invalid state transitions (409), malformed fields (422), rate limits (429), and provider or temporary failures (502/503). Record the actual response envelope and compare it with the endpoint reference.