Signatures

Envelope Audit Log Download

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

Retrieves the audit trail for a specific envelope as a downloadable file.

  • The file provides a formal record of the envelope’s lifecycle for compliance, auditing, or record-keeping purposes.
  • The envelope is identified using the envelopeId path parameter.
  • The request returns the audit trail as a binary stream (application/octet-stream). Response is NOT wrapped in the standard result envelope - raw PDF bytes are returned directly, but with Content-Type application/octet-stream (not application/pdf) as actually set by the server.

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/octet-stream

application/json

application/json

curl -X GET "https://example.com/signatures/envelope/string/audit/download"
Empty
{  "error": {    "message": "Envelope not found.",    "statusCode": 400,    "innerErrors": [      {        "code": "ENVELOPE_ID_INVALID",        "message": "Envelope not found.",        "userMessage": "Envelope not found."      }    ]  },  "origin": "POST https://apim-mavenheadless-dev-westeu-1.azure-api.net/v1/signatures/envelope/create",  "dateTime": "2026-07-20T12:00:00.0000000+00:00"}
{  "error": {    "message": "Envelope not found.",    "statusCode": 400,    "innerErrors": [      {        "code": "ENVELOPE_ID_INVALID",        "message": "Envelope not found.",        "userMessage": "Envelope not found."      }    ]  },  "origin": "POST https://apim-mavenheadless-dev-westeu-1.azure-api.net/v1/signatures/envelope/create",  "dateTime": "2026-07-20T12:00:00.0000000+00:00"}