v1

latestOpenAPI 3.0.32026-07-1416063.7 KB

Update an Existing Number

This endpoint an existing number owned by a client.

put/numbers/{id}

Path parameters

idinteger required

The ID used to identify the number.

Request body

namestring required

The name used to easily identify the number. Allowed values are between 2 and 255 characters.

statusstring required

The status of the number. Allowed values are active and inactive.

catchall_sequence_idinteger

The ID of the sequence used to handle catchall calls.

Response

200

Example response

{
  "data": {
    "id": 1,
    "name": "Test Number",
    "number": "+15555555555",
    "status": "active",
    "client_id": 1
  }
}