GET /community/:guildId/leaderboard
Returns the top members ranked by XP. Only members who have opted into a public profile are included. Authentication: None required.Path parameters
The Discord guild ID.
Query parameters
Page number. Default:
1. Minimum: 1.Members per page. Default:
25. Range: 1–100.Response fields
Ranked list of members.
Total number of members with public profiles.
Current page.
Example
GET /community/:guildId/showcases
Returns the community project showcase gallery sorted by upvotes or recency. Only projects from members with public profiles are included. Authentication: None required.Path parameters
The Discord guild ID.
Query parameters
Page number. Default:
1.Projects per page. Default:
12. Range: 1–50.Sort order. Options:
upvotes, recent. Default: upvotes.Response fields
List of showcase projects.
Total projects available.
Current page.
Example
GET /community/:guildId/stats
Returns aggregate community statistics including member count, total messages, active projects, challenges completed, and top contributors. Authentication: None required.Path parameters
The Discord guild ID.
Response fields
Number of members with public profiles.
All-time cumulative message count across all tracked guild members.
Number of public showcase projects from members with public profiles.
Total challenge completions in the guild.
Top 3 contributors by XP. Each item has
userId, username, displayName, avatar, xp, level, and badge.Example
GET /community/:guildId/profile/:userId
Returns a user’s public profile including stats, XP progression, activity badges, and project showcases. Returns404 if the user has not opted into a public profile.
Authentication: None required.
Path parameters
The Discord guild ID.
The Discord user ID.
Response fields
Discord username.
Guild display name.
Avatar URL.
Total XP earned.
Current level.
XP threshold for the current level.
XP threshold for the next level.
Level badge label.
ISO 8601 timestamp when the user joined the guild.
Activity stats with
messagesSent, reactionsGiven, reactionsReceived, and daysActive.Up to 10 most recent showcase projects from this user.
Activity milestone badges earned. Each item has
name and description.