Channels

Start a thread from a message

Changed on

Creates a public thread from an existing message in a text channel. The thread shares the ID of the message, so a message can start one thread.

post/channels/{channel_id}/messages/{message_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
string snowflake required
OR
integer required

Request body

namestring required

The name of the thread (1-100 characters)

auto_archive_duration60 | 1440 | 4320 | 10080

Minutes of inactivity before the thread stops showing in the channel list

rate_limit_per_userinteger

Seconds a user has to wait before sending another message (0-21600)

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