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

# Authentication

The Petabencana API exposes some protected routes which will require authentication to access few API endpoints (see [Authenticated API](https://app.gitbook.com/s/-MPDZ_lSLJEcu9sJTiy--887967055/~/changes/FHZxzleBDEXMkDTZ4YeM/routes-1)). Authentication is via a [JSON Web Token](https://jwt.io/introduction/)

Note: For a new API key, please reach out to PetaBencana team
