---
title: "Add members to a sub-group thread"
method: POST
path: "/chat/threads/{threadId}/members"
tags: ["Chat"]
---

# Add members to a sub-group thread

`POST /chat/threads/{threadId}/members`

## Request

- Base URL: `https://whatareyoudo.ing/api/v1`
- URL: `https://whatareyoudo.ing/api/v1/chat/threads/{threadId}/members`
- Auth: HTTP bearer

## Path parameters

- `threadId` string, uuid, required

## Request body

- AddChatThreadMembersRequest
  - `userIds` string[], required

## Response `200`

OK

- object
  - `data` object, required
    - `added` integer, required
  - `meta` object, required
    - `requestId` string, required

## Other responses

- `404`: No such thread, or the caller is not a member

---

[API](https://skmtc.dev/whatareyoudo/apis/whatcha-api.md) · [All operations](https://skmtc.dev/whatareyoudo/apis/whatcha-api/llms.txt) · [OpenAPI document](https://skmtc.dev/whatareyoudo/apis/whatcha-api/revisions/48dd8a54abea?raw)
