---
title: Consent Request Status
slug: api-marketplace/consent-request-status
description: Learn about Account Aggregator, a decentralized data sharing system for regulated entities to share user data. This document covers retrieving transactional data and future additions, along with API guidelines for requesting user consent through SMS. Expl
createdAt: 2022-10-14T04:13:59.000Z
---

## Introduction

The Check Status API is a crucial component of the Account Aggregator ecosystem. It allows financial institutions to verify the status of data requests and user consents in real-time. This API helps determine whether a user has granted consent for data sharing and provides the current state of the request, such as whether it has succeeded, failed, or is still pending.

## API Input Guidelines

Need to pass on the following information:

- A valid requestId generated via create consent request API or the FI request API
- A valid consent Handle Id in case of multi consent journey to check the status of a single consnent out of the multiple consents



::::Tabs
:::Tab{title="Preproduction"}
```curl
curl --request POST \
  --url https://api-preproduction.signzy.app/api/v3/account-aggregator-switch/check-status \
  --header 'Authorization: <token>' \
  --header 'Content-Type: application/json' \
  --data '{
	   "requestId" : "<UUID generated by Signzy>"
	 
}'
```
:::

:::Tab{title="Production"}
```curl
curl --request POST \
  --url https://api.signzy.app/api/v3/account-aggregator-switch/check-status \
  --header 'Authorization: <token>' \
  --header 'Content-Type: application/json' \
  --data '{
	   "requestId" : "<UUID generated by Signzy>"
	 
}'
```
:::
::::

### Input Parameters

| **PARAMETER NAME** | **REQUIRED**/**OPTIONAL** | **DESCRIPTION**                                                                | **TYPE** |
| ------------------ | ------------------------- | ------------------------------------------------------------------------------ | -------- |
| requestId          | Required                  | RequestId generated after calling create consent request API or FI request API | String   |

### Sample Response

:::CodeblockTabs
Single Consent and Consent Handle of Multi consnet Jouney

```json
{
    "result": {
      "requestId": "bf75efbb-5604-42d8-8163-f29ca0f5c6",
      "status": {
        "flowStatus": "SUCCESS",
        "consentStatus": "ACTIVE",
        "dataFetchStatus": "SUCCESS"
        }
    }
}
```

Multi consnent Flow RequestId

```none
{
    "result": {
        "requestId": "70437a44-311d-4f6a-bfd4-820228b53ad1",
        "status": {
            "id1": {
                "flowStatus": "SUCCESS",
                "consentHandle": "69c1b333-e482-43e2-8446-5e7b9e9d715f",
                "consentStatus": "ACTIVE",
                "dataPushStatus": "SUCCESS",
                "dataFetchStatus": "SUCCESS"
            },
            "id2": {
                "flowStatus": "SUCCESS",
                "consentHandle": "fdca9f59-98db-42ea-9767-0cfd18619ae9",
                "consentStatus": "ACTIVE",
                "dataPushStatus": "NOT_APPLICABLE",
                "dataFetchStatus": "NOT_APPLICABLE",
            },
            "requestId": "70437a44-311d-4f6a-bfd4-820228b53ad1"
        }
    }
}
```
:::

### Response Parameter

| **PARAMETER NAME**           | **DESCRIPTION**                                                                                                                                                                                                                                                                                                                                                                                                                         | **TYPE** |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| result                       | Result object which contains the response body                                                                                                                                                                                                                                                                                                                                                                                          |          |
| result.requestId             | This holds final result parameters of the response.                                                                                                                                                                                                                                                                                                                                                                                     |          |
| result.status                | Status object which has the details about different status                                                                                                                                                                                                                                                                                                                                                                              |          |
| result.status.flowStatus     | Flow status of the request, possible values can be:<br />- SUCCESS: Request is completed successfully<br />- FAILED: Request is failed<br />- WAITING: Request is waiting for User consent<br />- RUNNING: Request is in process                                                                                                                                                                                                        |          |
| result.status.consentStatus  | Status of the consent request, possible values are:<br />• ACTIVE: Consent is active<br />• REJECTED: Consent is rejected<br />• PENDING: User has not acted on consent request<br />• EXPIRED: Consent is expired<br />• REVOKED: Consent is revoked by User. User can revoke a previously<br />approved consent from AA App.<br />• PAUSED: Consent is paused by User. User can pause a previously<br />approved consent from AA App. |          |
| result.status.datFetchStatus | Status of the data fetch request, possible values can be:<br />• SUCCESS: Data fetch is successful<br />• FAILED: Data fetch is failed<br />• PENDING: Finarkein is waiting for data from AA<br />• RUNNING: Data fetch is in process                                                                                                                                                                                                   |          |

## Error Codes

| Error Code | Description                                                                                    |
| ---------- | ---------------------------------------------------------------------------------------------- |
| 400        | Bad Request: In case the request is not as per required schema or any other case               |
| 401        | Unauthorized: Authentication failed or user does not have permissions for requested operation. |
| 409        | Upstream Error/Conflict: Something wrong on AA's side.                                         |
| 500        | Internal Server Error: An error occurred on the server.                                        |

##

:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

