Add Delivery Status
Required scope:
public-api:write
Description
This endpoint allows an external system to send updates about a delivery build to Livingdocs.
Delivery builds are initiated by users within the Livingdocs editor and can be configured to notify an external system. Through this endpoint, external systems can report back to Livingdocs regarding the status of a triggered task or request further clarification by providing user choices. For more information on how to set up and use delivery builds, please refer to our guide.
Endpoint
POST api/v1/documents/:documentId/addDeliveryStatus
Parameters
Name | Type | Required | Notes |
---|---|---|---|
:documentId | integer | x | |
reportId | string | If provided, this will update the matching delivery build; otherwise, it will create a new one. | |
publicationId | integer | (x) | Required for delivery builds of type publication |
deliveryHandle | string | x | |
status | string | x | One of: “success”, “failed”, “aborted” (Added in: release-2024-07 ), “in-progress” |
message | string | String or sanitized HTML (supports <em> , <strong> , <a> and <br> tags) | |
userChoices | Array<{label: string, value: string}> | An array of options given to the user to choose from. This parameter is only allowed when status is set to “in-progress”. (Added in: release-2024-07 ) |