List workspace approvals
Changed onList all approval requests across the workspace in one paginated stream. Use for incremental sync by external integrations instead of polling each post individually. Supports keyset pagination and filters by status, post, approver, requester, and date range. Approvals on archived posts are included; filter client-side with post.archivedAt. Soft-deleted approvals are omitted from results.
Request
- Base URLhttps://app.tryordinal.com/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Maximum number of approvals to return (1-100)
Pagination cursor from the previous response's nextCursor. Format is timestampMs:approvalId. When paginating, pass the same sortBy and sortOrder as the initial request.
Field to sort results by. Use updatedAt for incremental sync so newly-updated approvals stream in order.
Sort order. Use asc with sortBy=updatedAt for incremental sync.
Return approvals updated at or after this time. Pair with sortBy=updatedAt and sortOrder=asc for incremental sync from a saved checkpoint.
Return approvals updated at or before this time.
Return approvals created at or after this time.
Return approvals created at or before this time.
Filter by approval statuses. Repeat the parameter to match any of multiple values.
Filter by post IDs. Repeat the parameter to match any of multiple values.
Filter by approver user IDs. Repeat the parameter to match any of multiple values.
Filter by IDs of users who requested the approval. Repeat the parameter to match any of multiple values.
Response
Paginated list of workspace approvals
Changes
- info
endpoint added
- info