/advanced

Complete multiple requests in one!

This endpoint will require a POST request.

Endpoint Headers:

  • apikey - Your Api Auth Key [String] (Required)

  • bot-token - Token of the Bot [String] (Optional)

Endpoint Body Parameters

  • requests - All the requests to complete [Array of Objects] (Required)

Request Object

  • endpoint - Endpoint to request [String] (Required)

  • headers - Headers to send [Object] (Optional)

  • body - Body parameters to send [Object] (Optional)

  • method - Method to use in request [String] (Required)

You do not need to resupply the apikey or bot-token on every request. Only add those headers to the initial request (this endpoint) and it will automatically resupply to each subsequential request. The bot token is not required, this was added for convience if you are requesting multiple endpoints that do require a token.

Data API version required. Must replace <version> with either release or beta.

Bot Designer for Discord

Example usage of /advanced endpoint using BDFD

Discord.js

Example usage of /advanced endpoint using Discord.js

Possible Responses (Codes)

Code 200

API succeeded and details were fetched.

Code 400

An error occurred that stopped execution.

Last updated