Accepts an invite using its code, adding the authenticated user to the corresponding guild, pack, or other entity. The invite usage count is incremented, and if it reaches its maximum usage limit or expiration, the invite is automatically revoked. Returns the accepted invite details.
curl --request POST \
--url https://api.fluxer.app/v1/invites/{invite_code} \
--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,
"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 invite code
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
The user who created the invite
Show child attributes
ISO8601 timestamp of when the invite expires
curl --request POST \
--url https://api.fluxer.app/v1/invites/{invite_code} \
--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,
"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"
}