lago v2 webhook-endpoints get 1a901a90-1a90-1a90-1a90-1a901a901a90 \ --expands signing_keys --query 'webhook_endpoint.signing_keys[-1].secret_key'
lago v2 webhook-endpoints delete 1a901a90-1a90-1a90-1a90-1a901a901a90 \ --confirm 1a901a90-1a90-1a90-1a90-1a901a901a90
LAGO_ID 1a901a90-1a90-1a90-1a90-1a901a901a90NAME Billing service
Command
Description
v2 webhook-endpoints create
Register an endpoint. At most ten per organization, each with a distinct URL.
v2 webhook-endpoints get <lago_id>
Retrieve an endpoint. --expands signing_keys includes its signing keys.
v2 webhook-endpoints list
List endpoints.
v2 webhook-endpoints update <lago_id>
Partial update. Also patch.
v2 webhook-endpoints delete <lago_id>
Delete an endpoint. Confirmation-gated.
create
Flag
Description
--webhook-url
Public URL receiving deliveries. Private addresses are rejected.
--name
Endpoint name.
--event-types
JSON array of event types. null or ["*"] selects every event. An empty array selects none.
--signature-algo
Only standard_webhooks, the default.
Endpoints created through v2 sign deliveries with Standard Webhooks. Reading signing_keys requires webhook_endpoint write permission on the API key. The array is ordered oldest first, so use the last key. See webhooks.