Channels

Creates a thread that is not attached to an existing message. In a text channel the thread type is required. In a forum or media channel this creates a post, and the body carries the first message. The body can also be sent as multipart form data with the JSON in a payload_json field, and a post can attach files as files[n] parts.

post/channels/{channel_id}/threads

Request

  • Base URL
    https://web.fluxer.app/api/v1
  • Auth
    • API key in header Authorization
    • or API key in header Authorization

Path parameters

string snowflake required
OR
integer required

Request body

OR

Response

Success

idstring snowflake required

The unique identifier (snowflake) for this channel

guild_idstring snowflake

The ID of the guild this channel belongs to

namestring nullable

The name of the channel

topicstring nullable

The topic of the channel

urlstring uri nullable

The URL associated with the channel

iconstring nullable

The icon hash of the channel (for group DMs)

owner_idstring snowflake nullable
type0 | 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 15 | 16 | 998 | 999 required

The type of the channel

positioninteger

The sorting position of the channel

parent_idstring snowflake nullable
bitrateinteger nullable
user_limitinteger nullable
voice_connection_limitinteger nullable
rtc_regionstring nullable

The voice region ID for the voice channel

rtc_p2pboolean

Whether calls in the voice channel connect participants directly instead of through a voice server

last_message_idstring snowflake nullable
last_pin_timestampstring date-time nullable

The ISO 8601 timestamp of when the last pinned message was pinned

nsfwboolean

Whether the channel is marked as NSFW (effective value, walking channel → category → guild)

nsfw_overrideboolean nullable

Per-channel adult-content override; null means inherit from parent category and then guild. Categories use this same field as their own override.

content_warning_level0 | 1

Channel-level content warning override (0=inherit, 1=force-warn)

content_warning_textstring nullable

Custom channel content warning text (max 200 characters); null inherits from parent or guild

rate_limit_per_userinteger

The slowmode rate limit in seconds

nicksobject

Custom nicknames for users in this channel (for group DMs)

flagsinteger

Channel flags

applied_tagsSnowflakeStringType[]

IDs of the tags applied to a forum or media post

message_countinteger

Messages in the thread, excluding the starter and deleted messages

total_message_sentinteger

Messages ever sent in the thread, never decremented

member_countinteger

Approximate number of thread members, capped at 50

member_ids_previewSnowflakeStringType[]

IDs of the most recently joined members of a forum or media post, newest first

default_auto_archive_durationinteger nullable
default_thread_rate_limit_per_userinteger

Slowmode copied onto new threads

default_sort_orderinteger nullable
default_forum_layoutinteger

Default layout for forum posts

default_tag_setting'match_some' | 'match_all'

Default tag search setting

Changes

    • warning

      removed the request property anyOf[#/components/schemas/StartForumThreadRequest]/location

    • warning

      removed the request property anyOf[#/components/schemas/StartThreadRequest]/location

    • info

      added the optional property message/referenced_message/anyOf[subschema #1]/thread/rtc_p2p to the response with the status

    2 more changes in this revision