Only default users can set vanity URLs. Requires manage_guild permission. Sets or removes a custom invite code.
curl --request PATCH \
--url https://api.fluxer.app/v1/guilds/{guild_id}/vanity-url \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>"
}
'{
"code": "<string>"
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the guild
The new vanity URL code (2-32 characters, alphanumeric and hyphens)
Success
The new vanity URL code
curl --request PATCH \
--url https://api.fluxer.app/v1/guilds/{guild_id}/vanity-url \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>"
}
'{
"code": "<string>"
}