Skip to main content
PATCH
Update a document

Authorizations

Authorization
string
header
required

OAuth 2.0 access token for a connected application. Limited to the scopes granted at consent.

Headers

authorization
string
required

Bearer token for API authentication

Idempotency-Key
string

Makes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.

Maximum string length: 255

Path Parameters

id
string
required

Body

application/json

Body

name
string
externalId
string
expiresAt
unknown
responsibleUserId
string

User ID of the person responsible for this document. Must be a member of your organization.

documentMeta
object
documentStyle
object

Document styling configuration including orientation, padding, background, and layout

customFields
object[]

Response

200

id
string
required

Unique document identifier

name
string
required

Document name/title

status
string
required

Document status: DRAFT, SENDING, PENDING, COMPLETED, EXPIRED, CANCELLED, or IMPORTED

createdAt
string<date-time>
required

Date and time when the document was created

updatedAt
string<date-time>
required

Date and time when the document was last updated

externalId
string | null

Your external reference ID for this document

expiresAt
string<date-time> | null

Date and time when the document expires

documentMeta
object | null

Document metadata including subject, message, signing order, etc.

completedAt
string<date-time> | null

Date and time when all signers completed signing