---
title: "POST /api/channels/{channel_id}/threads/"
method: POST
path: "/api/channels/{channel_id}/threads/"
tags: ["api"]
---

# POST /api/channels/{channel_id}/threads/

`POST /api/channels/{channel_id}/threads/`

## Path parameters

- `channel_id` string, required

## Request body

- ThreadCreationSchema
  - `auto_archive_duration` integer
  - `rate_limit_per_user` integer
  - `name` string, required
  - `type` 11 | 12
  - `invitable` boolean
  - `applied_tags` string[]
  - `location` string
  - `message` object
    - `content` string
    - `embeds` Embed[]
      - `title` string
      - `type` 'article' | 'gifv' | 'image' | 'link' | 'poll_result' | 'rich' | 'video'
      - `description` string
      - `url` string
      - `timestamp` string, date-time
      - `color` integer
      - `footer` object
        - `text` string, required
        - `icon_url` string
        - `proxy_icon_url` string
      - `image` EmbedImage
        - `url` string
        - `proxy_url` string
        - `height` integer
        - `width` integer
      - `thumbnail` EmbedImage
        - `url` string
        - `proxy_url` string
        - `height` integer
        - `width` integer
      - `video` EmbedImage
        - `url` string
        - `proxy_url` string
        - `height` integer
        - `width` integer
      - `provider` object
        - `name` string
        - `url` string
      - `author` object
        - `name` string
        - `url` string
        - `icon_url` string
        - `proxy_icon_url` string
      - `fields` object[]
        - `name` string, required
        - `value` string, required
        - `inline` boolean
    - `allowed_mentions` object
      - `parse` string[]
      - `roles` string[]
      - `users` string[]
      - `replied_user` boolean
    - `components` BaseMessageComponents[], nullable
      - union
        - SectionComponent
          - `type` 9, required
          - `components` TextDisplayComponent[], required
            - `type` 10, required
            - `content` string, required
            - `id` integer
          - `accessory` union, required
            - ThumbnailComponent
              - …
            - ButtonComponent
              - …
          - `id` integer
        - TextDisplayComponent
          - `type` 10, required
          - `content` string, required
          - `id` integer
        - MediaGalleryComponent
          - `type` 12, required
          - `items` object[], required
            - `media` UnfurledMediaItem, required
              - …
            - `description` string
            - `spoiler` boolean
          - `id` integer
        - FileComponent
          - `type` 13, required
          - `file` UnfurledMediaItem, required
            - `id` string
            - `url` string, required
            - `proxy_url` string
            - `height` integer
            - `width` integer
            - `flags` integer
            - `content_type` string
            - `content_scan_metadata` unknown
            - `placeholder_version` integer
            - `placeholder` string
            - `loading_state` integer
            - `attachment_id` string
          - `spoiler` boolean, required
          - `name` string, required
          - `size` integer, required
          - `id` integer
        - SeperatorComponent
          - `type` 14, required
          - `divider` boolean
          - `spacing` 1 | 2
          - `id` integer
        - ActionRowComponent
          - `type` 1, required
          - `components` union[], required
            - union
              - …
          - `id` integer
        - ContainerComponent
          - `type` 17, required
          - `components` union[], required
            - union
              - …
          - `accent_color` integer
          - `spoiler` boolean
          - `id` integer
    - `sticker_ids` string[]
    - `activity` MessageActivity
      - `type` 1 | 2 | 3 | 4 | 5, required
      - `session_id` string
      - `party_id` string
      - `name_override` string
      - `icon_override` string
    - `application_id` string
    - `flags` integer
    - `attachments` union[]
      - union
        - object
          - `id` string, required
          - `filename` string, required
        - object
          - `id` string
          - `filename` string, required
          - `uploaded_filename` string, required
          - `original_content_type` string

## Response `200`

No description available

## Other responses

- `403` — No description available

---

[API](https://skmtc.net/spacebarchat/apis/spacebar-server.md) · [All operations](https://skmtc.net/spacebarchat/apis/spacebar-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spacebarchat/spacebar-server/versions/034b4e879932/schema)
