Guilds

Get guild vanity URL

Returns the custom invite code for the guild if configured.

get/guilds/{guild_id}/vanity-url

Path parameters

string snowflake required
OR
integer required

The ID of the guild

Response

Success

codestring nullable

The vanity URL code for the guild

usesinteger required

Changes