Skip to main content
POST
Change a sent document's expiration date

Authorizations

Authorization
string
header
required

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

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

Change the expiration date of a PENDING or EXPIRED document. Recipients are notified that the deadline moved.

expiresAt
string<date-time>
required

New expiration date/time (ISO 8601). Must be at least 24 hours in the future. Can be earlier or later than the current expiration.

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