Retrieves all currently active invites across all channels in the specified guild, including invite codes, creators, expiration times, and usage statistics. The authenticated user must have permission to manage invites for the guild. Returns an array of invite metadata objects.
curl --request GET \
--url https://api.fluxer.app/v1/guilds/{guild_id}/invites \
--header 'Authorization: <api-key>'[
{
"code": "<string>",
"type": 0,
"guild": {
"id": "<string>",
"name": "<string>",
"splash_card_alignment": 0,
"features": [
"<string>"
],
"icon": "<string>",
"banner": "<string>",
"banner_width": 1073741823,
"banner_height": 1073741823,
"splash": "<string>",
"splash_width": 1073741823,
"splash_height": 1073741823,
"embed_splash": "<string>",
"embed_splash_width": 1073741823,
"embed_splash_height": 1073741823
},
"channel": {
"id": "<string>",
"type": 1073741823,
"name": "<string>",
"recipients": [
{
"username": "<string>"
}
]
},
"member_count": 1073741823,
"presence_count": 1073741823,
"temporary": true,
"created_at": "2023-11-07T05:31:56Z",
"uses": 1073741823,
"max_uses": 1073741823,
"max_age": 1073741823,
"inviter": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
},
"expires_at": "2023-11-07T05:31:56Z"
}
]Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the guild
Success
The unique invite code
The type of invite (guild)
0 The guild this invite is for
Show child attributes
Show child attributes
The approximate total member count of the guild
0 <= x <= 2147483647The approximate online member count of the guild
0 <= x <= 2147483647Whether the invite grants temporary membership
ISO8601 timestamp of when the invite was created
The number of times this invite has been used
0 <= x <= 2147483647The maximum number of times this invite can be used
0 <= x <= 2147483647The duration in seconds before the invite expires
0 <= x <= 2147483647The user who created the invite
Show child attributes
ISO8601 timestamp of when the invite expires
curl --request GET \
--url https://api.fluxer.app/v1/guilds/{guild_id}/invites \
--header 'Authorization: <api-key>'[
{
"code": "<string>",
"type": 0,
"guild": {
"id": "<string>",
"name": "<string>",
"splash_card_alignment": 0,
"features": [
"<string>"
],
"icon": "<string>",
"banner": "<string>",
"banner_width": 1073741823,
"banner_height": 1073741823,
"splash": "<string>",
"splash_width": 1073741823,
"splash_height": 1073741823,
"embed_splash": "<string>",
"embed_splash_width": 1073741823,
"embed_splash_height": 1073741823
},
"channel": {
"id": "<string>",
"type": 1073741823,
"name": "<string>",
"recipients": [
{
"username": "<string>"
}
]
},
"member_count": 1073741823,
"presence_count": 1073741823,
"temporary": true,
"created_at": "2023-11-07T05:31:56Z",
"uses": 1073741823,
"max_uses": 1073741823,
"max_age": 1073741823,
"inviter": {
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"global_name": "<string>",
"avatar": "<string>",
"avatar_color": 1073741823,
"flags": 1073741823,
"bot": true,
"system": true
},
"expires_at": "2023-11-07T05:31:56Z"
}
]