Skip to main content
POST
Add a document to a signing request

Authorizations

Authorization
string
header
required

API key for authentication. Use your API key directly without any prefix (e.g., 'your-api-key'). Bearer prefix is optional but not required.

Path Parameters

id
string<uuid>
required

Signing request ID

Body

application/json
document_id
string<uuid>
required

Temporary upload id from POST /documents (a PDF). Consumed once the document is added.

position
integer

1-based position of the new document; at most the current count + 1. Defaults to last.

Required range: x >= 1
label
string | null

Display name of the document (no control characters).

Maximum string length: 200
original_filename
string | null

File name to record for the document (no control characters).

Maximum string length: 255

Response

Document added; the full document set after the change

Answer of every /documents mutation: the full document set after the change and its two versions.

documents
object[]
required
documents_version
integer
required
documents_layout_version
integer
required