The delivery record
The three outcomes
Where to read it
Session detail
GET /esign/sessions/:sessionId returns inviteDelivery on each signer. It holds the record of the most recent invitation or resend to that signer. Sessions created before delivery tracking existed have no inviteDelivery.
GET /esign/sessions returns the summary field inviteOutcome (accepted, failed, unknown or null) on each signer.
Audit trail
GET /esign/sessions/:sessionId/audit includes the record as metadata.delivery on these events:
Reminders and completion emails are recorded in the audit trail only. They do not update
inviteDelivery.
Webhooks
If the automation has a webhook URL and webhook notifications are on, DocsAutomator posts one event per email:esign.email_failed has the same shape with outcome set to failed or unknown. signerIndex is null for emails to notification recipients who are not signers.
These events go to the same webhook URL as
esign.signer_signed and the other e-sign events. Branch on the event field.Recommended integration
To know conclusively what happened to an invitation:- Create the document as usual. Do not treat the generation response or the
esign.session_createdwebhook as proof that any email was sent. - Listen for
esign.email_sentandesign.email_failedwithemail.kindequal toinvitationorresend. Match onsessionIdandemail.signerIndex. - If you poll instead, read
signers[].inviteDelivery.outcomefromGET /esign/sessions/:sessionId. A signer whoseinviteDeliveryis missing several minutes after session creation had the send job fail before any provider was reached; check the run in Documents for the error.
Fallback to DocsAutomator’s sender
When an automation sends from a connected Gmail or Outlook mailbox and that mailbox rejects the message (for example, the connection expired or Google returned an error), DocsAutomator sends the same email through its own sender,sign@esign.docsautomator.co, so the signing request still goes out. The delivery record shows this as provider: "postmark" with fallbackFrom and fallbackReason set. In that case nothing appears in the Gmail or Outlook Sent folder.
A mailbox timeout does not fall back. It is recorded as unknown, because the mailbox may already have sent the message.