GET /users/@me
Required scope:user.identify
Returns the user who authorized your application.
Response fields
Example response
Error responses
GET /users/@me/projects
Required scope:user.projects.read
Lists the projects owned by the user.
Response fields
Returns an array of project objects.Example response
POST /users/@me/projects
Required scope:user.projects.write
Creates a draft project for the user.
Name, icon, and missing descriptions are fetched from the platform. The project starts as a draft; the user completes the listing and submits it for review in their Top.gg dashboard.
Request body
The project type.
bot or server for Discord, game for Roblox, game_server for Minecraft.The headline shown on the project page, 3 to 140 characters. Defaults to the description found on the platform.
The page content in Markdown, 300 to 50,000 characters. Defaults to the description found on the platform.
Response
Returns201 Created with the same project object as the list endpoint, with review_status set to draft.