---
title: "Post Referral Invites"
method: POST
path: "/referral/invites"
---

# Post Referral Invites

`POST /referral/invites`

## Request

- Base URL: `https://api.local-mcp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.local-mcp.com/referral/invites`
- Auth: none declared

Create per-recipient invite records and return their unique links. Called by
the create_referral_invites tool right before the agent sends the emails. Idempotent
per (owner, recipient email) so re-running the flow reuses the same link.

## Request body

- ReferralInvitesRequest
  - `machine_id` string
  - `email` string
  - `lang` string
  - `recipients` ReferralInviteRecipient[]
    - `name` string
    - `email` string

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/local-mcp/apis/lmcp-api.md) · [All operations](https://skmtc.dev/local-mcp/apis/lmcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/local-mcp/apis/lmcp-api/revisions/f1f1c502623a?raw)
