Contacts
Get a contact
Permission
contacts:readAuthenticationGET
Returns the canonical contact, hydrated tags, current call count, and mutable notes. The ETag changes when contact fields or tag representations change.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidContact detail.
application/json- response
id*stringFormat
uuide164*ContactE164An E.164 number with a non-zero country code and 7 to 15 digits, or a bare internal number/extension of 1 to 20 [0-9*#] characters (e.g. 103, 2770124).
Match
^(\+[1-9][0-9]{7,14}|[0-9*#]{1,20})$display_name?stringLength
length <= 120company?stringLength
length <= 120timezone?stringCanonical IANA timezone name used for contact-local outbound policy evaluation.
tags*array<>call_count*integerRange
0 <= valuelast_contacted_at?stringFormat
date-timecreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timenotes?stringLength
length <= 10000curl -X GET 'https://api.kejue.co/v1/contacts/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "e164": "string", "display_name": "string", "company": "string", "timezone": "string", "tags": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "color": "slate" } ], "call_count": 0, "last_contacted_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "notes": "string"}