Get document approval status
You're viewing API version
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.GET
Get the current approval status for a document. Returns the approval chain (approvers, ordered by stage), the overall status derived from it, and requester information.
header
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*stringDocument approval status
application/json- response
Document approval status
id*stringApproval ID
documentId*stringDocument ID
status*stringOverall approval status, derived from the chain: REJECTED if any step was rejected, PENDING if any step is still pending, otherwise APPROVED
Value in
"PENDING""APPROVED""REJECTED"autoSend*booleanWhether the document is sent automatically once the chain fully approves
approvers*array<>The ordered approval chain
requestedBy*The user who submitted for approval
customMessage*|Custom message for signing invitation
createdAt*unknownWhen the approval was requested
curl -X GET 'https://app.sajn.se/api/v1/documents/string/approval' \ -H 'authorization: string'Example Response
{ "id": "string", "documentId": "string", "status": "PENDING", "autoSend": true, "approvers": [ { "approverId": "string", "name": "string", "email": "string", "order": 0, "status": "PENDING", "comment": "string", "resolvedAt": null } ], "requestedBy": { "id": "string", "firstName": "string", "lastName": "string", "email": "string" }, "customMessage": "string", "createdAt": null}Was this page helpful?