> ## Documentation Index
> Fetch the complete documentation index at: https://docs.unrealapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add members to threads

`POST` `/add-members-to-thread`

Add up to 10 members to a thread.

## Headers

| Name   | Value                |
| ------ | -------------------- |
| apikey | 28-Character API Key |

## Body

| Name            | Type     | Description                                          |
| --------------- | -------- | ---------------------------------------------------- |
| discordUserIds  | array\*  | Array of Discord IDs to add to the thread (up to 10) |
| discordBotToken | string\* | Your Discord bot token                               |
| threadId        | string\* | The thread users should be added to                  |

## Response

<Tabs>
  <Tab title="200: OK">
    ```json theme={null}
    {
      "success": true
    }
    ```
  </Tab>

  <Tab title="400: Bad Request">
    **Error**\
    You didn't provide a valid:

    * Array of discordUserIds
    * discordBotToken
    * threadId

    Check `response.error`
  </Tab>

  <Tab title="401: Unauthorized">
    **Error**\
    Missing or invalid apikey.
  </Tab>

  <Tab title="429: Too Many Requests">
    You sent too many requests too quickly. Try again later.
  </Tab>
</Tabs>
