Skip to content

template.live_changed

POST

A template was paused or resumed: live: false is a pause, after which customers cannot design on it, and live: true a resume. Sent once per template that flipped, whether one template or several were switched, and never for a switch to the state it already had. A store that missed a delivery, or connected after the switch, reads status on GET /v1/templates/{id}, which is the state to trust.

x-pixonaut-timestamp
required

When this attempt was sent, in Unix seconds.

string

When this attempt was sent, in Unix seconds.

x-pixonaut-signature
required

v1= followed by the hex HMAC-SHA256, keyed with the endpoint’s signing secret, of the x-pixonaut-timestamp value, a ., and the raw request body.

string

v1= followed by the hex HMAC-SHA256, keyed with the endpoint’s signing secret, of the x-pixonaut-timestamp value, a ., and the raw request body.

Media typeapplication/json
object
automation

The automation that caused the event, beside via.

object
id
required

The automation’s id.

string
name
required

What the automation was called when it acted.

string
createdAt
required

When the event happened, in milliseconds since the Unix epoch.

integer
id
required

The event’s id. A retry or a redelivery carries the same id, so a receiver can drop one it has already handled.

string
payload
required
object
baseId
required
string
live
required
boolean
type
required
string
Allowed values: template.live_changed
via

automation when one of your automations caused the event; absent otherwise.

string
Allowed values: automation

Examples

Exampleexample

Example

{
"createdAt": 1790002120000,
"id": "1790002120000-fb32cfd7-f796-4813-811b-95204f89a681",
"payload": {
"baseId": "tshirt-basic",
"live": true
},
"type": "template.live_changed"
}

Any 2xx acknowledges the delivery.

Questions? Write to [email protected].

Status · Terms of service · Privacy policy · Subprocessors