---
title: "Fork a thread"
method: POST
path: "/threads/{threadId}/fork"
tags: ["Threads"]
---

# Fork a thread

`POST /threads/{threadId}/fork`

Fork a thread from a specific message, creating a new thread that copies messages up to that point.

## Path parameters

- `threadId` string, uuid, required — Thread ID of the source thread to fork.

## Request body

- object
  - `messageId` string, uuid, required — Message ID in the source thread to fork from. The new thread copies messages up to and including this message.

## Response `201`

OK

- object
  - `thread` object, required — The newly created forked thread.
    - `id` string, uuid, required
    - `projectId` string, uuid, required
    - `title` string, nullable, required
    - `status` 'regular' | 'archived', required
    - `source` 'slack' | 'teams' | 'linear' | 'github' | 'app' | 'mcp' | 'agent' | 'api' | 'cli' | 'web' | 'sdk' | 'bitbucket' | 'system', nullable, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) · [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sazabi/sazabi-public-api/revisions/1d12b71c735a/schema)
