Search code examples
loggingdocusignapiaudit

Reading docusign audit logs


I would like to read docusign audit logs like who, when the document was signed? I looked at the rest api for requests log but it is returning only limited records (restapi/v2/diagnostics/request_logs). Any idea where and how'll I get the detailed audit and admin logs?


Solution

  • You are using wrong endpoint, correct endpoint is

    GET /v2/accounts/{accountId}/envelopes/{envelopeId}/audit_events
    

    More details for above end point are available at ListAuditEvents

    Instead of always doing polling using APIs to know the envelope status or recipient status, I would recommend you to use DS Connect. DS Connect is like webhook, it will push the XML message to you for the subscribed event. This way you will always get the update from DS whenever any event is happening on the envelope.