Purchase or Import Phone Number
Changed onprovider discriminates two variants. twilio buys a number from the managed inventory: it lands in your default workspace, any agent_id you bind must live there too, and billing is the monthly price charged in daily slices; the first day is charged before anything is bought (402 costs you nothing) and the daily run advances it from there. sip imports a number you already own at your carrier: point your trunk's origination at our SIP host, provide inbound authentication (digest and/or source CIDRs) and optionally a termination host so the number can place calls; nothing is rented and there is no monthly fee. Either way, 409 means the number is already on the platform; 502 means the provider or trunk provisioning refused, and the number stays visible with status error and is safe to release.
Request
- Base URLhttps://api.fish.audio
- URLhttps://api.fish.audio/v1/agent/phone-numbers
- AuthHTTP bearer
Request body
Response
Document created, URL follows
Changes
- info
endpoint added
- info