Create campaign test run
Start a test of this agent’s campaign on one contact.
The test runs the real campaign, so its call is real and its post-call workflow applies tags and CRM changes. For an inbound campaign, the tester calls in from callerPhone. Check progress with GET /api/agent-builder/agents/{id}/campaign/test-runs/{intentId}.
Before it fires, the test can ask a question instead (data.needsDecision, with nothing written): a campaign with only power dialer calls asks whether to call now (callNow), and a call outside the calling window asks whether to override it (overrideCallingWindow). Send the same request again with the answer.
Required API key scope: calls:write.
Authorizations
Query Parameters
Body
Call now anyway: dial the test now, overriding whatever is in the way (a call already in progress with this number, an earlier test, the calling window). Implies callNow and overrideCallingWindow, so no question is asked. A stop on the number never needs it: every test lifts the contact's stops before it dials. One that does not come off answers TEST_STOPS_NOT_CLEARED (503).
true
