Numbers
List and update available numbers.
List Numbers
Request
GET https://api.telzio.com/numbers
Query Parameters
Parameter | Type | Default |
---|---|---|
PageSize | int32 | 50 |
PageIndex | int32 | 0 |
Response
{
[
{
"NumberID": integer,
"E164": string,
}
]
}
Update Number
Request
PUT https://api.telzio.com/numbers/{numberId}
Path Parameters
Parameter | Type |
---|---|
numberId | int32 |
Body Parameters
Parameter | Type | Description | Default |
---|---|---|---|
CallDestination | string | None, CallFlow, User, Group, or External | None |
CallDestinationValue | string | The appropriate value depending on the value provided in CallDestinationValue. If None, this field should be empty. If CallFlow is used, then this must be the ID of the call flow (see Call Flows), is group is entered, must be the group id of the desired group, if User is selected, this must be the username of the user, and if External is used, it must be the full E164 number to send the caller to. |