DialCampaignContact initiates an agent-previewed campaign call.
POST/api/v1/voice/campaigns/:campaignId/contacts/:contactId/dial
Called after the agent reviews the contact details (received via WebSocket). Returns dial context (campaign DID, contact phone) for the frontend to initiate a SIP INVITE with X-Campaign-ID and X-Contact-ID headers.
Errors
- NOT_FOUND: Campaign or contact does not exist
- FAILED_PRECONDITION: Campaign not active, contact not in dialable state
Request
Responses
- 200
- default
A successful response.
An unexpected error response.