Okay, now let's do something different. Webhooks let external services trigger your agent in response to events. OpenClaw exposes 2 webhook endpoints: /hooks/wake for simple notifications and /hooks/agent for advanced triggers with routing and session control.
When should you use which? Use /hooks/wake when you need to notify the agent about something without expecting a structured response. Use /hooks/agent when you need the agent to process data, route output to a channel, or run in a specific model configuration. Both endpoints accept POST requests with JSON payloads.