---
title: "Edit Recipient Endpoint"
method: POST
path: "/editRecipient"
---

# Edit Recipient Endpoint

`POST /editRecipient`

## Request

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

Updates a recipient's information in the database.

Expects:
    - JSON with:
        - 'recipientId': unique identifier of the recipient (required)
        - 'name': new name for the recipient (optional)
        - 'primaryEmail': new primary email for the recipient (optional)
        - 'description': new description for the recipient (optional)
        - 'additionalEmails': list of additional emails (optional)
        - 'projectId'

Returns:
    - Success message if recipient was found and updated
    - Error if recipient not found or other issues occur

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pavoot/apis/pavoot-api.md) - [All operations](https://skmtc.dev/pavoot/apis/pavoot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pavoot/apis/pavoot-api/revisions/8c0cd91c2a05?raw)
