The consent ID to fetch the consent details for. This should be a uuid.
API Reference//
- Retrieve list of consents.
Overview
Authorization
Retrieve list of consents.
Retrieve a consent by consent ID.
Retrieve list of consents...
Atto Developer Documentation (all)
Download OpenAPI description
Overview
URL
API Support
License
Languages
Servers
UK Environment (Production)
https://uk.api.atto.co/
US Environment (Production)
https://us.api.atto.co/
- UK Environment (Production)
https://uk.api.atto.co/consents/v1/{consentId}
- US Environment (Production)
https://us.api.atto.co/consents/v1/{consentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://uk.api.atto.co/consents/v1/{consentId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response
application/json
{ "consentId": "e521cf62-a45f-49c5-8372-94853fffeb55", "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "providerId": 0, "providerName": "string", "configurationName": "string", "customerReference": "string", "consentDurationType": "Single", "consentStatus": "Pending", "consentStart": "2019-08-24T14:15:22Z", "consentEnd": "2019-08-24T14:15:22Z", "duration": "string", "daysOfHistoricalTransactions": 0, "statusUpdated": "2019-08-24T14:15:22Z", "statusDetails": "string", "permissions": [ "string" ], "invitationId": "string", "journeyType": "Reauthentication" }
- UK Environment (Production)
https://uk.api.atto.co/consents/v1
- US Environment (Production)
https://us.api.atto.co/consents/v1
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://uk.api.atto.co/consents/v1?consentStatus=string&configurationName=string&providerId=0&customerReference=string&userId=string&from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z&offset=0&limit=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Returns the list of consents.
Type of the consent based on duration.
Enum"Single""Limited""Infinite"
Enum"Pending""Active""Revoked""Abandoned""Failed""Expired"
Number of days of transactions that can be requested from the bank.
Used to indicate the type of journey that was performed If null it means the default(initial) journey was performed.
Enum"Reauthentication""Reconfirmation"
Response
application/json
[ { "consentId": "e521cf62-a45f-49c5-8372-94853fffeb55", "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5", "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "providerId": 0, "providerName": "string", "configurationName": "string", "customerReference": "string", "consentDurationType": "Single", "consentStatus": "Pending", "consentStart": "2019-08-24T14:15:22Z", "consentEnd": "2019-08-24T14:15:22Z", "duration": "string", "daysOfHistoricalTransactions": 0, "statusUpdated": "2019-08-24T14:15:22Z", "statusDetails": "string", "permissions": [ … ], "invitationId": "string", "journeyType": "Reauthentication" } ]