Skip to main content
POST
Creates one or more care instruction layers.

Headers

X-Delogue-Api
string

Body

userDefinedId
null | string

A customer-defined identifier for the new layer, used as a stable key for imports and integrations. Must be unique within the organization when provided.

text
string

The default display text of the layer. Required and cannot be empty.

isActive
boolean

Whether the layer is created in the active state. Defaults to true. Set to false to create the layer as inactive.

languages
null | object[]

The per-language translations to attach to the layer when it is created. Null or omitted creates the layer with no translations.

Response

Created

status
enum<string>
required

The coarse outcome of the request, indicating whether it succeeded or failed.

Available options:
success,
error
code
string
required

The specific machine-readable outcome code, such as ok on success or the most specific error code on failure. Always lowercase on the wire.

data
null | object[]
required

The response payload, either a single object for a by-id read or an array for a bulk operation. Omitted from the body when there is no value.