API Integration
Webhook Integration
Trigger OpenClaw from external services using HTTP webhooks.
Setup Steps
1. Configure Webhook
Enable the webhook listener:
{
"channels": {
"webhook": {
"enabled": true,
"port": 8080,
"secret": "YOUR_WEBHOOK_SECRET"
}
}
}2. Send a Request
Test the webhook using curl:
curl -X POST http://localhost:8080/webhook \
-H "Authorization: Bearer YOUR_WEBHOOK_SECRET" \
-H "Content-Type: application/json" \
-d '{"message": "Hello OpenClaw!"}'