Skip to main content
POST
create-phone-call

Authorizations

x-api-key
string
header
required

API key from Rapida credentials.

Headers

x-client-source
enum<string>
default:sdk

Client source identifier. SDK clients send this automatically.

Available options:
sdk
x-auth-id
string

Optional user identifier to propagate with the request.

Body

application/json
assistant
object
required
toNumber
string
required

Destination phone number in E.164 format.

Example:

"+14155550123"

metadata
object

Arbitrary metadata stored with the conversation for tracking and analytics.

Example:
args
object

Runtime arguments made available to the assistant.

Example:
options
object

Runtime overrides for this call. Supported option groups include experience.* for session behavior, listen.* for speech-to-text and voice input, speak.* and speaker.* for text-to-speech and spoken output, model.* for model provider options, and agentkit.* for AgentKit connection settings.

Example:
fromNumber
string

Caller ID phone number in E.164 format. If omitted, Rapida uses the configured default.

Example:

"+14155550100"

Response

Outbound phone call request accepted.

code
integer<int32>
Example:

200

success
boolean
Example:

true

data
object
error
object

Platform error response details. errorCode is a stable platform error code. See PlatformErrorCode for documented code/message mappings.