SuperdindaDocs
Consents

Minha proteção (public)

GET
/consent-requests/{token}/protection

Who receives the alerts (name and tie, never an e-mail), what they receive, what nobody sees, since when, and what happens to the selfie and the voice. token is either the consent link token or the stop link token (protectionLink, returned when consent is given). Either works while its consent is the seat's current one. Limits: reading RATE_CONSENT_READ_PER_LINK / _PER_IP (default 120 and 600 per 10 min), stopping RATE_CONSENT_WRITE_PER_LINK / _PER_IP (default 10 and 30 per hour) — shared with decline.

Path Parameters

token*string

the opaque token from the link

Length16 <= length <= 4096

Response Body

What is active

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X GET 'http://localhost:3000/consent-requests/stringstringstri/protection'
Example Response
{  "success": true,  "data": {    "status": "not_started",    "since": "2019-08-24T14:15:22Z",    "stoppedAt": "2019-08-24T14:15:22Z",    "pausedUntil": "2019-08-24T14:15:22Z",    "connected": true,    "person": {      "firstName": "string"    },    "kind": "minor",    "relationship": "child",    "recipients": [      {        "name": "string",        "role": "owner",        "relationship": "partner"      }    ],    "receives": [      "string"    ],    "nobodySees": [      "string"    ],    "evidence": {      "kept": true,      "retentionDays": 0,      "deleteAfter": "2019-08-24T14:15:22Z"    },    "canStop": true  }}