---
title: "Create a thread"
method: POST
path: "/bot/createThread"
tags: ["Bot"]
---

# Create a thread

`POST /bot/createThread`

Creates a normal home or space thread using Inline's existing access rules.

## Headers

- `authorization` string, required

## Request body

- CreateThreadInput — Creates a normal Inline thread using existing access rules.
  - `title` string
  - `emoji` string
  - `space_id` integer — A positive Inline space identifier
  - `is_public` boolean
  - `participants` UserId[]

## Response `200`

Successful normal or reply-thread creation response.

- BotCreateThreadSuccess — unresolved $ref

## Other responses

- `400` — The request parameters are missing or invalid.
- `401` — The bot token is missing or invalid.
- `403` — The bot is not allowed to perform this action.
- `404` — The requested method or resource was not found.
- `500` — The server could not complete the request.

---

[API](https://skmtc.dev/inline/apis/inline-bot-http-api-docs.md) · [All operations](https://skmtc.dev/inline/apis/inline-bot-http-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inline/inline-bot-http-api-docs/revisions/69017b8dc5fe/schema)
