Signatures

Envelope Restore

GET
/signatures/envelope/{envelopeId}/restore

Restores a previously deleted draft envelope.

  • The envelope is identified using the envelopeId path parameter.
  • This endpoint allows the sender to recover an envelope deleted while in the "Draft" state.
  • Upon restoration, the envelope returns to the "Draft" state, enabling the sender to continue editing or sending it. Note: state-mutating operation exposed as GET. Always restores to Draft status; only works on envelopes currently in Deleted status.

Authorization

AuthorizationBearer <token>

JWT token to authenticate the request.

In: header

X-Api-Key<token>

API key, sent as a request header.

In: header

Path Parameters

envelopeId*string

The ID of the envelope that should be restored.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/signatures/envelope/string/restore"
{  "result": {    "statusCode": 200,    "message": "OK",    "data": {      "envelope": {        "id": "6ae742b3-da9e-43bb-96a4-038b46f6b474",        "message": "Thank you for completing this document."      }    }  },  "origin": "GET https://api.doctavian.com/v1/signatures/envelope/{envelopeId}/restore",  "dateTime": "2026-07-20T12:00:00.000Z",  "userId": "f5e8e31b-2472-4763-a5e8-703e9e99c400"}
{  "error": {    "message": "Envelope not found.",    "statusCode": 400,    "innerErrors": [      {        "code": "ENVELOPE_ID_INVALID",        "message": "Envelope not found.",        "userMessage": "Envelope not found."      }    ]  },  "origin": "GET https://api.doctavian.com/v1/signatures/envelope/{envelopeId}/restore",  "dateTime": "2026-07-20T12:00:00.000Z",  "userId": "fbce11c2-b03a-4881-8d9b-b31e24e37755",  "operationId": "74fec8f426e47967fc6280f888f4b31a"}
{  "error": {    "message": "Envelope not found.",    "statusCode": 500,    "innerErrors": [      {        "code": "ENVELOPE_ID_INVALID",        "message": "Envelope not found.",        "userMessage": "Envelope not found."      }    ]  },  "origin": "GET https://api.doctavian.com/v1/signatures/envelope/{envelopeId}/restore",  "dateTime": "2026-07-20T12:00:00.000Z",  "userId": "ca318543-7e6f-4511-b815-fdf97fc00897",  "operationId": "b41c6884665f78bafd7ea1329cc6f035"}