Routes

SE · Wealth API · 2026-04-01

Get consents

GEThttps://api.anessa.co/consents

Returns all consents for the authenticated user within the client scope.

Request

Header Parameters

Api-Versionstringrequired

The API version to use, as YYYY-MM-DD. Must match the version of the endpoint you are targeting. A request without it, or with a version older than the client's minimum API version, is served by the client's minimum API version. The legacy Insurely-Version header is still accepted for versions before 2027-01-01; send only one of the two.

Possible Enum values are 2026-04-01.

Responses

Consents retrieved successfully.

Body

companystringrequired

Company identifier.

consentIdstringrequired

Unique identifier for the consent.

expiresAtstring[date-time]

Expiration timestamp for the consent.

scoperequired

Requested consent scopes.

One of these types:

Properties below are from the Psd2AisConsentScope subtype. View the full schema for full details.

PSD2 AIS consent scope with account access details

accountIdsArray<string>

Bank account identifiers this consent grants access to. When absent, the consent covers all accounts available at the bank.

balancesbooleanrequired

Whether this consent grants permission to read account balances.

transactionsbooleanrequired

Whether this consent grants permission to fetch account transactions.

typestringrequired

Scope type discriminator.

Possible Enum values are PSD2_AIS.
statusstringrequired

Current status of the consent.

Possible Enum values are INITIATED, AWAITING_AUTHORIZATION, AUTHORIZED, REVOKED, EXPIRED or FAILED.
cURL
curl https://api.anessa.co/consents \
  -H "Authorization: Bearer <jwt-token>" \
  -H "Api-Version: 2026-04-01"
RESPONSE 200
[
  {
    "company": "se-nordea-psd2",
    "consentId": "550e8400-e29b-41d4-a716-446655440000",
    "expiresAt": "2026-12-31T23:59:59Z",
    "scope": {
      "balances": true,
      "transactions": true,
      "type": "PSD2_AIS"
    },
    "status": "AUTHORIZED"
  }
]