Role Members
Allows you to retrieve all the user IDs that have a specific role within your Discord server.
Information
URL:
https://api.erensko.xyz/v1/role-members
Method:
GET
Description: Returns all users in your Discord server who have a specific role.
URL Parameters
Key
Value
role-id
The ID of the role you would like to get members of.
server-id
The ID of the server where the role exists.
Headers
Key
Value
Authorization
Your own personal API key, create one by clicking here.
bot-token
The token of your Discord bot, must be inside the server you're requesting.
Request Example
Response Example
Last updated