ONIOKODeveloper
Consent

List a subject's consent records by cursor.

In preparationNot released yet

This operation exists in the platform layer and is verified in CI, but it is not live for partners. The contract can still change before release. Do not build against it yet.

GET
/v1/subjects/{subject_id}/consents

Authorization

HTTPBearer
headerAuthorizationBearer <token>

Path Parameters

subject_id*Subject Id
Formatuuid

Query Parameters

limit?Limit
Range1 <= value <= 100
Default50
cursor?|null

Response Body

Successful response

application/json
  1. response
consents*array<>
next_cursor*|null
Example Request
curl -X GET 'https://example.com/v1/subjects/497f6eca-6276-4993-bfeb-53cbbbba6f08/consents'
Example Response
{  "consents": [    {      "consent_id": "b6c6f30d-b96b-4de6-8a03-238cde9dddba",      "purpose": "string",      "consent_version": "string",      "granted_at": "string",      "revoked_at": "string"    }  ],  "next_cursor": "a7ec8888-a9c3-4732-a281-9a08510f220b"}