Download OpenAPI specification:Download
Get a list of all Phone Numbers linked to a given Voice Account.
| accountGuid required | string <uuid> Example: 00000000-0000-0000-0000-000000000000 Unique identifier of the Logical Account or Voice Account. |
| skip | integer or null <int32> [ 0 .. 2147483647 ] Skip. |
| take | integer or null <int32> [ 1 .. 25 ] Take. |
Updates the configuration for the given Phone Numbers.
| accountGuid required | string <uuid> Example: 00000000-0000-0000-0000-000000000000 Unique identifier of the Logical Account or Voice Account. |
Dictionary of phone numbers and configs
| phoneNumber | integer <int64> The Phone Number that the current configuration applies to. |
| appAccountGuid | string <uuid> The unique identifier of the application can be found in the Voice Management App in the API Settings section. |
| type | string The Application type that should be used. Can be either |
| destinationNumber | integer <int64> The Phone Number that the call will be forwarded to. |
| customCallerId | integer or null <int64> Optional caller ID (CLI) that will be used when the call is forwarded. |
[- {
- "phoneNumber": 31761000000,
- "appAccountGuid": "00000000-0000-0000-0000-000000000000",
- "type": "directforwarding",
- "destinationNumber": 31761000000,
- "customCallerId": 31762000000
}
][- {
- "phoneNumber": 31761000000,
- "appAccountGuid": "00000000-0000-0000-0000-000000000000",
- "type": "directforwarding",
- "destinationNumber": 31761000000,
- "customCallerId": 31762000000
}
]Exports a list of all inbound Phone Numbers linked to a given Voice Account or all Voice Accounts in an organization in Excel format.
| accountGuid required | string <uuid> Example: 00000000-0000-0000-0000-000000000000 Unique identifier of the Logical Account or Voice Account. |
| exportAll | boolean Default: false Wheter all Voice Accounts whithin the organization should be included or not. |
Update the Company Profile of a Phone Number to change the connected address.
| accountGuid required | string <uuid> Unique identifier of the voice account or logical account |
| phoneNumber required | integer <int64> The start phone number of the phone number range to update |
The company profile guid to update to
| companyProfileGuid | string <uuid> Unique identifier of the company profile to update the Phone Number with |
{- "companyProfileGuid": "ce61a77a-60e5-4541-bef6-1725debb3e92"
}As a Voice Reseller, you can use this endpoint to view all phone numbers owned by all of your managed voice accounts.\n\r\n\rPlease note: This endpoint is only available for Voice Resellers.
| organizationId required | integer <int32> Identifier of the organization |
| skip | integer or null <int32> [ 0 .. 2147483647 ] Skip. |
| take | integer or null <int32> [ 1 .. 25 ] Take. |
Update the Phone Number alias to help identify it from other numbers.
| accountGuid required | string <uuid> Example: 00000000-0000-0000-0000-000000000000 Unique identifier of the Logical Account or Voice Account. |
| phoneNumber required | integer <int64> Example: 31761000000 The Phone Number to be updated. |
CM.Voice.PhoneNumberApi.Models.Api.ApiCustomerAliasCustomerRequest
| customerAlias | string or null^[a-zA-Z0-9À-ÿ\-@'().\/\+?&|\s]*$ New Phone Number alias that can be used to differentiate a Phone Number. |
{- "customerAlias": "Breda Office Front Desk"
}{- "originalNumber": 32760000000,
- "number": 32700000000,
- "customerAlias": "Breda office front desk"
}