Retrieve Contact Details
Use this endpoint to get details on a particular contact in Engage.
Endpoint and Methods
GET /_rest/v2/contacts
Sample Request
GET /_rest/v2/contacts?id=5d64162a38994c2dcf879846
Sample Responses
Code 200 Response
Response code 200 returns a contact.
Copy
{
“phone”: “1231231234”,
“metadata”: {
“firstname”: “Abby”,
“lastname”: “Normal”,
“email”: “Abbynormal@mail.com”,
“Phone”: “1231231234”
},
“deleteFlag”: false,
“createdDate”: “2019-08-26T17:26:02,755Z”,
“createdBy”: “Wknows”,
“customerID”: “9999999”,
“modifiedDate”: “2019-08-26T17:26:02,755Z”,
“modifiedBy”: “Wknows”
}
Code 401 Response
Response code 401 returns an error that the authorization token is invalid.
Code 404 Response
Response code 404 returns a message that the contact Id is incorrect and the contact is not found.
Code 500 Response
Response code 500 returns an error when trying to retrieve contact details.