Guilds

Get guild vanity URL

Returns the custom invite code for the guild if configured.

get/guilds/{guild_id}/vanity-url

Path parameters

guild_idstring snowflake required

The ID of the guild

Response

Success

codestring nullable

The vanity URL code for the guild

usesinteger required

The number of times this vanity URL has been used

Changes

No recorded changes to this endpoint across all 1 revision of this API.