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

# API Authentication

> A guide on how to get started and authenticate with the AdsEra REST API.

Welcome to the [AdsEra](https://adsera.in) REST API! This guide will walk you through the authentication process required to make requests to our API. Follow these simple steps to generate your credentials and start building.

<Card title="Generate API Credentials" icon="rocket" href="https://app.adsera.in/dashboard/user/account?tab=API%20Key" cta="Generate Now">
  Once logged in, navigate to the API settings section of your AdsEra panel to create your unique `App Id` and `App Secret`.
</Card>

### Authentication

All API endpoints are authenticated using a unique `App Id` and `App Secret` pair. These credentials must be included as custom headers in **every** API request you send.

<Note>
  Your `App Id` and `App Secret` can be generated from the [**API Settings**](https://app.adsera.in/dashboard/user/account?tab=API%20Key) section of your AdsEra panel. Keep them secure and do not share them publicly.
</Note>

Here is the required format for the request headers:

```http theme={null}
# Required Headers for Every API Call

x-api-key: YOUR_APP_ID
x-api-secret: YOUR_APP_SECRET
```
