---
title: "Invite an account to a namespace"
method: POST
path: "/api/v1/account/invites"
---

# Invite an account to a namespace

`POST /api/v1/account/invites`

## Request

- Base URL: `https://ctxstore.ai`
- URL: `https://ctxstore.ai/api/v1/account/invites`
- Auth: HTTP bearer

Creates a free namespace invitation. The recipient keeps their own anchor account and accepts with an emailed OTP.

## Request body

- object
  - `email` string, email, required
  - `namespace_prefix` string, required
  - `invite_note` string
  - `created_by_agent` string

## Response `200`

Existing invitation returned

## Other responses

- `201`: Invitation created
- `401`: Unauthorized

---

[API](https://skmtc.dev/ctxstore/apis/ctxstore-ai.md) · [All operations](https://skmtc.dev/ctxstore/apis/ctxstore-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/ctxstore/apis/ctxstore-ai/revisions/0581ff18c0f4?raw)
