---
title: "Invite Recipient Endpoint"
method: POST
path: "/inviteRecipient"
---

# Invite Recipient Endpoint

`POST /inviteRecipient`

Invites a recipient by generating a password, saving them to the database, and sending an email.

Expects:
    - JSON with:
        - 'name': recipient's name
        - 'email': recipient's email
        - 'description': recipient's description
        - 'projectId': ID of the project to associate with

Returns:
    - Success message with clerk_user_id if successful
    - Error if required fields are missing or other issues occur

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pavoot/apis/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/16997cca6697/schema)
