Tokens

The means of authentication to DEL's secured API endpoints.

Tokens are automatically generated for every bot that is approved on DEL. Your bots token can be obtained under the owner tools of your bot or by running the token command on the DEL server.

Make sure to keep your token a secret! Anyone who possess your token can make requests to our API as your bot (modifiying your server account to incorrect numbers to negatively effect your bot, etc.)

  • All requests use JSON

  • Please send all POST requests with Content-Type: application/json with valid JSON content in the body.

  • When a token is required, please add your token to your HTTP Authorization header, otherwise you will receive an HTTP unauthorized error, please note if the token is invalid it will return as forbidden.

  • Example: Authorization: DELAPI_128dh1291