> **Source:** https://knowledge.leegality.com/document-execution/api/activate-pack-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/activate — Activate invitation :::info[Sandbox endpoint] **Authentication:** `X-Auth-Token` header required on every request. ## Request URL ``` POST https://app1.leegality.com/api/v4/packs/invitations/activate ``` **Environments:** - Production: `https://app1.leegality.com/api/v4/packs/invitations/activate` - Sandbox: `https://sandbox.leegality.com/api/v4/packs/invitations/activate` --- ## 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 to activate. **Required.** | `https://app1.leegality.com/sign/abc123` | ### Sample Request ```json { "signUrl": "https://app1.leegality.com/sign/abc123" } ``` --- ## Responses ### 200 — Invitation activated. Returns all invitations that were activated (the requested one plus any group siblings). **Error codes** The request is rejected if any of the following applies: | Scenario | Result | | --- | --- | | `signUrl` missing, empty, null, an array, or invalid JSON body | 400 `LE_ERR_AP_057` | | `signUrl` invalid, not found, or from a different tenant | 404 `LE_ERR_AP_016` | | Invitation already active | `INVITATION_ALREADY_ACTIVE` | | Invitation already signed | `INVITATION_SIGNED` | | Invitation rejected | `INVITATION_REJECTED` | | Invitation completed | `INVITATION_COMPLETED` | | `preventChangesToSigningOrder` is `true` for the pack | `SIGNING_ORDER_LOCKED` | | Expired JWT | 401 `LE_ERR_AP_080` | | Missing auth token | 403 Access Denied | | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `data` | object | No | Response payload. See **data** below. | — | #### data Response payload. | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `activatedInvitations` | array\ | No | All invitations that were activated — the requested one plus any siblings in the same invitee group. See **activatedInvitations** below. | — | ##### activatedInvitations | Field | Type | Required | Description | Example | |-------|------|----------|-------------|---------| | `signUrl` | string | No | The activated invitation's sign URL. | `https://app1.leegality.com/sign/abc123` | | `status` | string | No | New status of the invitation (`ACTIVE`). | `ACTIVE` | | `activatedAt` | string | No | Activation timestamp (ISO 8601). | `2026-02-10T12:00:00Z` | | `notificationSent` | boolean | No | Whether a notification was sent to this invitee. | `true` | ### Sample Response (200) ```json { "data": { "activatedInvitations": [ { "signUrl": "https://app1.leegality.com/sign/abc123", "status": "ACTIVE", "activatedAt": "2026-02-10T12:00:00Z", "notificationSent": true } ] } } ```