POST
/
servers
/
{guildId}
/
auth
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>"
}
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.