Blaze
Search
K

Members Activity By Id

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

GraphQL Query

query MembersActivityByIds($ids: [String]!, $startDate: String, $endDate: String, $guildId: String) {
membersActivityByIds(ids: $ids, startDate: $startDate, endDate: $endDate, guildId: $guildId) {
totalMembers
membersList {
id
name
discriminator
lastActiveDate
numMessages
numMessagesLast90Days
numMessagesLast60Days
numMessagesLast30Days
}
}
}

Variables

{
"ids": [String], // List of discord members ids
"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
ids*
["111111111111111111"]
List of discord members ids
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