Blaze
Search
K

Member Activity

GraphQL Endpoint to fetch members' activity in your Discord Server
Run in Postman

GraphQL Query

query MembersActivity($page: Int!, $pageSize: Int!, $startDate: String, $endDate: String, $guildId: String) {
membersActivity(page: $page, pageSize: $pageSize, startDate: $startDate, endDate: $endDate, guildId: $guildId) {
totalMembers
membersList {
id
name
discriminator
lastActiveDate
numMessages
numMessagesLast90Days
numMessagesLast60Days
numMessagesLast30Days
}
}
}

Variables

{
"pageSize": Int, // Number of members entries in a fetch. Upper limit = 100
"page": Int, // Page number
"startDate": String, // YYYY-MM-DD format
"endDate": String, // YYYY-MM-DD format
"guildId": String // Guild id of the discord server
}

Response

{
"totalMembers": Int, // Total Number of Members
"membersList": Array<{
"id": Int, // Discord ID of the Member
"name": String, // Discord Name of the Member
"discriminator": String, // Discord Discriminator of the Member
"lastActiveDate": String, // Timestamp of Last Message by the Member
"numMessages": Int, // Number of Messages by the Member from All Time
// All three values below will be null if startDate and endDate are provided
"numMessagesLast90Days": Int, // Number of Messages by the Member in last 90 days
"numMessagesLast60Days": Int, // Number of Messages by the Member in last 60 days
"numMessagesLast30Days": Int, // Number of Messages by the Member in last 30 days
}>
}

Examples

post
https://dashboard.withblaze.app/api/graphql-api
Without startDate and endDate
Parameters
Query
page*
1
pageSize*
10
Max Limit - 100
guildId
GUILD-ID
Optional: Guild ID of the Discord Server
If the guild ID is not specified, the data of the discord server that was integrated first will be retrieved
Header
x-api-key*
API-KEY
Your Blaze API Key
Responses
200: OK
post
https://dashboard.withblaze.app/api/graphql-api