---
title: "Create Beta Invite"
method: POST
path: "/api/v1/beta-invites"
tags: ["beta-invites"]
---

# Create Beta Invite

`POST /api/v1/beta-invites`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/beta-invites`
- Auth: none declared

Mint a one-time invite link. The URL is returned here and never again.

Args:
    request: FastAPI request (IP / User-Agent for the audit row).
    user: Authenticated session user (the inviter).
    body: Optional ``{"label": ...}`` (#1595). Clients that predate it send
        no body at all, which keeps working.
    db: Database session.

Returns:
    The invite id, its plaintext URL, its expiry and its label.

Raises:
    BetaInviteQuotaExceededError: 409 ``BETA-INVITE-001`` at the cap.

## Headers

- `authorization` string, nullable

## Request body

- BetaInviteCreateRequest: Optional body of ``POST /beta-invites`` (#1595). No body at all is valid.
  - `label` string, nullable

## Response `201`

Successful Response

- BetaInviteCreatedResponse: A freshly minted invite — the only payload that ever carries the URL. Returned by both create and reissue.
  - `id` unknown, required
  - `url` unknown, required
  - `expires_at` unknown, required
  - `label` unknown, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
