Documents
Change a sent document's expiration date
Change the expiration date of a document that has already been sent for signing. The new date can be earlier or later than the current one.
Status Requirements:
- Document must be in
PENDINGorEXPIREDstatus. AnEXPIREDdocument returns toPENDING. A document in any other status returns409 INVALID_STATE. ForDRAFTdocuments, setexpiresAtwithPATCH /api/v1/documents/{id}instead.
Permissions:
- Requires the
EDIT_DOCUMENTworkspace permission.
Request Body:
expiresAt(required) - The new expiration date/time (ISO 8601). Must be at least 24 hours in the future.
What happens:
- The document’s
expiresAtis updated. - An audit log entry is recorded.
- Every recipient that is still notifiable (has an email, notifications enabled, delivery method other than
NONE, and has not rejected) is emailed that the signing deadline has moved.
Response: Returns the document in the same shape as GET /api/v1/documents/{id}, without fields.
POST
Change a sent document's expiration date
Authorizations
Headers
ID of the workspace this request acts in, from GET /api/v1/workspaces. Without it, an API key acts in its default workspace. The token's user must be a member of the workspace; an OAuth token only accepts the workspace it was granted for. A workspace that doesn't exist or can't be reached returns 403 WORKSPACE_ACCESS_DENIED.
Body
application/json
Body
Response
200
Change a sent document's expiration date

