---
title: "Get guild ban"
method: GET
path: "/guilds/{guild_id}/bans/{user_id}"
tags: ["Guilds"]
---

# Get guild ban

`GET /guilds/{guild_id}/bans/{user_id}`

## Request

- Base URL: `https://web.fluxer.app/api/v1`
- URL: `https://web.fluxer.app/api/v1/guilds/{guild_id}/bans/{user_id}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`

Get guild ban. Requires ban_members permission. Returns the ban for the specified user including the ban reason and expiry time.

## Path parameters

- `guild_id` union, required
  - string, snowflake
  - integer
- `user_id` union, required
  - string, snowflake
  - integer

## Response `200`

Success

- GuildBanResponse
  - `user` UserPartialResponse, required
    - `id` string, snowflake, required
    - `username` string, required: The username of the user, not unique across the platform
    - `discriminator` string, required: The four-digit discriminator tag of the user
    - `global_name` string, nullable, required: The display name of the user, if set
    - `avatar` string, nullable, required: The hash of the user avatar image
    - `avatar_color` integer, required
    - `bot` boolean: Whether the user is a bot account
    - `system` boolean: Whether the user is an official system user
    - `flags` integer, required: The public flags on the user account
    - `mention_flags` 0 | 1 | 2: Reply mention preference
  - `reason` string, nullable: The reason for the ban
  - `moderator_id` string, snowflake, required
  - `banned_at` string, date-time, required: ISO8601 timestamp of when the ban was issued
  - `expires_at` string, date-time, nullable: ISO8601 timestamp of when the ban expires (null if permanent)

## Other responses

- `400`: Bad Request - The request was malformed or contained invalid data
- `401`: Unauthorized - Authentication is required or the token is invalid
- `403`: Forbidden - You do not have permission to perform this action
- `429`: Too Many Requests - You are being rate limited
- `500`: Internal Server Error - An unexpected error occurred

## Changes

> 70 revisions in range; 2 not diffed.

- **2026-11-12** `c3e0298c2255`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/guilds/:guild_id/bans/:user_id/get.md)

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) - [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fluxer/apis/fluxer-api/revisions/1c3cf10f7b3e?raw)
