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

Last updated