Get a Consent
1 min
consents
Get a consent by its consentId
GET
https://api-sandbox.klavi.ai/data/v1/consents/{consentId}
Header Parameters
- AuthorizationstringrequiredDescription
Response
- consentIdstringDescription
- linkIdstringDescription
- externalTrackIdstringDescription
- personalTaxIdstringDescription
- businessTaxIdstringDescription
- institutionCodestringDescription
- statusstringDescription
- permissionsApplystringDescription
- permissionsGrantedstringDescription
- expireAtstringDescription
- createdAtstringDescription
- updatedAtstringDescription
curl
curl --location --globoff 'https://api-sandbox.klavi.ai/data/v1/consents/{consentId}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'200
{
"consentId": "ac246093-353b-4310-bd9c-c6ce0b278de8",
"linkId": "85a3af9f-e8ab-4be8-86dd-6138e9f2474c",
"externalTrackId": "113ee41e-1ecf-41b7-b6a9-c24d7f84bdfd",
"personalTaxId": "16109277672",
"businessTaxId": "",
"institutionCode": "001",
"status": "AUTHORISED",
"permissionsApply":
[
"ACCOUNTS_ALL",
"CREDIT_CARDS_ALL",
"CREDIT_OPERATIONS_ALL",
"REGISTRATION_ALL",
"INVESTMENTS_ALL"
],
"permissionsGranted":
[
"ACCOUNTS_ALL",
"CREDIT_CARDS_ALL",
"CREDIT_OPERATIONS_ALL",
"REGISTRATION_ALL",
"INVESTMENTS_ALL"
],
"expireAt": "2024-12-07T23:59:59.999Z",
"createdAt": "2023-12-08T09:19:19.253Z",
"updatedAt": "2023-12-08T11:29:50.253Z"
}