docs.discordrep.com
Open in
urlscan Pro
2606:4700:4400::6812:282f
Public Scan
URL:
https://docs.discordrep.com/
Submission Tags: phishingrod
Submission: On August 23 via api from DE — Scanned from DE
Submission Tags: phishingrod
Submission: On August 23 via api from DE — Scanned from DE
Form analysis
0 forms found in the DOMText Content
DiscordRep API More SearchCtrl + K * DiscordRep API V3 * API examples Powered by GitBook DISCORDREP API V3 The official documentation of DiscordRep's API To get a token, please join our discord, use the command-api genin #bot-commands REPUTATION GET https://discordrep.com/api/v3/rep/:id PATH PARAMETERS NameTypeDescription id string User ID to look up HEADERS NameTypeDescription Authorization string API key 200 401 429 Copy { "id": "538855659714641960", "upvotes": 23, "downvotes": 0, "xp": 19987, "rank": "Diamond", "staff": true, } Copy { "code": 401, "error": "unauthorized" } Copy { "code": 429, "error": "Too Many Requests" } INFRACTIONS GET https://discordrep.com/api/v3/infractions/:id PATH PARAMETERS NameTypeDescription id string User ID to lookup HEADERS NameTypeDescription Authorization string API key 200 user successfully fetched.401 Invalid API key429 Copy { "id": "user_id", "type": "WARN", // or "BAN" "reason": "Sending IP logger in DM", "moderator": "256974278283624451", "date": 1587074377175 } /* CLEAN example */ { "id": "user_id", "type": "CLEAN" } Copy { "code": 401, "error": "unauthorized" } Copy { "code": 429, "error": "Too Many Requests" } Everything below requires a trust token How do you get a trust token? Short answer. You simply don't get a trust token. This is only given to trusted users, such as staff or known developers. VOTE POST https://discordrep.com/api/v3/vote/:action/:voter_id/:voted_id THIS REQUIRES A SPECIAL TRUST TOKEN PATH PARAMETERS NameTypeDescription action string Only: "up" for upvote "down" for downvote voter_id string User ID of user voting voted_id string User ID of user being voted HEADERS NameTypeDescription Authorization string API key 200 vote registered 400 Invalid action parameter401 Invalid TRUST API key403 voter_id is banned and can't vote404 invalid voted_id409 vote with same action already exists429 ratelimit Copy {"code": 200, "message": "success"} Copy {"code": 400, "error": "Bad Request"} Copy {"code": 401,"error": "unauthorized"} Copy {"code": 403, "error": "the voter is banned, and cant vote"} Copy {"code": 404, "error": "user not found"} Copy {"code": 409, "error": "already downvoted"} {"code": 409, "error": "already upvoted"} {"code": 409, "error":"cannot vote for yourself" } Copy {"code": 429, "error":"Too Many Requests, slow down!" } COMMENT POST https://discordrep.com/api/v3/comment/:commenter_id/:commentee_id THIS REQUIRES A SPECIAL TRUST TOKEN PATH PARAMETERS NameTypeDescription commenter_id string User ID of user commenting commentee_id string User ID of user being commented HEADERS NameTypeDescription Authorization string API Key REQUEST BODY NameTypeDescription comment string The comment 200 400 if comment is too short or invalid401 Invalid TRUST API key403 the commenter is banned404 a user is not found409 cannot comment yourself429 ratelimit Copy {"code": 200, "message": "success"} Copy {"code": 400, "error": "comment too short"} Copy {"code": 401,"error": "unauthorized"} Copy {"code": 403, "error": "the commenter is banned, and cannot comment"} Copy {"code": 404, "error": "user not found"} Copy {"code":409, "error":"cannot comment for yourself" } Copy {"code": 429, "error":"Too Many Requests, slow down!" } BIO POST https://discordrep.com/api/v3/bio/:id THIS REQUIRES A SPECIAL TRUST TOKEN PATH PARAMETERS NameTypeDescription id string User ID HEADERS NameTypeDescription Authorization string API Key REQUEST BODY NameTypeDescription bio string The bio 200 400 Bio too short or invalid401 Invalid TRUST API key404 429 Copy {"code": 200,"message": "success"} Copy {"code": 400,"error": "bad request"} Copy {"code": 401,"error": "unauthorized"} Copy {"code": 404, "error": "user not logged in"} Copy {"code": 429, "error":"Too Many Requests, slow down!" } NextAPI examples Last updated 4 years ago On this page * Reputation * Infractions * Vote * Comment * Bio Was this helpful?