DiscordRep API V3
The official documentation of DiscordRep's API
To get a token, please join our discord, use the command-api gen
in #bot-commands
Reputation
GET
https://discordrep.com/api/v3/rep/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | User ID to look up |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API key |
Infractions
GET
https://discordrep.com/api/v3/infractions/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | User ID to lookup |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API key |
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
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
Authorization | string | API key |
Comment
POST
https://discordrep.com/api/v3/comment/:commenter_id/:commentee_id
THIS REQUIRES A SPECIAL TRUST TOKEN
Path Parameters
Name | Type | Description |
---|---|---|
commenter_id | string | User ID of user commenting |
commentee_id | string | User ID of user being commented |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
Request Body
Name | Type | Description |
---|---|---|
comment | string | The comment |
Bio
POST
https://discordrep.com/api/v3/bio/:id
THIS REQUIRES A SPECIAL TRUST TOKEN
Path Parameters
Name | Type | Description |
---|---|---|
id | string | User ID |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | API Key |
Request Body
Name | Type | Description |
---|---|---|
bio | string | The bio |
Last updated