A document attached to an engagement, such as the engagement letter, a consent form, or an add-on, with its signing requirements and its consent outcome. Returned by GET /gql/v1/engagement_documents/by_engagement/{engagementId}, in an engagementDocuments list ordered by createdAt, oldest first. An engagement with no documents returns an empty list.
| Name | Type | Format | Nullable | Description | Example |
|---|---|---|---|---|---|
id | integer | — | No | Unique engagement document identifier. | 101 |
fileId | integer | — | Yes | The document's file. null when no file is attached. | 5001 |
engagementId | integer | — | No | The engagement the document belongs to. | 34567 |
engagementDocumentTypeId | integer | EngagementDocumentType | No | The document's type. | 4 |
is_active | boolean | — | No | true while the document is part of the engagement. | true |
clientFacing | boolean | — | No | true when the client can see the document. | true |
blocksExecution | boolean | — | No | true when the document must be signed before the engagement can be executed. | true |
signatureRequirementType | string | enum (SignatureRequirementType) | Yes | Whether every signer or any one signer must sign. | "ALL_SIGNATURES_REQUIRED" |
createdAt | string | date-time (ISO 8601) | No | When the document was created. | "2024-01-15T10:00:00+00:00" |
updatedAt | string | date-time (ISO 8601) | No | When the document was last updated. | "2024-03-20T14:30:00+00:00" |
affirmativeStatus | string | enum (AffirmativeStatus) | Yes | The consent outcome of a consent or add-on document. null for other document types, and for a consent or add-on document with no signers assigned. | "AFFIRMATIVE" |
createdByStaffId | integer | — | Yes | Staff member who created the document (staff id). | 102 |
lastUpdatedByStaffId | integer | — | Yes | Staff member who last updated the document (staff id). | 102 |
manuallyUploadedAt | string | date-time (ISO 8601) | Yes | When the document was uploaded by hand rather than generated from a template. null for generated documents. | null |
pages | integer | — | Yes | Number of pages in the document. | 4 |
totalExpectedInitials | integer | — | Yes | How many initials the document expects in total, across all signers. | 2 |
totalExpectedSignatures | integer | — | Yes | How many signatures the document expects in total. | 1 |
hasAppendedCertificateOfCompletion | boolean | — | Yes | true once a certificate of completion has been appended to the document. | false |
documentType | object | DocumentType | No | The document's type, with its name. | — |
| Name | Type | Format | Nullable | Description | Example |
|---|---|---|---|---|---|
id | integer | — | No | Document type identifier, the same value as engagementDocumentTypeId. | 4 |
name | string | — | No | Document type name. | "Consent Document" |
Every firm has the same document types:
engagementDocumentTypeId | documentType.name |
|---|---|
1 | Engagement Letter |
2 | Supplemental Document |
3 | Combined Document |
4 | Consent Document |
5 | Agreement Document |
6 | Add-On Document |
One of: ALL_SIGNATURES_REQUIRED (every signer must sign), ONE_SIGNATURE_REQUIRED (any one signer is enough).
One of:
AFFIRMATIVE: every signer agreed.NEGATIVE: at least one signer declined.INDETERMINATE: at least one signer agreed, and others still have to answer.EMPTY: signers are assigned, but none has answered yet.
These rules don't change with signatureRequirementType. For a ONE_SIGNATURE_REQUIRED document, any decline makes the status NEGATIVE, and an agreement while other signers haven't answered makes it INDETERMINATE. To get the outcome of a one-signature consent, use the Engagement CONSENT_RECORDED webhook instead.