Sip Outbound Call
Initiates a SIP outbound call using user-supplied SIP credentials in headers.
Authentication
AuthorizationBearer
Bearer authentication header of the form `Bearer <PHONIC_API_KEY>`. Manage your API keys [here](https://phonic.co/api-keys).
Headers
X-Sip-Address
SIP address of the user's SIP trunk. Required.
X-Sip-Auth-Username
SIP auth username, if your provider requires it.
X-Sip-Auth-Password
SIP auth password, if your provider requires it.
Request
This endpoint expects an object.
from_phone_number
Caller ID phone number in E.164 format.
to_phone_number
Destination phone number in E.164 format.
from_display_name
Display name for the caller ID (the SIP From header) on this call. Sent only when non-empty. Whether it reaches the callee depends on your SIP carrier - carriers that forward the From display name (e.g. Telnyx) present it, while others (e.g. Twilio) drop it or override it with a CNAM lookup.
config
When an agent is provided, these config options override the agent settings.
dry_run
If true, validates the outbound call setup without placing a call. Returns HTTP 200 with conversation_id and twilio_call_sid set to null.
sip
SIP trunk settings for the outbound trunk created for this call.
Response
Success response
SipOutboundDryRunResponse
OR
SipOutboundCallInitiatedResponse
Errors
400
Bad Request Error
401
Unauthorized Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error