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

# Authorization

> How to pass your token in requests to the Megaseo API.

The Megaseo API does not use the `Authorization` header. Pass your token in the `access_token` field of the JSON request body.

## Get your token

Copy your token from the API page in your Megaseo account.

## Pass the token

Add your token to the `access_token` field in the body of every tasks and reports request:

```bash theme={null}
curl -X POST https://api-v2.megaseo.net/web/tasks/get \
  -H "Content-Type: application/json" \
  -d '{"access_token": "<ACCESS_TOKEN>"}'
```

> [!TIP]
>
> In the API playground, fill in `access_token` in the **Body** section of each request.

> [!WARNING]
>
> Keep your token secret. Never expose it in client-side code or repositories.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.