API referenceWebhook events
listing.published
A listing became available to this app connection. Lockii POSTs this body to the app webhook URL. Headers are Lockii-Event-Id, Lockii-Event-Type, and Lockii-Signature (t=<unix seconds>,v1=<hex hmac-sha256 of "<t>.<raw body>" using the app webhook secret). Respond with any 2xx or the delivery is retried.
Headers
Lockii-Event-IdstringrequiredSame value as the JSON id.
Lockii-Event-TypestringrequiredSame value as the JSON type.
Lockii-Signaturestringt=<unix seconds>,v1=<hex hmac-sha256 of "<t>.<raw body>">, signed with the app webhook secret.
Body
application/json
connection_idstringrequiredApp installation id.
created_atstringrequiredISO-8601 timestamp.
dataobjectrequiredidstringrequiredEvent id, evt_<uuid>.
typeenum<string>requiredOne of:listing.published
Example payload
{
"connection_id": "string",
"created_at": "string",
"data": {
"listing_id": "string",
"updated_at": "string"
},
"id": "string",
"type": "listing.published"
}Your response
200
Any 2xx acknowledges the delivery. Any other response is treated as a failure.