Phone Numbers
Find a specific phone number
Changed onSearch for an Elastic SIP Trunk-enabled phone number by the e.164 number.
get/v1/projects/{projectId}/phoneNumbers/{phoneNumber}
Request
- Base URLhttps://elastic-trunking.api.sinch.com
- URLhttps://elastic-trunking.api.sinch.com/v1/projects/{projectId}/phoneNumbers/{phoneNumber}
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URL: https://auth.sinch.com/oauth2/token
Response
A successful response.
Example response
{
"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