This path will give you all Phonenumbers (DIDs) that are accessable based on the access rights of the Access Token or API Key used to make the requests. Super User or Reseller both supported, but for per domain lookups you should use /domains/{domain}/phonenumbers.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Responses
🟢200OK
application/json
Body
🟠404Record not found
🟠400Bad Request
🟠401Authentication Required
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://awqacore01.crexendocloud.com/ns-api/v2/phonenumbers/count' \
--header'Authorization: Bearer <token>'