Zubarus API Docs
Member

Fetch a member's consents

GET
/members/{memberNumber}/consents
AuthorizationBearer <token>

In: header

Path Parameters

memberNumberinteger

Response Body

curl -X GET "https://api-test.zubarus.com/v3/members/0/consents"
[
  {
    "id": 123,
    "name": "Newsletter",
    "channel": "Email",
    "description": "I would like to receive newsletters with information from the organization.",
    "consent_given": true
  },
  {
    "id": 234,
    "name": "Events and activities",
    "channel": "SMS",
    "description": "I would like to receive information about events and activities.",
    "consent_given": false
  }
]

{
  "error": {
    "status": 401,
    "title": "Unauthorized",
    "message": "Invalid access token."
  }
}

{
  "error": {
    "status": 404,
    "title": "Not Found",
    "message": "Member not found."
  }
}