Skip to main content
GET
/
contacts
/
{id}
/
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"
      }
    ]
  }
}
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

Authorizations
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 contactExample: "507f1f77bcf86cd799439011"

Response

Unsubscribe groups retrieved successfully
success
boolean
Indicates if the request was successfulExample: true
data
object