Create Phone Call
Changed onPlace an outbound call from one of your phone numbers. Platform numbers dial US, Canada or Japan destinations, and a domestic trunk 0 after +81 (e.g. +81080...) is accepted and normalized to E.164 (+8180...). Imported SIP numbers dial through their own termination and may attach custom INVITE headers with sip_headers. Returns immediately with the session queued for dialing. Subscribe to the phone_call.dial_finished webhook or poll GET /v1/agent/sessions/{session_id} for the dial outcome and the leg's sip_call_id. Ringing is never billed: metering starts when the callee answers.
Errors carry a machine-readable reason (e.g. destination_not_allowed, insufficient_credit, concurrency_limit_exceeded).
Request
- Base URLhttps://api.fish.audio
- URLhttps://api.fish.audio/v1/agent/phone-calls
- AuthHTTP bearer
Headers
Retry-safe replay key: the same key with the same body returns the call already placed instead of dialing again (24h window).
Request body
Response
Document created, URL follows
Changes
- info
endpoint added
- info