Signatures

Envelope Audit Log Get

GET
/signatures/envelope/{envelopeId}/audit/get

Retrieves the audit trail for a specific envelope in JSON format.

  • The envelope is identified using the envelopeId path parameter.
  • The JSON response contains a detailed log of all actions related to the envelope, including creation, sending, legal terms acceptance, receipt, and signing, performed by users or recipients.
  • This endpoint tracks the envelope's lifecycle, supporting transparency, compliance, and accountability in the document signing workflow. No tid/recipient access - authenticated envelope owner/participant only.

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 where the attachment will be added.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/signatures/envelope/string/audit/get"
{  "result": {    "statusCode": 200,    "message": "OK",    "data": {      "auditTrails": [        {          "id": "cbfb9d9f-87fd-4f2a-be6c-af8f1066127c",          "user": {            "id": "b5590158-520c-4ec9-8420-e20f54834a9b",            "name": "John Smith",            "email": "name@example.com"          },          "recipient": {            "id": "1fcfd10f-eb93-4fe9-8f15-0e6bb18f8c4b",            "name": "Jane Doe",            "email": "name@example.com"          },          "signGroup": {            "id": "dce45176-7379-45f4-8462-7c88d0992a39",            "name": "Q3 Sales Report.pdf"          },          "action": "Sent",          "timestamp": "string",          "ipAddress": "203.0.113.42",          "additionalInfo": "Viewed from a desktop browser"        }      ]    }  },  "origin": "GET https://api.doctavian.com/v1/signatures/envelope/{envelopeId}/audit/get",  "dateTime": "2026-07-20T12:00:00.000Z",  "userId": "144f2f32-b488-4de0-b097-9c4e0d2ee7d6"}
{  "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}/audit/get",  "dateTime": "2026-07-20T12:00:00.000Z",  "userId": "a1cf8df9-edd8-4157-b7db-dda5c6123064",  "operationId": "d1f88469f507fc2d2fe1e6f50e901bfd"}
{  "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}/audit/get",  "dateTime": "2026-07-20T12:00:00.000Z",  "userId": "d5ca796b-e2ce-4254-8387-2e3878aa882b",  "operationId": "c04c2b5c2ccd1f84923cbe1c6c80b839"}