Skip to content
Livstick Developers

Webhooks

Method POST /v2.1/client/{key}/{crid}/webhook/{webhookId}

Scope client_v2

Push an unlock event for a container. messageUnlockEvent is the only accepted webhookId.

Parameters

Name In Type Required Description
key Path string Required Your 2.1 client API key.
crid Path string Required The container's crid.
webhookId Path string Required The webhook being called. messageUnlockEvent is the only value the enumeration accepts — there is no catalogue of webhooks beyond this one.

Response

json 200 OK
{
  "status": 1,
  "error": "processed"
}

Notes

  • This success response carries status: 1 and an error field reading "processed" — everywhere else in 2.1, status: 1 marks a failed call. Do not branch on status alone for this operation; check the error value, or you will write an integration test that treats this success as a failure.
  • An unknown webhookId returns the webhook_not_found error code.