API Documentation

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 object contains the following elements:

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