1. Home
  2. Docs
  3. Data Subscriber API Documentation
  4. Endpoints Reference
  5. GET /consents/:personId

GET /consents/:personId

List all consents for a Person.

Headers

Name Value
Authorization Bearer {JWT}

URL parameters

Name Value
personId integer.

Response

The response is an array of JSON objects. Each such object contains the elements below.

Name Value
id integer
person_id integer
text string
created_at date and time UTC, format YYYYMMDDhhmmss
use_case string

Response status

Code Value
200 OK
401 Not authorized

How can we help?