2021-03-18 21:02:04 +00:00
|
|
|
---
|
|
|
|
title: API
|
|
|
|
---
|
|
|
|
|
|
|
|
Starting with 2021.3.5, every authentik instance has a built-in API browser, which can be accessed at https://authentik.company/api/v2beta/.
|
|
|
|
|
|
|
|
To generate an API client, you can use the Swagger schema at https://authentik.company/api/v2beta/swagger.json.
|
|
|
|
|
2021-04-18 16:25:03 +01:00
|
|
|
While testing, the API requests are authenticated by your browser session.
|
2021-03-18 21:02:04 +00:00
|
|
|
|
2021-04-18 16:25:03 +01:00
|
|
|
To send an API request from outside the browser, you need to set the `Authorization` Header to `Bearer <your token>`.
|