Documents
List document drafts
Lists drafts for a document with branch context. By default only active drafts are returned; pass include=archived to also include soft-deleted drafts (retained ~7 days). Results are sorted by createdAt descending.
get/api/v1/documents/{identifier}/drafts
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/documents/{identifier}/drafts
- AuthHTTP bearer
Path parameters
identifierstring required
Document identifier (either document ID or identifier slug)
Example:abc123
Query parameters
includestring
Comma-separated list of additional drafts to include. Only "archived" is recognized — when present, soft-deleted drafts (retained ~7 days) are returned alongside active drafts.
Example:archived
Response
List of drafts for the document
Changes
No recorded changes to this operation across all 97 revisions of this API.