Create webhook
POST
/webhooks
Create a new outbound webhook. A signing secret is generated automatically and returned once. Max 20 webhooks per client. Requires webhooks:manage scope.
Authorizations
BearerAuth
API key in format lm_xxxxxxxxxxxxxxxx. Get your key at app.looma.chat/integrations.
Type
HTTP (bearer)
Request Body
application/json
JSON
{
"url": "string",
"events": [
"string"
],
"site_ids": [
0
]
}
Responses
Webhook created. The secret is returned only once — save it, it cannot be read again.
application/json
JSON
{
"success": true,
"data": {
"id": 0,
"url": "string",
"events": [
"string"
],
"site_ids": [
0
],
"description": "string",
"is_active": true,
"failure_count": 0,
"disabled_at": "string",
"last_triggered_at": "string",
"created_at": "string",
"updated_at": "string",
"secret": "string"
}
}

