Skip to main content
GET
List API tokens

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

guild_id
string
required

The server's ID. Must be the server the token was created for.

Pattern: ^\d{17,20}$
Example:

"301655085954367490"

Query Parameters

bot
enum<string>

Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.

Available options:
pro

Response

The token records.

id
string

The server ID.

Pattern: ^\d{17,20}$
Example:

"301655085954367490"

unique_id
string

The token's ID. Use it to revoke the token. This is not the token itself.

permissions
enum<integer>

1 is Admin, 2 is Basic.

Available options:
1,
2
creator
string

The user ID of whoever created the token.

Pattern: ^\d{17,20}$
Example:

"301655085954367490"