---
title: "GET /guilds/{guild_id}/vanity-url"
method: GET
path: "/guilds/{guild_id}/vanity-url"
---

# GET /guilds/{guild_id}/vanity-url

`GET /guilds/{guild_id}/vanity-url`

## Response `200`

200 response for get_guild_vanity_url

- VanityURLResponse
  - `code` string, nullable, required
  - `uses` integer, required
  - `error` VanityURLErrorResponse
    - `message` string, required
    - `code` integer, required

## Other responses

- `429` — Client ratelimited response
- `4XX` — Client error response

## Changes

- **2026-02-04** `e200830e509a` — 1 info
  - the response property `code` became required for the status `200`

[Change history](https://skmtc.dev/discord/apis/discord-http-api-preview/changes/guilds/:guild_id/vanity-url/get.md)

---

[API](https://skmtc.dev/discord/apis/discord-http-api-preview.md) · [All operations](https://skmtc.dev/discord/apis/discord-http-api-preview/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/discord/discord-http-api-preview/revisions/49efa428e0dd/schema)
