Users

get
User

https://discords.com/bots/api/user/:id
Request
Response
Request
Path Parameters
id
required
integer
The ID of the user you are requesting information about.
Response
200: OK
The server has located the users information and displayed it.
The content of this response varies.
404: Not Found
The user you are requesting does not exist on the website.
{ message: 'User not found.' }

get
Bots

https://discords.com/bots/api/user/:id/bots
Request
Response
Request
Path Parameters
id
required
integer
The ID of the user you are requesting information about.
Response
200: OK
The server has located information about the user's bots and displayed it.
The content of this response varies.
404: Not Found
You may receive of the following 404 errors depending on your situation.
//The user you are requesting does not exist on the website:
{ message: 'User not found.' }
‚Äč
//The user you are requesting does not own any bots on the website:
{ bots: 'User has no bots.' }