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.
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.
Response
Success response
SipOutboundDryRunResponse
OR
SipOutboundCallInitiatedResponse
Errors
400
Bad Request Error
401
Unauthorized Error
409
Conflict Error
500
Internal Server Error