Skip to main content
POST
/
servers
/
{guildId}
/
auth
Create Authentication Token
curl --request POST \
  --url https://quark.bot/api/servers/{guildId}/auth \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "permissions": 123
}
'
{
  "token": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.quark.bot/llms.txt

Use this file to discover all available pages before exploring further.

guild ID
string
The ID of the guild.
permissions
integer
required
The permission group to grant to the token. 1 for “admin”, 2 for “basic”.
token
string
required
The Bearer token to use for authenticating requests to the Quark API.