/set

Modify the current Application/User (Previously /setbot)

circle-info

This endpoint will require a POST request.

triangle-exclamation
circle-info

This endpoint supports the Exclude header

Endpoint Headers:

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

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

Endpoint Body Parameters

Responds with various HTTP status codes to indicate success or failure of the request:

  • 200 OK: The request was successful, and the changes have been applied.

  • 400 Bad Request: The request could not be understood or was missing required parameters.

  • 401 Unauthorized: Authentication failed or user does not have permissions.

  • 404 Not Found: The requested resource could not be found.

  • 500 Internal Server Error: An error occurred on the server.

Ensure to handle these responses appropriately in your application to manage errors and confirmations.

Examples:

circle-info

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

chevron-rightBot Designer for Discordhashtag

Example usage of /client/set endpoint using BDFD

chevron-rightDiscord.jshashtag

Example usage of /client/set endpoint using Discord.js

Possible Responses (Codes)

chevron-rightCode 200hashtag

API succeeded and details were fetched.

chevron-rightCode 400hashtag

An error occurred that stopped execution.

chevron-rightCode 404hashtag

Invalid bot token was provided.{

Last updated