> **Source:** https://knowledge.leegality.com/document-execution/api/reactivate-invitation > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # POST /v4/packs/invitations/reactivate — Reactivate invitation :::info[Sandbox endpoint] **Authentication:** `X-Auth-Token` header required on every request. ## Request URL ``` POST https://app1.leegality.com/api/v4/packs/invitations/reactivate ``` **Environments:** - Production: `https://app1.leegality.com/api/v4/packs/invitations/reactivate` - Sandbox: `https://sandbox.leegality.com/api/v4/packs/invitations/reactivate` --- ## Request Body **Content-Type:** `application/json` | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `signUrl` | string | Yes | The invitation's sign URL — the per-person signing link for the invitee you want to reactivate. **Required.** | `https://app1.leegality.com/sign/abc123` | | `expiryDays` | integer | No | New validity for the reactivated invitation, in days. Default `10`. Allowed range `-1` to `365`: `-1` = 45 minutes, `0` = same day, `1`–`365` = that many days. `0` bypasses the range check and is always accepted. This applies to every expired combination for the invitation. | `15` | ### Sample Request ```json { "signUrl": "https://app1.leegality.com/sign/abc123", "expiryDays": 15 } ``` --- ## Responses ### 200 — Invitation reactivated. **Error codes** The request is rejected if any of the following applies: | Scenario | Result | | --- | --- | | `signUrl` missing, empty, or null | `LE_ERR_AP_055` | | `signUrl` invalid or does not resolve | `LE_ERR_AP_016` | | `expiryDays` above the maximum (365) | `LE_ERR_AP_065` | | `expiryDays` below the minimum (-1) | Validation error | | Non-empty `combinations` array (not supported — use top-level `expiryDays`) | `LE_ERR_AP_020` | | Invitation not expired (active), already signed, or rejected | Error | | Expired JWT (401) | `LE_ERR_AP_080` | | Missing auth token (403) | `LE_ERR_AP_081` | | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `data` | object | No | Response payload. See **data** below. | — | #### data Response payload. | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `packId` | string | No | ID of the pack the invitation belongs to. | `01M0CSD4TJSD14R35SSG0VGNTD` | | `signUrl` | string | No | The invitation's sign URL. | `https://app1.leegality.com/sign/1813c566-ab07-4088-b217-27bf` | | `reactivationStatus` | string | No | Reactivation result. Always `REACTIVATED`. Allowed: `REACTIVATED`. | `REACTIVATED` | ### Sample Response (200) ```json { "data": { "packId": "01M0CSD4TJSD14R35SSG0VGNTD", "signUrl": "https://app1.leegality.com/sign/1813c566-ab07-4088-b217-27bfe4c2a009", "reactivationStatus": "REACTIVATED" } } ```