POST GET contacts/getGroups
Get groups for a single contact. ContactID or email is required.
* required
Parameters
Name | Type | Description |
---|---|---|
contactID | integer | Unique ID of a contact |
email-address | An email address of an existing contact |
Response Data
Name | Type | Description |
---|---|---|
groupID | integer | ID of group |
groupName | string | Name of group |
dateAdded | datetime | Date contact was added to group |
suppressed | boolean | Group-level suppression. Suppressed contacts will not receive any emails sent to the group. |
dateSuppressed | datetime | Date contact was suppressed in the group |
Example Calls
Get groups for a contact by ID
GET
/contacts/getGroups?contactID=123
cURL
Copy
Response Data
Get groups for a contact by email
GET
/contacts/getGroups?email=john.doe%40example.com
cURL
Copy
Response Data
API Console
The console uses production data, so BE CAREFUL!
GET
contacts/getGroups