Ranking a user

You can Hyra's Ranking API to programmatically rank users.

You can rank a user using the ranking API with ease. The rank API supports ranking any user within your group, and can only rank users which are below the bot account.

Methods

post
Rank User

https://ranking.hyra.io/rank
This route will rank a user to the provided roleset. You should send a JSON body (text/json)
Request
Response
Request
Body Parameters
token
required
string
The token taken from the Hyra Admin
rankNumber
required
integer
The rank ID of the role in which the user should be ranked to. Taken from group admin - must be unique.
targetId
required
integer
The ID of the user you are trying to rank
groupId
required
integer
The ID of the group where you are performing the rank
Response
200: OK
Success
{
"Success": true,
"Message": "Successfully changed rank of user"
}

Run in Postman