key-skeletonAuthentication

You can authenticate with the developer API via an API key. You can generate an API key from the Discord bot or via this API.

In order to access your teams data, you'll need your team ID. This can be put into the X-TeamId header, which tells the API which team you intend to manage.

X-TeamId: 01KFZQQHCAT0A7ADGH7BD3K1Z8

You'll then need to put your API key into the Authorization header, ensuring you include the Bearer part as well.

Authorization: Bearer {api_key}

Super Token

If you are self-hosting Aufority, you'll notice a super token was generated in the app startup logs. The super token allows you to manage the entirety of the app, including the data of every team.

triangle-exclamation

Last updated