API Reference//
- Retrieve list of consents.
Overview
Authorization
Retrieve list of consents.
Retrieve a consent by consent ID.
Retrieve list of consents...
Security
Bearer(Required scopes: api:consent)
- UK Environment (Production)https://uk.api.atto.co/consents/v1
- US Environment (Production)https://us.api.atto.co/consents/v1
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.
Array []
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.
Response
[ { "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" } ]