Skip to main content
POST
Send Call

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard.

Body

application/json
agentId
string<uuid>
required
toNumber
string
required

Destination number (E.164)

Pattern: ^\+[1-9]\d{1,14}$
fromNumber
string
required

Caller ID number (E.164)

Pattern: ^\+[1-9]\d{1,14}$
variables
object

Template variables for this call

callerIdName
string

Caller ID name displayed to the recipient (max 15 characters)

Required string length: 1 - 15
skipQueue
boolean
default:false

When true, returns a 429 error immediately if the concurrency limit is reached instead of queuing the call

voicemailAction
enum<string>

Override the agent's voicemail behavior for this call only. 'leave_message' leaves the agent's configured voicemail when an answering machine is detected; 'hangup' ends the call without leaving a message. Omit to use the agent's saved setting. The agent must have voicemail detection enabled for this to take effect. Useful for multi-attempt outreach where only the final attempt should leave a voicemail.

Available options:
hangup,
leave_message
voiceId
string

Override the agent's voice for this call only. Takes a voice id from GET /voices (a system voice or one owned by your organization). Lets one agent speak with different voices per call - for example rotating across a set of voices, or matching the voice to what you know about the person being called - without editing the agent between calls. The agent's saved voice is unchanged and its backup-voice behavior still applies. An unknown or unusable voice id is rejected with 400 voice_not_found.

Response

Outbound call initiated

data
object

Phone call record