Tokens

List API tokens

Changed on

Returns a record of each API token for the server. The tokens themselves are never returned. Tokens are created on the dashboard.

Only tokens created under the selected bot are listed. Add ?bot=pro to see the ones created on the Quark Pro tab.

get/servers/{guild_id}/auth

Request

Path parameters

guild_idstring required
Example:301655085954367490

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

Query parameters

bot'pro'

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

Response

The token records.

idstring

The server ID.

unique_idstring

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

permissions1 | 2

1 is Admin, 2 is Basic.

creatorstring

The user ID of whoever created the token.

Example response

[
  {
    "id": "301655085954367490",
    "creator": "301655085954367490"
  }
]

Changes

    • breaking

      added the pattern ^\d{17,20}$ to the path request parameter guild_id

    • info

      api operation id listTokens was added

    • info

      api tag Tokens added

    • info

      api tag Auth removed

    • info

      added the new optional query request parameter bot

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      endpoint added