> For the complete documentation index, see [llms.txt](https://docs.castmagic.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.castmagic.io/authentication.md).

# Authentication

Generate a new API secret in your [Castmagic developer dashboard](https://app.castmagic.io/developer). If you don't have a developer dashboard, reach out to <justin@castmagic.io> for access.

Once you have an API secret, include it with an Authorization header in each request:

```
Authorization: Bearer API_SECRET
```

Keep your API secret safe! You can generate as many as you would like, however we're unable to reveal your secret again once it has been generated.
