---
title: "Add a member"
method: POST
path: "/v1/org/invite"
tags: ["Organizations"]
---

# Add a member

`POST /v1/org/invite`

## Request

- Base URL: `https://api.chainmemory.ai`
- URL: `https://api.chainmemory.ai/v1/org/invite`
- Auth: API key in header `x-api-key`

Requires the `members` permission.

## Request body

- object
  - `email` string, required
  - `role` string: owner, admin, developer or viewer

## Response `200`

Member added

## Other responses

- `400`: valid email required
- `402`: organization_not_active
- `403`: forbidden — your role lacks the permission
- `409`: Already a member

---

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