Long Code Numbers
Overview
API Access
List Long Code Numbers
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The ID for the workspace.
d386a801-ee8d-4aba-a7e4-78671bd3b11eLimits the number of results to return per page. The default value is 10 and maximum is 99. If the nextPageToken is defined on response, you can use it to get remaining numbers. To know more, refer to the pagination section.
10Pagination token that keeps of track of the current position in the list. Use it to query remaining results. If not provided, the first page is returned. To learn more about the pagination, please refer to the pagination section on API Access Common API Usage section.
Order in which to retrieve the results. By default, the orders are in ascending order date. To get the results in descending order, set this parameter to true.
falseUsed to filter numbers by their leading digits. The "+" prefix is optional, but the country code is required.
+1212A 2-digit ISO 3166-1 country code array.
["US","NL"]f6606a78-e48e-4026-b5e8-4fb9c3ed3bbbOK
The token that can be passed as pageToken in URL to retrieve the next set of results. If missing, no more results to display. To know more, refer to the pagination section.
OK
Get a Long Code Number
Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')
The ID for the workspace.
d386a801-ee8d-4aba-a7e4-78671bd3b11eYour long code number/endpoint ID.
3d7eb12b-9101-450d-923b-5ffcd9e989a9OK
The unique identifier of the long code number. The endpoint ID is the same.
41e3cf43-4386-464a-a1ee-e6ef6fd6883dThe unique identifier of the endpoint. The long conde ID is the same.
41e3cf43-4386-464a-a1ee-e6ef6fd6883dThe phone number in E.164 format.
+14155552671The country code in ISO 3166-1 alpha-2 format.
USThe type of long code number.
The date and time when the long code number should be deprovisioned.
Long Code Number not found
Last updated
Was this helpful?

