Reject a document
Reject a pending document. A comment is required explaining the reason. Rejection is fail-fast — one rejected step rejects the whole chain — and the document status returns to DRAFT so the creator can make changes and resubmit.
Authorizations
Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
Headers
Bearer token for API authentication
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.
255Path Parameters
Body
Body
Reject a document
Required comment explaining why the document was rejected
1Response
Document approval status
Document approval status
Approval ID
Document ID
Overall approval status, derived from the chain: REJECTED if any step was rejected, PENDING if any step is still pending, otherwise APPROVED
PENDING, APPROVED, REJECTED Whether the document is sent automatically once the chain fully approves
The ordered approval chain
The user who submitted for approval
Custom message for signing invitation
When the approval was requested

