Automate with Webhooks
How to set up a webhook URL to trigger your agent automatically without using the UI.
Written By pvdyck
Last updated Half a minute ago
Automate with Webhooks
Webhooks let you trigger an agent programmatically β from Zapier, Make, another system, or any HTTP client β without using the indie.money UI.
Webhook Flow:
- Your System (Zapier/Make) sends POST with payload
- indie.money Webhook Endpoint receives it
- Agent executes (auto billed)
- JSON Response returns with output data
How It Works
Setting Up a Webhook
Webhook Request Format
POST https://worker.indie.money/webhook/{serviceId}/{tokenId}Content-Type: application/json{ "key": "value", "inputs": "here"}Authentication & Payment
Each webhook request includes automatic X.402 payment handling. Your inUSD balance is charged per execution, just like running from the UI.
Testing Your Webhook
Use curl or a tool like Postman to test:
curl -X POST {your-webhook-url} \ -H "Content-Type: application/json" \ -d '{"message": "Hello from webhook"}'