cURL
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>" }
The ID of the guild.
The permission group to grant to the token. 1 for “admin”, 2 for “basic”.
The Bearer token to use for authenticating requests to the Quark API.
Bearer
Was this page helpful?