create thread

POST {{baseUrl}}/channels/:channel_id/threads

Create a new thread in the channel

Request Body

[{"name"=>"name", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"content", "value"=>"<string,null>", "datatype"=>"string"}, {"name"=>"embeds", "value"=>"[object Object],[object Object]", "datatype"=>"string"}, {"name"=>"allowed_mentions", "value"=>"<null>", "datatype"=>"string"}, {"name"=>"sticker_ids", "value"=>"", "datatype"=>"null"}, {"name"=>"components", "value"=>"", "datatype"=>"null"}, {"name"=>"flags", "value"=>"<integer,null>", "datatype"=>"string"}, {"name"=>"attachments", "value"=>"", "datatype"=>"null"}, {"name"=>"auto_archive_duration", "value"=>"<null>", "datatype"=>"string"}, {"name"=>"rate_limit_per_user", "value"=>"<integer,null>", "datatype"=>"string"}, {"name"=>"applied_tags", "value"=>"", "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:10,&quot;flags&quot;:&quot;\u003cinteger\u003e&quot;,&quot;guild_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;owner_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;message_count&quot;:&quot;\u003cinteger\u003e&quot;,&quot;member_count&quot;:&quot;\u003cinteger\u003e&quot;,&quot;total_message_sent&quot;:&quot;\u003cinteger\u003e&quot;,&quot;last_message_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;last_pin_timestamp&quot;:&quot;\u003cstring,null-date-time\u003e&quot;,&quot;parent_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;rate_limit_per_user&quot;:&quot;\u003cinteger,null\u003e&quot;,&quot;bitrate&quot;:&quot;\u003cinteger,null\u003e&quot;,&quot;user_limit&quot;:&quot;\u003cinteger,null\u003e&quot;,&quot;rtc_region&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;video_quality_mode&quot;:&quot;\u003cnull\u003e&quot;,&quot;permissions&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;thread_metadata&quot;:&quot;\u003cnull\u003e&quot;,&quot;applied_tags&quot;:null,&quot;member&quot;:&quot;\u003cnull\u003e&quot;}