v3

latestOpenAPI 3.1.02026-08-0755220214.3 KB
conversations

Sip Outbound Call

Initiates a SIP outbound call using user-supplied SIP credentials in headers.

post/conversations/sip/outbound_call

Headers

Authorizationstring required

Bearer authentication header of the form Bearer <PHONIC_API_KEY>. Manage your API keys here.

X-Sip-Addressstring required

SIP address of the user's SIP trunk. Required.

X-Sip-Auth-Usernamestring

SIP auth username, if your provider requires it.

X-Sip-Auth-Passwordstring

SIP auth password, if your provider requires it.

Request body

from_phone_numberstring required

Caller ID phone number in E.164 format.

to_phone_numberstring required

Destination phone number in E.164 format.

dry_runboolean

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

OR