---
title: "Fetches information about a specific Discord guild (server)."
method: POST
path: "/fetchGuildInfo"
---

# Fetches information about a specific Discord guild (server).

`POST /fetchGuildInfo`

This function retrieves detailed information about a specified Discord guild using its unique identifier. It returns comprehensive data about the guild, including its name, icon, members, and channels. The function is asynchronous and returns a Promise that resolves to a guild object.

## Request body

- object
  - `body` object — Body of the fetchGuildInfo sls call
    - `arguments` unknown[], required
      - unknown
    - `auth` object — Authentication object
      - `strategy` 'apikey' — Authentication strategy
      - `variables` unknown[] — Variables for the authentication strategy
        - unknown
    - `packageName` string — @microfox/discord

## Response `200`

Successful response with guild information

- object
  - `id` string, required — The unique identifier of the guild
  - `name` string, required — The name of the guild
  - `icon` string — The icon hash of the guild
  - `members` object[] — Array of guild members
  - `channels` object[] — Array of guild channels

## Other responses

- `400` — Bad request - Invalid guild ID provided
- `404` — Guild not found
- `500` — Internal server error

---

[API](https://skmtc.net/microfox-ai/apis/microfox-discord-sdk-api.md) · [All operations](https://skmtc.net/microfox-ai/apis/microfox-discord-sdk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/microfox-ai/microfox-discord-sdk-api/versions/7cb5b64ae924/schema)
