Contact Groups API - en
Using this API, you can view, add and delete groups for a selected contact.
Reading.
Allows you to view the list of groups for the selected contact.
GET https://api.smartsender.com/v1/contacts/{contactId}/groups
Main parameters:
Name | Description | Validation |
---|---|---|
page | Requested page | Minimum value 1 |
limitation | Amount of data to display per page | Minimum value 1, maximum 20 |
If the response is successful, you will receive the following:
{
"cursor": Cursor,
"collection": Group[]
}
Answer description:
Addition.
Allows you to add the selected contact to a group
POST https://api.smartsender.com/v1/contacts/{contactId}/groups/{serviceId}
If the response is successful, you will receive the following:
Delete.
Allows you to exclude a selected contact from a group
If the response is successful, you will receive the following: