A valid request URL is required to generate request examples{
"id": "AUIAC-EXQA",
"name": "Main line",
"e164": "+15551234567",
"area_code": "555",
"inbound_cloud_employee_id": "AUIAE-DUXA",
"outbound_cloud_employee_id": "AUIAE-DUXA"
}{
"type": "https://example.com/errors/example",
"title": "Bad Request",
"status": 400,
"detail": "Property foo is required but is missing.",
"instance": "https://example.com/error-log/abc123",
"errors": [
{
"message": "<string>",
"location": "<string>",
"value": "<unknown>"
}
]
}Update a phone number
Update a phone number’s name and cloud employees.
A valid request URL is required to generate request examples{
"id": "AUIAC-EXQA",
"name": "Main line",
"e164": "+15551234567",
"area_code": "555",
"inbound_cloud_employee_id": "AUIAE-DUXA",
"outbound_cloud_employee_id": "AUIAE-DUXA"
}{
"type": "https://example.com/errors/example",
"title": "Bad Request",
"status": 400,
"detail": "Property foo is required but is missing.",
"instance": "https://example.com/error-log/abc123",
"errors": [
{
"message": "<string>",
"location": "<string>",
"value": "<unknown>"
}
]
}Authorizations
API key sent in the X-Api-Key header. Generate an API key from https://app.atonom.ai/#/settings/v2/api_keys.
Path Parameters
Identifier of the phone number.
10 - 21^[A-Za-z2-7]+-[A-Za-z2-7]{4,}$"AUIAC-EXQA"
Body
New display name. Omit to leave unchanged. JSON null and "" are invalid (empty name is not allowed; name cannot be cleared).
1"Renamed line"
The cloud employee handling inbound calls. Omit leaves the current assignment unchanged; null clears it; a value sets it.
10 - 21^[A-Za-z2-7]+-[A-Za-z2-7]{4,}$"AUIAE-DUXA"
The cloud employee handling outbound calls. Omit leaves the current assignment unchanged; null clears it; a value sets it.
10 - 21^[A-Za-z2-7]+-[A-Za-z2-7]{4,}$"AUIAE-DUXA"
Response
OK
Identifier of the phone number.
10 - 21^[A-Za-z2-7]+-[A-Za-z2-7]{4,}$"AUIAC-EXQA"
Display name of the phone number.
"Main line"
Phone number in E.164 format.
"+15551234567"
NANP area code.
"555"
Identifier of the cloud employee handling inbound calls.
10 - 21^[A-Za-z2-7]+-[A-Za-z2-7]{4,}$"AUIAE-DUXA"
Identifier of the cloud employee handling outbound calls.
10 - 21^[A-Za-z2-7]+-[A-Za-z2-7]{4,}$"AUIAE-DUXA"

