Get Latest Draft
| Version | Change |
|---|---|
| release-2022-03 | Initial support in version beta |
| release-2024-03 | Added ignoreComponentConditions and componentConditions query parameters. |
| release-2025-03 | Support for top-level property references in version 2025-03 |
| release-2025-09 | Support for the renditions query string got removed. An error is reported if used. |
Required scope:
public-api:writepublic-api:drafts:read
Description
This endpoint returns the most recent draft version of a document.
The response is a JSON object with 5 possible top-level properties:
- systemdata
- metadata
- content
- references
Use Cases
- Automation: Fetch draft, modify draft with an external system, update a draft via Document Command API
- Create a Document Preview with an external draft service
- Drafts Delivery Build (Digital Ausgabe)
Endpoint
GET /api/2025-09/documents/{documentId}/latestDraftParameters
| Name | Type | Required | Notes |
|---|---|---|---|
| documentId | integer | x | |
| ?ignoreComponentConditions | boolean | Added in: release-2024-03Provides a way to opt out of component filtering and return all content regardless of whether each component passes the conditional checks. Default: | |
| ?componentConditions | string | Added in: release-2024-03JSON stringified object which contains the component conditions you would like to apply. Default: |
Response
Get Latest Draft
This endpoint has changes in version 2025-09.
| Version | Change |
|---|---|
| release-2022-03 | Initial support in version beta |
| release-2024-03 | Added ignoreComponentConditions and componentConditions query parameters. |
| release-2025-03 | Support for top-level property references in version 2025-03 |
| release-2025-09 | The renditions query string is deprecated and logs a warning when used |
Required scope:
public-api:writepublic-api:drafts:read
Description
This endpoint returns the most recent draft version of a document.
The response is a JSON object with 5 possible top-level properties:
- systemdata
- metadata
- content
- references
- renditions (deprecated)
Use Cases
- Automation: Fetch draft, modify draft with an external system, update a draft via Document Command API
- Create a Document Preview with an external draft service
- Drafts Delivery Build (Digital Ausgabe)
Endpoint
GET /api/2025-07/documents/{documentId}/latestDraftParameters
| Name | Type | Required | Notes |
|---|---|---|---|
| documentId | integer | x | |
| ?renditions | string | A comma-separated list of rendition handles. Example: ?renditions=web,json | |
| ?ignoreComponentConditions | boolean | Added in: release-2024-03Provides a way to opt out of component filtering and return all content regardless of whether each component passes the conditional checks. Default: | |
| ?componentConditions | string | Added in: release-2024-03JSON stringified object which contains the component conditions you would like to apply. Default: |
Response
Get Latest Draft
With the introduction of the new versioning strategy, thev1andbetaversions are now available as2025-03version. If you use any of those versions, you can safely change your integration to the2025-03version, which now contains both functionalities without any other changes.
| Version | Change |
|---|---|
| release-2022-03 | Initial support |
| release-2024-03 | Added ignoreComponentConditions and componentConditions query parameters. |
| release-2025-09 | The renditions query string is deprecated and logs a warning when used |
Required scope:
public-api:writepublic-api:drafts:read
Description
This endpoint returns the most recent draft version of a document.
The response is a JSON object with 5 possible top-level properties:
- systemdata
- metadata
- content
- references
- renditions (deprecated)
Use Cases
- Automation: Fetch draft, modify draft with an external system, update a draft via Document Command API
- Create a Document Preview with an external draft service
- Drafts Delivery Build (Digital Ausgabe)
Endpoint
GET /api/beta/documents/{documentId}/latestDraftParameters
| Name | Type | Required | Notes |
|---|---|---|---|
| documentId | integer | x | |
| ?renditions | string | A comma-separated list of rendition handles. Example: ?renditions=web,json | |
| ?ignoreComponentConditions | boolean | Added in: release-2024-03Provides a way to opt out of component filtering and return all content regardless of whether each component passes the conditional checks. Default: | |
| ?componentConditions | string | Added in: release-2024-03JSON stringified object which contains the component conditions you would like to apply. Default: |