> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Customer Consent Management Dashboard API

> Integrate the consumer consent management dashboard into your UX.

Data Access provides an API to support building your own Consent Management dashboard UI. Use this API to manage so that your consumers can manage which third parties have access to their data from your mobile app or online site. This allows you to completely customize the end-user's experience.

To integrate a dashboard using this API:

1. Generate a token using your client id and secret in the Data Provider Portal.
2. Using the token, get a list of the consumer's consents. Each returned consent object contains ids.
3. Update consents as needed using the ids.

## Quick Links

<CardGroup cols={2}>
  <Card title="Data Provider Portal" href="/products/data/data-access/data-provider-reference/data-provider-portal/configuration">
    Generate credentials. More about the Portal.
  </Card>

  <Card title="Implementation Reference" href="/products/data/data-access/data-provider-reference/">
    Learn more about data provider implementation.
  </Card>
</CardGroup>

## Consent Sample Data

This sample response shows the response you can expect to get for a consent object.

```json theme={null}
[
    {
        "id": "_sadfa3CKHJ23LKJHKJHLlNaODPmH1LqSb4",
        "application_name": "Centz",
        "application_icon_url": null,
        "created_at": "2024-06-14T19:48:18.354Z",
        "last_accessed": "2024-05-14T19:48:31.352Z",
        "accounts": [
            {
                "enabled": true,
                "nickname": "Lacrosse Fund",
                "account_id": "1234123412341234",
                "account_number_display": "XXXXXXXX1111"
            },
            {
                "enabled": false,
                "nickname": "Gymnastics Money",
                "account_id": "234123412341234",
                "account_number_display": "XXXXXXXX2222"
            }
        ],
        "auto_enable_future_accounts": true,
        "consented_on": "2024-05-14T19:48:18.352Z",
        "revoked_at": null
    }
]
```
