website/docs: add docs for websocket connections

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-08-29 19:49:18 +02:00
parent 523b96a6d2
commit 87920fb1d7
7 changed files with 62 additions and 16 deletions

View File

@ -0,0 +1,11 @@
---
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 OpenAPI v3 schema at https://authentik.company/api/v2beta/schema/.
While testing, the API requests are authenticated by your browser session.
To send an API request from outside the browser, you need to set the `Authorization` Header to `Bearer <your token>`.