Update a document
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.Update document properties. A DRAFT document accepts every field. After sending, what you can change depends on the field, and a locked field returns 400 with the reason.
Updatable Fields:
name- Document titleexternalId- Your external reference IDexpiresAt- Document expiration dateresponsibleUserId- User ID of responsible team member (must be in your organization)documentMeta- Metadata including subject, message, and signing ordercustomFields- Custom field values
Per-Signer Settings: Delivery method and signature type are configured per-signer via the signers endpoint, not at the document level.
After sending:
name,externalId,responsibleUserId,valueanddocumentCategoryIdcan always change.- Reminders, subject, message, redirect, chat, delegation, internal recipients and
signableAfterExpiredcan change until the document is completed, cancelled or rejected. expiresAtmoves the deadline (at least 24 hours ahead) and notifies the parties, likePOST /api/v1/documents/{id}/extend-expiration.accessVerification,forceReadFullDocumentandpreferredLanguagecan change until someone has signed.signingOrder,ssnDisplayMode,sameDeviceSigninganddocumentStylecan't change; withdraw the document first.
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*stringIdempotency-Key?stringMakes 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.
length <= 255Body
application/json- body
name?stringexternalId?stringexpiresAt?unknownresponsibleUserId?stringUser ID of the person responsible for this document. Must be a member of your organization.
documentMeta?documentStyle?Document styling configuration including orientation, padding, background, and layout
customFields?array<>200
application/json- response
id*stringUnique document identifier
externalId?|Your external reference ID for this document
expiresAt?|Date and time when the document expires
date-timename*stringDocument name/title
status*stringDocument status: DRAFT, SENDING, PENDING, COMPLETED, EXPIRED, CANCELLED, or IMPORTED
documentMeta?|Document metadata including subject, message, signing order, etc.
createdAt*stringDate and time when the document was created
date-timeupdatedAt*stringDate and time when the document was last updated
date-timecompletedAt?|Date and time when all signers completed signing
date-timecurl -X PATCH 'https://app.sajn.se/api/v1/documents/string' \ -H 'authorization: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "externalId": "string", "expiresAt": "2019-08-24T14:15:22Z", "name": "string", "status": "string", "documentMeta": { "subject": "string", "message": "string", "signingOrder": "PARALLEL", "forceReadFullDocument": true, "showChatToSigners": true, "preferredLanguage": "sv", "value": "string", "redirectUrl": "string", "redirectEnabled": true, "internalRecipients": [ "string" ], "signableAfterExpired": true, "sendPlainTextEmailOnly": true, "reminderIntervalDays": "string", "allowDelegation": true, "accessVerification": "NONE", "aiChatEnabled": true, "ssnDisplayMode": "FULL", "sameDeviceSigning": true, "documentCategoryId": "string" }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z"}Was this page helpful?