API Data Provider - Online Help

Invites

Discord invite - supports getting specific invite by code, all invites for a channel, or all invites for a guild

Columns

Name Type ReadOnly References Description
Code [KEY] String True

Invite code

Id String True

Invite ID

Type Integer True

Invite type

GuildId String True

Guild.Id

Guild ID (direct field)

Guild String True

Guild object

ChannelId String False

Channels.Id

Channel ID

Channel String True

Channel object

TargetType Integer False

Invite target type

ApproximatePresenceCount Integer True

Approximate presence count

ApproximateMemberCount Integer True

Approximate member count

ExpiresAt Datetime True

Invite expiration time

Uses Integer True

Number of times invite used

MaxUses Integer False

Max uses for invite

MaxAge Integer False

Duration until expiry

IsTemporary Boolean False

Whether invite grants temporary membership

CreatedAt Datetime True

Invite creation time

Inviter String True

User who created invite

TargetUser String True

Target user object

TargetApplication String True

Target application object

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770.0