API reference / Documents
Documents
GET /v1/documents
List Documents
Query
-
statusstring | null -
folderstring (uuid) | null -
qstring (max length 200) | null -
sortstring default"created" -
batchstring (uuid) | null . A bulk send id: list only its member documents. Without it, members of bulk sends are hidden (the batch is the first-class object, BS-4). -
limitinteger (>= 1, <= 200) default50 -
offsetinteger (>= 0) default0
Responses
- 200 DocumentPage
- 4xx 5xx
application/problem+json; see the error reference.
POST /v1/documents
Create Document
Request body (application/json, required)
| Member | Type | Notes |
|---|---|---|
date_format | string | null | |
display_timezone | string | null | |
expires_at | string (date-time) | null | |
fields | array of FieldSpecFieldSpec | |
message | string | null | |
recipients | array of RecipientSpecRecipientSpec | |
redirect_url | string | null | |
reminder_cadence_days | integer (>= 1) | null | |
title required | string (min length 1, max length 300) | |
visibility | string | Default "everyone". |
Responses
- 201 DocumentDraftOut
- 4xx 5xx
application/problem+json; see the error reference.
GET /v1/documents/{doc_id}
Get Document
Path
doc_idstring
Responses
- 200
DocumentOut | DocumentAwaitingUpload - 4xx 5xx
application/problem+json; see the error reference.
PATCH /v1/documents/{doc_id}
Patch Document
Path
doc_idstring
Request body (application/json, required)
| Member | Type | Notes |
|---|---|---|
clear_folder | boolean | Default false. |
date_format | string | null | |
display_timezone | string | null | |
folder_id | string (uuid) | null | |
redirect_url | string | null | |
reminder_cadence_days | integer (>= 0) | null | |
visibility | "everyone" | "managers" | null |
Responses
- 200 DocumentOut
- 4xx 5xx
application/problem+json; see the error reference.
PUT /v1/documents/{doc_id}/content
Upload Document Content
Direct-upload fallback for backends without presigned PUT.
Path
doc_idstring
Responses
- 204 no body
- 4xx 5xx
application/problem+json; see the error reference.
GET /v1/documents/{doc_id}/download
Download Document
Path
doc_idstring
Query
-
variantstring default"signed"
Responses
- 200
any - 4xx 5xx
application/problem+json; see the error reference.
POST /v1/documents/{doc_id}/duplicate
Duplicate Document
T-5 "use as new" (D54): a fresh draft from the original PDF with the same recipients, fields, and display preferences. No signing links exist until it is sent; nothing is emailed.
Path
doc_idstring
Request body (application/json)
Type: DuplicateDocumentIn | null
Responses
- 201 DocumentOut
- 4xx 5xx
application/problem+json; see the error reference.
GET /v1/documents/{doc_id}/events
Document Events
Path
doc_idstring
Query
-
after_seqinteger (>= 0) default0
Responses
- 200
array of EventOut - 4xx 5xx
application/problem+json; see the error reference.
PUT /v1/documents/{doc_id}/fields
Put Fields
Path
doc_idstring
Request body (application/json, required)
Type: array of FieldSpec
Responses
- 200
array of FieldOut - 4xx 5xx
application/problem+json; see the error reference.
POST /v1/documents/{doc_id}/finalize
Finalize Document
Path
doc_idstring
Responses
- 200 DocumentOut
- 4xx 5xx
application/problem+json; see the error reference.
PUT /v1/documents/{doc_id}/recipients
Put Recipients
Path
doc_idstring
Request body (application/json, required)
Type: array of RecipientSpec
Responses
- 200
array of RecipientOut - 4xx 5xx
application/problem+json; see the error reference.
POST /v1/documents/{doc_id}/send
Send Document
Path
doc_idstring
Request body (application/json)
Type: SendReq | null
Responses
- 202 SendOut
- 4xx 5xx
application/problem+json; see the error reference.
POST /v1/documents/{doc_id}/void
Void Document
Path
doc_idstring
Request body (application/json, required)
| Member | Type | Notes |
|---|---|---|
reason required | string (min length 1, max length 1000) |
Responses
- 202 VoidOut
- 4xx 5xx
application/problem+json; see the error reference.