> For the complete documentation index, see [llms.txt](https://docs.paytweed.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.paytweed.com/developer-tools/api/api-v2/authorization.md).

# Authorization

### Step 1: Generate a User Access Token

1. Navigate to the [User Access Token page](https://dashboard.paytweed.com/api-keys) in the Management Dashboard.
2. Click on **Create user access token**.

<figure><img src="/files/T3efN7GeezUliL422LUR" alt="" width="375"><figcaption></figcaption></figure>

3. The generated token will include:

* **API Key**: Your unique identifier.
* **API Secret**: Your secret key for secure access.

### Step 2: Use the Authorization Header

When making requests to the API, you must include the authorization header in the following format:

```
Authorization: Bearer <API_KEY>:<API_SECRET>
```

#### Example Request

```
GET /api/v1/resource
Authorization: Bearer abcd1234:efgh5678
```

#### Important Notes

* Keep your **API Secret** confidential and do not share it.
* The token grants access to your account and data, so store it securely.
* If your token is compromised, revoke it immediately from the User Access Token page and generate a new one.
