Provision a phone number
Changed onProvisions a new phone number for the account and routes its inbound calls to an AI voice agent. Pass country (ISO 3166-1 alpha-2, default US) for a number in any country Crevio sells; prices differ by country. Most countries provision instantly (201). Regulated countries first need the business verified: the response is 202 with status: awaiting_verification and a verification_url to send the business owner to (pass verification_return_url to bring them back). The number then moves to in_review, and becomes active (or declined, with a review_note) once the carrier decides, usually within 1-3 days. The first month is charged in credits when the number becomes active, and each month it is kept after that; a number the balance cannot renew is released.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
The schedule (sched_...) whose open hours ring forward_to when call_routing is business_hours. Outside them the assistant answers.
The page where contacts leave a review, starting with http:// or https://.
Questions the assistant asks every caller and texter before wrapping up. Their answers come back in the call's analysis.intake. Replaces the whole list.
Response
Phone number provisioned
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
5 more changes in this revision
- warning