Discord Messages
The Member Messages by IDs endpoint allows you to fetch messages sent by specific members in your Discord server using GraphQL.
Last updated
The Member Messages by IDs endpoint allows you to fetch messages sent by specific members in your Discord server using GraphQL.
Last updated
query MemberMessages($pageSize: Int!, $page: Int!, $guildId: String!, $channelIds: [String!], $ids: [String!], $startDate: String!, $endDate: String!) {
memberMessagesByIds(pageSize: $pageSize, page: $page, guildId: $guildId, channelIds: $channelIds, ids: $ids, startDate: $startDate, endDate: $endDate) {
totalMessages
messagesList {
id
content
createdAt
editedAt
channelId
guildId
authorId
tags
type
authorName
authorDiscriminator
authorAvatarUrl
authorNickname
channelName
sentimentScore
reactions
isInThread
}
}
}
{
"pageSize": Int, // Number of messages to fetch per page
"page": Int, // Page number to retrieve
"guildId": String, // Guild ID of the Discord server
"channelIds": [String], // Array of channel IDs to filter the messages (optional)
"ids": [String], // List of Discord member IDs
"startDate": String, // Start date to filter messages (YYYY-MM-DD format)
"endDate": String // End date to filter messages (YYYY-MM-DD format)
}
{
"totalMessages": Int, // Total number of messages matching the specified criteria
"messagesList": Array<{
"id": String, // ID of the message
"content": String, // Content of the message
"createdAt": String, // Timestamp when the message was created
"editedAt": String, // Timestamp when the message was last edited (if applicable)
"channelId": String, // ID of the channel where the message was sent
"guildId": String, // ID of the guild (server) where the message was sent
"authorId": String, // ID of the author (member) who sent the message
"tags": [String], // Array of tags associated with the message
"type": String, // Type of the message
"authorName": String, // Name of the author (member) who sent the message
"authorDiscriminator": String, // Discriminator of the author (member) who sent the message
"authorAvatarUrl": String, // URL of the author's avatar
"authorNickname": String, // Nickname of the author (member) in the server
"channelName": String, // Name of the channel where the message was sent
"sentimentScore": Float, // Sentiment score of the message
"reactions": [Object], // Array of reaction objects associated with the message
"isInThread": Boolean // Indicates whether the message is part of a thread
}>
}
POST
https://dashboard.withblaze.app/api/graphql-api
{
"pageSize": 20,
"page": 1,
"guildId": "108488638812401",
"channelIds": [
"10848970617"
],
"startDate": "2024-02-20",
"endDate": "2024-02-25"
}
{
"data": {
"memberMessagesByIds": {
"totalMessages": 109,
"messagesList": [
{
"id": "1210603397133238332",
"content": "Yeah i got that but it said link dc in <#1084886368594960411>",
"createdAt": "2024-02-23 15:05:41.800000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "587761292341673986",
"tags": "[]",
"type": "MessageType.default",
"authorName": ".misternft",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/587761292341673986/96b9139fbbde6aaba8e5cd404400ee15.png?size=1024",
"authorNickname": ".misternft",
"channelName": "☕│general",
"sentimentScore": "0.1531",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210603342657495121",
"content": "there isnt a discord connection yet",
"createdAt": "2024-02-23 15:05:28.812000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "940240192923648112",
"tags": "[]",
"type": "MessageType.default",
"authorName": "efebw",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/940240192923648112/38dc03466ea21e5bb68def23facdb17c.png?size=1024",
"authorNickname": "efebw",
"channelName": "☕│general",
"sentimentScore": "0.3089",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210603248461807626",
"content": "i dl'ed it on play",
"createdAt": "2024-02-23 15:05:06.354000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "231976188992684033",
"tags": "[]",
"type": "MessageType.default",
"authorName": "contradigm",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/231976188992684033/215e2edeb81ee820c4d5a2825492e9fc.png?size=1024",
"authorNickname": "contradigm",
"channelName": "☕│general",
"sentimentScore": "0.34",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210603010758156288",
"content": "I downloaded it last week",
"createdAt": "2024-02-23 15:04:09.681000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "587761292341673986",
"tags": "[]",
"type": "MessageType.default",
"authorName": ".misternft",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/587761292341673986/96b9139fbbde6aaba8e5cd404400ee15.png?size=1024",
"authorNickname": ".misternft",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210602983574999092",
"content": "How do we connect discord etc to bestwallet",
"createdAt": "2024-02-23 15:04:03.200000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "587761292341673986",
"tags": "[]",
"type": "MessageType.default",
"authorName": ".misternft",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/587761292341673986/96b9139fbbde6aaba8e5cd404400ee15.png?size=1024",
"authorNickname": ".misternft",
"channelName": "☕│general",
"sentimentScore": "-0.4019",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210602973990748200",
"content": "it would be helpful",
"createdAt": "2024-02-23 15:04:00.915000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "940240192923648112",
"tags": "[]",
"type": "MessageType.default",
"authorName": "efebw",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/940240192923648112/38dc03466ea21e5bb68def23facdb17c.png?size=1024",
"authorNickname": "efebw",
"channelName": "☕│general",
"sentimentScore": "0.4215",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210602941871034430",
"content": "let me know your thoughts",
"createdAt": "2024-02-23 15:03:53.257000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "940240192923648112",
"tags": "[]",
"type": "MessageType.default",
"authorName": "efebw",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/940240192923648112/38dc03466ea21e5bb68def23facdb17c.png?size=1024",
"authorNickname": "efebw",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210602924825124985",
"content": "have a small playable",
"createdAt": "2024-02-23 15:03:49.193000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "940240192923648112",
"tags": "[]",
"type": "MessageType.default",
"authorName": "efebw",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/940240192923648112/38dc03466ea21e5bb68def23facdb17c.png?size=1024",
"authorNickname": "efebw",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210602908752551997",
"content": "honestly if everyone downloads it",
"createdAt": "2024-02-23 15:03:45.361000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "940240192923648112",
"tags": "[]",
"type": "MessageType.default",
"authorName": "efebw",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/940240192923648112/38dc03466ea21e5bb68def23facdb17c.png?size=1024",
"authorNickname": "efebw",
"channelName": "☕│general",
"sentimentScore": "0.4588",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210602884702404608",
"content": "tell them again <@604567445532966923>",
"createdAt": "2024-02-23 15:03:39.627000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "940240192923648112",
"tags": "[]",
"type": "MessageType.default",
"authorName": "efebw",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/940240192923648112/38dc03466ea21e5bb68def23facdb17c.png?size=1024",
"authorNickname": "efebw",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210602630133588100",
"content": "if u dont have best wallet downloaded too what are u doing👀",
"createdAt": "2024-02-23 15:02:38.933000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "604567445532966923",
"tags": "[]",
"type": "MessageType.default",
"authorName": "tgpriv.eth",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/604567445532966923/7feea1bb3ba1c41710798a423f7f5e03.png?size=1024",
"authorNickname": "tgpriv.eth",
"channelName": "☕│general",
"sentimentScore": "-0.5216",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210599946475020348",
"content": "were playing smash kart for OG",
"createdAt": "2024-02-23 14:51:59.099000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "940240192923648112",
"tags": "[]",
"type": "MessageType.default",
"authorName": "efebw",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/940240192923648112/38dc03466ea21e5bb68def23facdb17c.png?size=1024",
"authorNickname": "efebw",
"channelName": "☕│general",
"sentimentScore": "0.2023",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210599831211343903",
"content": "What’s up gang",
"createdAt": "2024-02-23 14:51:31.618000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "751499394662137968",
"tags": "[]",
"type": "MessageType.default",
"authorName": "amnesia1999",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/751499394662137968/3789385c6a07ae1e66a054c0677ce606.png?size=1024",
"authorNickname": "amnesia1999",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210598884733222983",
"content": "lfg",
"createdAt": "2024-02-23 14:47:45.960000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "812074928689643562",
"tags": "[]",
"type": "MessageType.default",
"authorName": "solsweep",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/812074928689643562/9b79d56a315d1b3c15bd35b77ab3186a.png?size=1024",
"authorNickname": "solsweep",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210595633225007114",
"content": "<a:peepoFiesta:762083919080062987>",
"createdAt": "2024-02-23 14:34:50.740000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "231976188992684033",
"tags": "[]",
"type": "MessageType.default",
"authorName": "contradigm",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/231976188992684033/215e2edeb81ee820c4d5a2825492e9fc.png?size=1024",
"authorNickname": "contradigm",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210595462479085599",
"content": "Bruh aint seen him since he won rewd probably in mexico😭",
"createdAt": "2024-02-23 14:34:10.031000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "604567445532966923",
"tags": "[]",
"type": "MessageType.default",
"authorName": "tgpriv.eth",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/604567445532966923/7feea1bb3ba1c41710798a423f7f5e03.png?size=1024",
"authorNickname": "tgpriv.eth",
"channelName": "☕│general",
"sentimentScore": "0.5719",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210595397467373569",
"content": "Jersey active",
"createdAt": "2024-02-23 14:33:54.531000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "604567445532966923",
"tags": "[]",
"type": "MessageType.default",
"authorName": "tgpriv.eth",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/604567445532966923/7feea1bb3ba1c41710798a423f7f5e03.png?size=1024",
"authorNickname": "tgpriv.eth",
"channelName": "☕│general",
"sentimentScore": "0.4019",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210595390777458789",
"content": "Ayoo",
"createdAt": "2024-02-23 14:33:52.936000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "587761292341673986",
"tags": "[]",
"type": "MessageType.default",
"authorName": ".misternft",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/587761292341673986/96b9139fbbde6aaba8e5cd404400ee15.png?size=1024",
"authorNickname": ".misternft",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210595272800075838",
"content": "more trying to keep engaging and keep things fun",
"createdAt": "2024-02-23 14:33:24.808000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "231976188992684033",
"tags": "[]",
"type": "MessageType.default",
"authorName": "contradigm",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/231976188992684033/215e2edeb81ee820c4d5a2825492e9fc.png?size=1024",
"authorNickname": "contradigm",
"channelName": "☕│general",
"sentimentScore": "0.6908",
"reactions": "[]",
"isInThread": "false"
},
{
"id": "1210595252063305738",
"content": "Gimme ma dubski",
"createdAt": "2024-02-23 14:33:19.864000+00:00",
"editedAt": "None",
"channelId": "10848970617",
"guildId": "108488638812401",
"authorId": "604567445532966923",
"tags": "[]",
"type": "MessageType.default",
"authorName": "tgpriv.eth",
"authorDiscriminator": "0",
"authorAvatarUrl": "https://cdn.discordapp.com/avatars/604567445532966923/7feea1bb3ba1c41710798a423f7f5e03.png?size=1024",
"authorNickname": "tgpriv.eth",
"channelName": "☕│general",
"sentimentScore": "0.0",
"reactions": "[\n {\n \"count\": 1,\n \"emoji\": \"🇼\",\n \"me\": false\n }\n]",
"isInThread": "false"
}
]
}
}
}