---
title: "Get consent details"
method: GET
path: "/v1/consent/{consentToken}"
tags: ["Consent"]
---

# Get consent details

`GET /v1/consent/{consentToken}`

## Request

- Base URL: `https://idaas.yourflexpay.com/api`
- URL: `https://idaas.yourflexpay.com/api/v1/consent/{consentToken}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/docs/v1/consent/:consentToken/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns consent request details for a consent token so a user can review and decide to approve or deny.

## Path parameters

- `consentToken` string, required

## Response `200`

Consent details returned

- ApiResponseConsentResponse
  - `success` boolean
  - `message` string
  - `errorCode` string
  - `data` ConsentResponse
    - `consentToken` string
    - `tagString` string
    - `requestingAppName` string
    - `requestingSubjectDisplay` string
    - `ownerDisplay` string
    - `tokenExpiresAt` string, date-time
    - `expired` boolean
    - `claimState` string
  - `errors` string[]
  - `timestamp` string, date-time

## Other responses

- `404`: Consent token not found or expired

## Changes

- **2026-04-17** `db1f954badfb`: 2 info
  - added the non-success response with the status `404`
  - added the optional property `errorCode` to the response with the `200` status

[Operation history](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/changes/v1/consent/:consentToken/get.md)

---

[API](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api.md) - [All operations](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/revisions/db1f954badfb?raw)
