Associate a Contact

Use associate to link a contact to a list in Engage.

 
Endpoint and Methods
  • POST /_rest/v2/lists/:id/associate
 
Parameters

Body

{

“selectedContacts”: “5e31ca72489fe77fb5ed8e5d”

}

Response code 200 returns no content if the contact(s) are successfully associated to the list.

Response code 401 returns an error that the authorization token is invalid.

{
"message": "string",
"status": 401
}

Response code 422 returns a message that the contact id is invalid inside “selectedContacts”.

Response code 500 returns an error when an unknown internal error occurs.

{
  "message": "Something went wrong when trying to run the campaign",
  "status": 500
}