Phone Numbers
Get all phone numbers
Changed onGet all phone numbers. You can filter and sort the phone numbers returned with paging.
get/v1/projects/{projectId}/phoneNumbers
Request
- Base URLhttps://elastic-trunking.api.sinch.com
- URLhttps://elastic-trunking.api.sinch.com/v1/projects/{projectId}/phoneNumbers
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://auth.sinch.com/oauth2/token
Response
A successful response is an array containing phone numbers.
Example response
{
"totalItems": 10000,
"pageNumber": "1",
"size": 2000,
"phoneNumbers": [
{
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"sipTrunkId": "5RTRZ3NDEKTSV4RRFFQ69G5EWS",
"phoneNumber": "+15551239898",
"countryCode": "US",
"createTime": "2022-01-01T00:00:00Z",
"updateTime": "2022-01-01T00:00:00Z"
}
]
}Changes
- info
endpoint added
- info