National DNC:
Endpoint:
https://api.smartcarrier.io/v2/dnc?
Method:
GET
Parameters:
TelephoneNumber: Any correctly formatted telephone number.
Example: 3155564800, 13155564800, +13155564800
Headers:
x-api-key: Your API key.
Sample Request: https://api.smartcarrier.io/v2/dnc?TelephoneNumber=3155564800
Response:
What do the response values mean?
RequestGuid: a unique identifier assigned to this request.
AccountGuid: the account's unique identifier.
Phone Number: The telephone number requested.
NationalDNC: true if found, false if not found.
RequestedAt: The time, in UTC, of when the request was received.
CompletedAt: The time, in UTC, of when the request was completed.
ReturnCode:
200: Successful
404: ReturnStatus will contain the reason.
503: ReturnStatus will contain the reason.