Phone Numbers

Update a phone number

Changed on

Update what the AI does on inbound calls (inbound_objective), pause/resume the number (status), or set where calls reach a person, without releasing the number. forward_to is a phone number in the same country as this one (E.164). With call_routing: agent (default) the AI answers and transfers callers who ask for a person to forward_to; with call_routing: forward every call rings forward_to directly, and the caller can leave a voicemail if it does not connect. Forwarded minutes use credits.

patch/phone-numbers/{id}

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/phone-numbers/{id}
  • Auth: API key in header Authorization

Path parameters

idstring required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Request body

inbound_objectivestring nullable
status'active' | 'inactive' | 'awaiting_verification' | 'in_review' | 'declined' | 'cancelled'
countrystring
forward_tostring nullable
call_routing'agent' | 'forward'

Response

Phone number updated

idstring required
objectstring required
e164string nullable required
status'active' | 'inactive' | 'awaiting_verification' | 'in_review' | 'declined' | 'cancelled' required
countrystring required
inbound_objectivestring nullable required
forward_tostring nullable required
call_routing'agent' | 'forward' required
verification_urlstring nullable required
review_notestring nullable required
created_atstring date-time required
updated_atstring date-time required
monthly_creditsinteger required

Changes

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status