Skip to main content
GET
/
contacts
/
{id}
/
unsubscribe-groups
Get Contact's Unsubscribe Groups
curl --request GET \
  --url https:/api.autosend.com/v1/contacts/{id}/unsubscribe-groups \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "groups": [
      {
        "groupId": "20XWO",
        "name": "Our blog"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Unique id of the contact

Response

200 - application/json

Unsubscribe groups retrieved successfully

success
boolean
Example:

true

data
object