Requires any of the roles: | SystemAdministrator, Manager, Customer |
GET | /endpoints/phone-numbers/search |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AccountId | query | string | No | The account you are searching for |
AreaCode | query | string | No | The area code |
CountryCode | query | string | No | The country code you are searching for |
PostalCode | query | string | No | The postal code you are searching for |
Distance | query | int? | No | The distance from the specified postal code (default is 100) |
IsFaxNumber | query | bool | No | Search for fax numbers |
Contains | query | string | No | Contains specific digits |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /endpoints/phone-numbers/search HTTP/1.1 Host: team.evovoice.io Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ { phoneNumber: String } ]