---
title: "Use this API to reactivate expired documents"
method: POST
path: "/v2.1/sign/request/reactivate"
tags: ["Document Execution Platform"]
---

# Use this API to reactivate expired documents

`POST /v2.1/sign/request/reactivate`

You can use this API to reactivate expired documents within 30 days of expiry. Please note that Stamped Documents cannot be reactivated using this API.

## Request body

- ReactivateRequest
  - `documentId` string, required — Document ID which need to be reactivated.
  - `expiryDays` integer — Can be used to define the new timeout period after which an uncompleted transaction gets cancelled and reversed. -1 is for 45 minutes, 0 means same day (11:59 PM) , 1 stands for next day , 2 stands for 2 days and so on. In case of expiryDays and expiryTime both passed in the API, priority will be given to expiryTime.
  - `expiryTime` integer — Can be used to define the new timeout time after which an uncompleted transaction get cancelled and reversed. Maximum value can be equal to 365 days. Value in this parameter to be passed as long format of date.

## Response `200`

Default Response

- ReactivateApiResponse
  - `status` integer — if success then 1, else 0.
  - `messages` Message[]
    - `code` string — Message Code.
    - `message` string — Success/Error Message.
  - `data` ReactivateApiResponseData
    - `documentId` string — documentId is a unique Leegality ID created for every eSigning request.
    - `irn` string — Internal Reference Number.
    - `invitations` ReactivateResponseInvitation[]
      - `name` string — Name of the invitee.
      - `email` string — Email of the invitee.
      - `phone` string — Phone Number of the invitee.
      - `signUrl` string — User specfic URL unique to the request.
      - `active` boolean — Status of the URL.
      - `signed` boolean — Request eSigning status.
      - `rejected` boolean — Request rejection status.
      - `expired` boolean — Request expiration status.
      - `expiryDate` string — Request expiration date. Format (dd-MM-yyyy HH:mm:ss)
      - `signType` string — This parameter will be there only for Webhook when the document has been signed. Possible values are- AADHAAR, VIRTUAL_SIGN, DSC, DOC_SIGNER, AUTOMATED_SIGN, QUICK_SIGN

---

[API](https://skmtc.dev/leegality/apis/leegality-documentation-gateway.md) · [All operations](https://skmtc.dev/leegality/apis/leegality-documentation-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/leegality/leegality-documentation-gateway/revisions/0290f3a2dc73/schema)
