curl --request GET \ --url "https://api.trestleiq.com/3.1/cnam?phone=2069735100&phone.country_hint=US" \ --header "x-api-key: YOUR_API_KEY" \ --header "Accept: application/json"
{ "id": "Phone.3dbb6fef-a2df-4b08-cfe3-bc7128b6f5b4", "is_valid": true, "belongs_to": { "id": "Person.fffdcf06-0929-4b5a-9921-ee49b101ca84", "name": "Waidong L Syrws", "firstname": "Waidong", "middlename": "L", "lastname": "Syrws" }, "error": { "name": "InternalError", "message": "Could not retrieve entire response" }, "warnings": [ "Missing Input" ] }
Smart CNAM API validates phone numbers and identifies the name or business to which the phone number belongs.
GET https://api.trestleiq.com/3.1/cnam?api_key=[insert_key]&phone=[insert_phone_number]
phone=2069735100
phone.country_hint=US
{{ apiKey }}
Show belongs_to object
Show error object