Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Guild → Get Ban

AI-generated

Summary

Fetches a user's ban record from a Discord guild using the guild and user IDs.

Inputs

  • Authentication — Choose Bot Token (default) or OAuth2 (User Token).
  • Guild (required) — Discord guild snowflake ID.
  • User (required) — Discord user snowflake ID whose ban record to retrieve.
  • Request Options — Optional request settings: batch size and interval, TLS certificate validation, HTTP proxy, and timeout.

Output shape

A single ban record returned by Discord.

The operation-specific source body is omitted from the supplied source pack, so additional response fields and runtime handling are not shown.

Links

Discussion