Skip to main content

Resources Overview

Fluxer’s API is built around several core resources that represent the building blocks of the platform. This section documents the structure and relationships between these resources.

Core Resources

User Resources

  • Users - User accounts, profiles, and authentication
  • Relationships - Friend connections and blocks
  • Settings - User preferences and configuration

Guild Resources

Channel Resources

  • Channels - Text, voice, and category channels
  • Messages - Message content and metadata
  • Invites - Invitation codes and links

Integration Resources

Premium Resources

Resource Identifiers

All resources use Snowflake IDs - unique 64-bit integers that encode timestamp information:
type Snowflake = string;

// Examples
type UserID = Snowflake;
type GuildID = Snowflake;
type ChannelID = Snowflake;
type MessageID = Snowflake;

Common Patterns

Timestamps

All timestamps are ISO 8601 formatted strings:
{
  "created_at": "2026-03-04T12:00:00.000Z"
}

Nullable Fields

Fields may be null or omitted entirely depending on context. Check individual resource documentation for specifics.

Version Fields

Most resources include a version field for optimistic concurrency control:
{
  "id": "123456789",
  "version": 1
}

Asset URLs

Resources with images (avatars, icons, banners) store hashes. Use the CDN endpoints to construct full URLs:
https://cdn.fluxer.chat/avatars/{user_id}/{avatar_hash}.png
https://cdn.fluxer.chat/icons/{guild_id}/{icon_hash}.png
See the CDN documentation for complete details.

Relationships

Next Steps

Explore the individual resource pages to learn about:
  • Field definitions and types
  • Available endpoints
  • Example responses
  • Common use cases

Build docs developers (and LLMs) love