Make sure that when you make a request, the Content-Type
header is set to aplication/json
. Otherwise an error will be rejected
https://api.botsdatabase.com/
Here are the different versions of the API being available. If the version is not specified in the URL, the latest one will be automatically chosen.
Version | Base URL | Status |
1 | https://api.botsdatabase.com/v1 | avalaible |
Some requests will have to be made with the Authorization which is none other than your bot API token. This token is given to you on the main site in the bot parameters. If the request requires this Authorization and if it is not present you will receive an error code 401 Unauthorized.
Authorization: Bot's API token
​