Invite Attributions

The Invite Attributions endpoint allows you to fetch invites used by members attributed by creators in your Discord server using GraphQL.

GraphQL Query

query InviteAttributions($guildId: String!, $startDate: String, $endDate: String) {
  inviteAttributions(guildId: $guildId, startDate: $startDate, endDate: $endDate) {
    invitesUsed {
      id
      inviteCode
      inviterName
      memberName
      memberJoinedAt
      inviteCreatedAt
    }
  }
}

Variables

{
    "guildId": String, // Guild ID of the Discord server
    "startDate": String, // Start date to filter messages (YYYY-MM-DD format)
    "endDate": String // End date to filter messages (YYYY-MM-DD format)
}

Examples

POST https://dashboard.withblaze.app/api/graphql-api

guildId*

GUILD-ID

Guild ID of the discord server from which you want to query the data

startDate*

START-DATE

Start date from which message need to be filtered

endDate*

END-DATE

End date from which messages need to be filtered

Last updated