SuperdindaDocs
Consents

Consent request (public)

GET
/consent-requests/{token}

What the dependent sees: who is asking, what will be accessed, the statement to read. Records that the link was opened. Limits: RATE_CONSENT_READ_PER_LINK / _PER_IP (default 120 and 600 per 10 min), shared with Minha proteção.

Path Parameters

token*string

the opaque token from the link

Length16 <= length <= 4096

Response Body

The request

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X GET 'http://localhost:3000/consent-requests/stringstringstri'
Example Response
{  "success": true,  "data": {    "status": "pending",    "guardianName": "string",    "familyName": "string",    "kind": "minor",    "relationship": "child",    "dependent": {      "name": "string",      "documentMasked": "string"    },    "phrase": "string",    "phraseVersion": "string",    "termsVersion": "string",    "scope": [      "string"    ],    "expiresAt": "2019-08-24T14:15:22Z",    "protection": {      "status": "not_started",      "pausedUntil": "2019-08-24T14:15:22Z"    },    "privacy": {      "evidenceRetentionDays": 0,      "verifier": "provider",      "providerName": "string"    }  }}