# API Authentication

You must use an authentication token to interact with DT Fairbid APIs. To obtain an authentication token, send your verification key through the appropriate authentication endpoint.

* [DT FairBid Management API](https://docs.digitalturbine.com/dt-fairbid/advanced-configurations/dt-fairbid-management-api) - Allows publishers to create and maintain all settings required to monetize their apps with ads.
* [DT FairBid Reporting API](https://docs.digitalturbine.com/dt-fairbid/reporting/reporting-api/dt-fairbid-reporting-api) - Gives access to all the reporting data from the monetization ad units. You can query multiple metrics such as revenue and impressions and filter by the available dimensions.
* [DT FairBid User Level Reporting API](https://docs.digitalturbine.com/dt-fairbid/reporting/reporting-api/dt-fairbid-user-level-reporting-api) - Gives access to reporting data to measure all revenue generated from individual device users. Use this information to optimize retargeting campaigns and accurately measure user lifetime value (LTV).

## Obtaining Verification Keys

To obtain an authentication token, you must provide the appropriate verification key for each API.

**To locate your verification keys:**

1. Log in to the [DT Console](https://console.fyber.com/), and click your user name in the left-hand menu.
2. Click **User Profile**.

<div align="left" data-with-frame="true"><img src="https://content.gitbook.com/content/4IftQ9WUOy9feTA5sZeE/blobs/UAlJkWBYr9DET3nVmoMV/6514699209245" alt=""></div>

The page that opens shows three types of credentials:

<div align="left" data-with-frame="true"><figure><img src="https://digitalturbine-devportal.zendesk.com/guide-media/01GVJX3VZ3X70RZ98F7GB3SPVX" alt=""><figcaption></figcaption></figure></div>

3. Consult the table below to identify which key to use:

| DT FAIRBID API                                                                                                                                | NAME IN DT CONSOLE                   | VERIFICATION KEYS                                            |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | ------------------------------------------------------------ |
| [DT FairBid Management API](https://docs.digitalturbine.com/dt-fairbid/advanced-configurations/dt-fairbid-management-api)                     | Management API - Credentials         | <p>- Client ID<br>- Client secret</p>                        |
| [DT FairBid Reporting API](https://docs.digitalturbine.com/dt-fairbid/reporting/reporting-api/dt-fairbid-reporting-api)                       | Advanced Reporting API - Credentials | <p>- Client ID<br>- Client Secret</p>                        |
| [DT FairBid User Level Reporting API](https://docs.digitalturbine.com/dt-fairbid/reporting/reporting-api/dt-fairbid-user-level-reporting-api) | Basic Reporting API - Credentials    | <p>- Publisher ID<br>- Consumer Key<br>- Consumer Secret</p> |

## Generate New Keys

You should generate new verification keys on a regular basis. In order to generate new keys, you must first revoke the current keys.

**To generate new verification keys:**

1. Log in to the [DT Console](https://console.fyber.com/), and click your user name in the left-hand menu.
2. Click **User Profile**.
3. For the verification keys you want to re-generate, click **Revoke**.

<div align="left" data-with-frame="true"><img src="https://content.gitbook.com/content/4IftQ9WUOy9feTA5sZeE/blobs/KmEBaWgBtDsxfvPgFkfk/6516446715037" alt=""></div>

4. Click **Generate New Keys**.
