Okay, now let's do something different. Webhooks let external services trigger your agent in response to events. OpenClaw exposes 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 and route output to a channel. It also supports running in a specific model configuration. Both endpoints accept POST requests with JSON payloads.