Dispatch one ad-hoc AI-agent call to a raw number
POST /voice/calls
Dispatch a single AI-agent call to an arbitrary number right now.
No dialer session or contact list required - this wraps voice’s
POST /api/call/start (voice/graph8_livekit/routers/call.py:19),
the one-off “call this number” primitive that previously had no public
surface at all. Places a REAL call and is billable upstream (voice
checks the org’s subscription and concurrent-call cap before
dispatching). Send an Idempotency-Key header to make a retry
safe - every POST on this API already honors it via the app-wide
IdempotencyMiddleware, so no extra field is needed here.
Org is pinned server-side; phone numbers are normalized to E.164 by voice itself (a malformed number 400s with an actionable message).
Authorizations
Parameters
Header Parameters
Request Body required
Body for dispatching one AI-agent call to an arbitrary number.
No dialer session or contact list required - this is the “call this one
number right now” primitive (voice/graph8_livekit/routers/call.py:19).
Places a REAL call and is billable; send an Idempotency-Key header to
make a retry safe (honored automatically by the Developer API’s
idempotency middleware on every POST - no extra body field needed).
object
If true, the call is validated but not actually dispatched.
Caller ID. Must be one of the org’s numbers.
IANA timezone for the callee.
Number to call. Normalized server-side.
Responses
201
Successful Response
object
Echo of voice’s AgentDispatchResponse.
object
422
Validation Error