curl -X PUT https://hapi.7331.org/v1/guilds/987654321098765432/vanity \ -H "Content-Type: application/json" \ -b cookies.txt \ -d '{"vanity_invite": "my-cool-guild"}'
{ "discord_id": "987654321098765432", "name": "My Cool Guild", "avatar_url": "https://cdn.discordapp.com/icons/987654321098765432/abc.png?size=1024", "has_premium": true, "member_count": 150, "prefix": "!", "subscription_expires_at": null, "source": "database", "created_at": "2025-06-01T00:00:00Z", "updated_at": "2026-03-11T10:00:00Z" }
Set a vanity invite slug for a guild. Guild owner/sponsor or ADMIN+. Premium required.
^[a-z0-9][a-z0-9\-]{1,30}[a-z0-9]$
Was this page helpful?