Blaze
Search
K

Member Details

GraphQL Endpoint to fetch member details in your Discord Server
Run in Postman

GraphQL Query

query MembersDetails($pageSize: Int, $page: Int, $guildId: String) {
membersDetails(page: $page, pageSize: $pageSize, guildId: $guildId) {
totalMembers
membersList {
id
name
engagementStatus
numMessages
channels
avatarUrl
dateJoined
roles {
id
name
}
}
}
}

Variables

{
"pageSize": Int, // Number of members entries in a fetch. Upper limit = 100
"page": Int, // Page number
"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 (Discord name + '#' + Discriminator)
"engagementStatus": "not_engaged" | "highly_engaged" | "engaged", // Engagement level of Member in the Server over past 15 days
"numMessages" : Int, // Number of messages by the member over past 15 days
"channels": Array<String>, // Channels the member is part of
"avatarUrl": String, // Avatar URL of the member
"dateJoined": String, // Date in ISO Format on which the member last joined
"roles": Array<{
"id": Int, // Discord ID of the Role member has
"name": String, // Name of the Role member has
}>
}>
}

Example

post
https://dashboard.withblaze.app/api/graphql-api
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