NOTE Sudo Endpoints only mimic action, i.e report does not send a report
POSThttps://api.azrael.gg/v5/bans/report
SUDOhttps://api.azrael.gg/v5/bans/report/sudo
Report User
Report a user
Paramaters
Headers
AuthorizationstringYour authorization token
Content-TypestringContent-Type (application/json)
Responses
Body
idstringID of the user being reported
reasonstringThe reason for the report
urlstringThe image url for the proof
200Request was accepted.
{ 200, "Report submitted"
}
400Failed validation or was missing paramaters.
{ 400, "Error details"
}
401Authorization header was not recieved
{ 401, "Unauthorized"
}
403Authorization token is locked, invalid or not valid for this action.
{ 403, "Forbidden"
}
500An internal server error occured.
{ 500, "Internal Server Error"
}
GEThttps://api.azrael.gg/v5/bans/check/:id
Check Ban
Check if a user is banned (does not includes full ban information)
Paramaters
Path
idstringID of the user to check
Headers
AuthorizationstringYour authorization token
Responses
200Request was accepted.
{ 200, true
}
400Failed validation or was missing paramaters.
{ 400, "Error details"
}
401Authorization header was not recieved
{ 401, "Unauthorized"
}
403Authorization token is locked, invalid or not valid for this action.
{ 403, "Forbidden"
}
500An internal server error occured.
{ 500, "Internal Server Error"
}
GEThttps://api.azrael.gg/v5/bans/get/:id
Get Ban
Check if a user is banned (includes full ban information)
Paramaters
Path
idstringID of the user to check
Headers
AuthorizationstringYour authorization token
Responses
200Request was accepted.
# Banned User
{ 200, true,
{
    "641795527444529152",
    "Spamming in channels/DMs that do not allow spam",
    "https://cdn.azrael.gg/uploads/example.png",
    "Monday, June 28, 2021, at 7:15PM EST",
    "23957643",
    "None"
}
# Not Banned User
{ 200, false,
}
400Failed validation or was missing paramaters.
{ 400, "Error details"
}
401Authorization header was not recieved
{ 401, "Unauthorized"
}
403Authorization token is locked, invalid or not valid for this action.