GetContact

GetContact

GetContact returns a contact's full or partial details from master_contact table with fieldnames and their values. contactKey of the corresponding contact must be passed as the mandatory input parameter to GetContact call.

If contactFields key with the master_contact columnName value pair(s) is not passed as an optional parameter, GetContact returns all the field/value pairs of that corresponding contact.

If contactFields key with the master_contact columnName value pair(s) is passed as an input parameter, GetContact returns the specific field/value pair of that corresponding contact.

Path Params
string
required

The unique identifier for the contact. Must be a valid contact_key value in the master_contact table.

Query Params
string

Optional query parameter. If provided, only the specified fields of the contact are returned in the response. Must be a comma-separated list of valid contact field names.

Headers
string
required
Defaults to {$$.env.access_token}
Responses

401

Unauthorized. The request lacks valid authentication credentials. Please provide a valid access token.

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json