Skip to main content
GET
/
v1
/
bot
/
guilds
/
{discord_id}
curl https://hapi.7331.org/v1/bot/guilds/987654321098765432 \
  -H "X-API-Key: your-bot-api-key"
{
  "discord_id": "987654321098765432",
  "name": "Example Server",
  "prefix": "!",
  "member_count": 150,
  "is_whitelisted": true,
  "owner_discord_id": "123456789012345678",
  "state": 0,
  "id": 42,
  "has_bot": true,
  "first_joined_at": "2025-01-01T00:00:00Z",
  "source": "database",
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:00:00Z"
}
discord_id
integer
required
Discord snowflake ID.
X-API-Key
string
required
Bot API key.

Response

Returns the guild’s full private profile including internal ID, whitelist status, and bot presence.
curl https://hapi.7331.org/v1/bot/guilds/987654321098765432 \
  -H "X-API-Key: your-bot-api-key"
{
  "discord_id": "987654321098765432",
  "name": "Example Server",
  "prefix": "!",
  "member_count": 150,
  "is_whitelisted": true,
  "owner_discord_id": "123456789012345678",
  "state": 0,
  "id": 42,
  "has_bot": true,
  "first_joined_at": "2025-01-01T00:00:00Z",
  "source": "database",
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:00:00Z"
}