Skip to content

Get consent

Request

Checks whether user consent was provided for a specific session and if so, provides the timestamp

Security
verify_access_token
Path
sidanyrequired

Session ID returned upon session creation or in the callback URL upon completing the verification

curl -i -X GET \
  'https://api.sbx.transmitsecurity.io/verify/api/v1/verification/{sid}/consent' \
  -H 'Authorization: Bearer <YOUR_jwt_HERE>'

Responses

Session created

Bodyapplication/json
consent_grantedbooleanrequired

An indication of whether a user has approved the consent or not

consent_datestring

The timestamp of the consent approval. Returned empty if consent was not granted

Response
{ "consent_granted": true, "consent_date": "string" }