---
title: "Add members to team"
method: POST
path: "/teams/{team_id}/members"
tags: ["Teams"]
---

# Add members to team

`POST /teams/{team_id}/members`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/teams/{team_id}/members`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Mnemom-Api-Key`

Add one or more agents to a team. Teams have a maximum of 50 members.

## Path parameters

- `team_id` string, required

## Request body

- object
  - `agent_ids` string[], required: Agent IDs to add

## Response `200`

Members added

- object
  - `added` string[]
  - `already_members` string[]
  - `members` TeamMember[]
    - `team_id` string
    - `agent_id` string
    - `agent_name` string, nullable
    - `avatar_url` string, nullable
    - `role` string: team_members.role — the agent's role inside the team (e.g. 'member', 'lead').
    - `joined_at` string, date-time: Alias for added_at, returned by the list endpoint for UI convenience.
    - `added_at` string, date-time
    - `removed_at` string, date-time, nullable
    - `reputation_score` number, nullable: Agent's reputation score, joined from reputation_scores at list time. `null` when no row exists OR the agent's visibility is private.
    - `reputation_grade` string, nullable: Agent's reputation grade (A+, A, B+, ..., NR). `null` under the same conditions as reputation_score.
    - `is_eligible` boolean, nullable: Whether the agent has crossed the eligibility threshold. The UI honors this to avoid rendering a misleading grade circle for agents that haven't accumulated enough checkpoints.

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `429`: Rate-limit exceeded. The global per-IP limiter (100 requests/minute, applied to every `/v1/*` route) rejected this request. Back off until the window resets — `Retry-After` carries the cooldown in seconds and `X-RateLimit-Reset` the absolute reset time.
- `500`: Server error — request was well-formed but the server failed to fulfill it. Typically a downstream dependency (DB / RPC / external API) returned an unexpected error.
- `503`: An upstream dependency is currently unavailable. The request was not processed; retry after the cooldown window.

---

[API](https://skmtc.dev/mnemom/apis/mnemom-api.md) · [All operations](https://skmtc.dev/mnemom/apis/mnemom-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mnemom/apis/mnemom-api/revisions/274b7a6ea182?raw)
