Object
AgreementInput
Your whole current view of the envelope.
Fields
| Field | Type | Description |
|---|---|---|
| externalId | string | null | Your stable id for the envelope (a DocuSeal submission id, say). Required unless status is failed: a failure before any envelope exists, missing fields or an API outage, annotates the current agreement instead. |
| status required | enum | "sent""completed""declined""failed""voided" |
| sentAt | timestamp | null | Defaults to now the first time the status is reached, and is kept afterwards. ISO 8601 |
| completedAt | timestamp | null | As sentAt. ISO 8601 |
| declinedAt | timestamp | null | As sentAt. ISO 8601 |
| voidedAt | timestamp | null | As sentAt. ISO 8601 |
| error | string | null | Why it failed, for staff to read on the booking. Only kept while status is failed. max 2000 chars |
| documentUrl | url | null | Where the provider hosts the executed document. Shown to staff as a link. max 2000 charshttps only |
| signers | SignerInput[] | Up to ten. Matched by role; a party you leave out is left as it was. max 10default [] |