GET | /byon/phonebook/v1/numbers |
---|
Attributes | Description |
---|---|
requestId optional (query) | A filter on the list based on the requestId (string) field. |
contactId optional (query) | A filter on the list based on the contactId (string) field. |
page optional (query) | A filter on the list based on the page (integer) field. |
size optional (query) | A filter on the list based on the size (integer) field. |
curl -X GET "https://api.tyntec.com/byon/phonebook/v1/numbers" -H "accept: application/json" -H "apiKey: ds9SomeApiKeyl337"
curl -X GET "https://api.tyntec.com/byon/phonebook/v1/numbers?contactId=26c99e4d97b44c9aa50bf7fb29801ebe&page=1&size=1" -H "accept: application/json" -H "apiKey: ds9SomeApiKeyl337"
[ { "size": 0, "page": 0, "phoneNumbers": [ { "accountId": "string", "phoneNumber": "string", "requestId": "string", "contactId": "string", "requestId": "string", "loaReady": "string" } ] } ]
{ "size": 2, "page": 2, "phoneNumbers": [ { "accountId": "CPaasAccountName", "phoneNumber": "+4923456553345", "requestId": "87d677f524a14cc3bfabe6ea97015643", "contactId": "26c99e4d97b44c9aa50bf7fb29801ebe", "country": "DE", "loaReady": false }, { "accountId": "henry", "phoneNumber": "+4923142144", "requestId": "2cfa638e3d9c4da399c4fa70a3698717", "contactId": "26c99e4d97b44c9aa50bf7fb29801ebe", "country": "DE", "loaReady": true } ] }
{ "code": "string", "message": "string", "timestamp": 0}