PUT
/
bots
curl --request PUT \
  --url https://api.vaultcord.com/bots \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "google play",
  "clientSecret": "JFcVvRVdnZb2QRa6DpY3LPwPMTpDi5X6",
  "token": "MTIxODI3MzA5MzI5ODk0NjA0OA.nt02aR.e7Uyh_D3GggylpuFFwbt2E5NR4c-lUoqFrM9fK"
}'
{
  "success": true,
  "message": "Successfully created bot!",
  "botId": 12481
}

Authorizations

Authorization
string
header
required

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

Body

application/json

bot JSON to be created

The body is of type object.

Response

200
application/json

SUCCESS_MESSAGE

The response is of type object.