---
title: "Add members to an assistant"
method: POST
path: "/assistants/{assistant_id}/members"
tags: ["Assistant"]
---

# Add members to an assistant

`POST /assistants/{assistant_id}/members`

Add one or more users as members of the assistant.

## Path parameters

- `assistant_id` integer, required

## Query parameters

- `cookie_name` string, nullable

## Request body

- AssistantMembersIn
  - `user_ids` integer[], required — IDs of the users to add or remove as members.

## Response `201`

Successful Response

- AssistantMember[]
  - `created_at` string, date-time — Timestamp when the membership was created.
  - `assistant_id` integer, required — ID of the assistant.
  - `user_id` integer, required — ID of the member user.

## Other responses

- `401` — Missing or invalid authentication.
- `403` — Not the creator of this assistant.
- `404` — No assistant exists with the given id.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/revisions/b53e89b98c2b/schema)
