Skip to main content
Use this endpoint to update an existing phone number. You can modify its configuration, provider settings, or update the AI Agent associated with the phone number, depending on your workspace configuration.
Only authenticated users can update phone numbers within their workspace.

OpenAPI

Authorizations

string
required
Bearer Token for the authenticated user.Format:Authorization: Bearer YOUR_ACCESS_TOKEN

Path Parameters

string
required
The unique identifier of the phone number to update.

Body Parameters

string
Updated phone number in international (E.164) format.
string
Updated telephony provider associated with the phone number.
string
Unique identifier of the AI Agent to assign to this phone number.
string
Status of the phone number (Active or Inactive).

Example Request

Successful Response

Response Fields

string
Unique identifier of the phone number.
string
The updated phone number.
string
Telephony provider associated with the phone number.
string
Current status of the phone number.
string
Name of the AI Agent currently assigned to the phone number.
string
Timestamp indicating when the phone number was last updated.

Error Responses

Bad Request (400)

Unauthorized (401)

Not Found (404)

Internal Server Error (500)