---
title: "Reissue Beta Invite"
method: POST
path: "/api/v1/beta-invites/{invite_id}/reissue"
tags: ["beta-invites"]
---

# Reissue Beta Invite

`POST /api/v1/beta-invites/{invite_id}/reissue`

## 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/{invite_id}/reissue`
- Auth: none declared

Replace an own ``active`` or ``expired`` invite with a fresh link (#1595).

For a recipient who lost the link: only the hash is stored, so the URL cannot
be shown again. The old invite is revoked and a new one carrying the same
label is minted in one transaction; the quota standing of an ``active``
invite is unchanged. Takes no body.

Args:
    invite_id: The invite to replace.
    request: FastAPI request (IP / User-Agent for the audit rows).
    user: Authenticated session user.
    db: Database session.

Returns:
    Exactly the create payload — the new invite and its plaintext URL, once.

Raises:
    NotFoundException: 404 — unknown id, or someone else's invite.
    BetaInviteAlreadyRedeemedError: 409 ``BETA-INVITE-002``.
    BetaInviteAlreadyRevokedError: 409 ``BETA-INVITE-003`` — also what the
        second request of a double-click gets; it mints nothing.
    BetaInviteQuotaExceededError: 409 ``BETA-INVITE-001`` — an ``expired``
        invite holds no slot, so reissuing one at the cap is refused (and the
        invite is left as it was).

## Path parameters

- `invite_id` string, uuid, required

## Headers

- `authorization` 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)
