Automate with Webhooks

How to set up a webhook URL to trigger your agent automatically without using the UI.

Written By pvdyck

Last updated About 1 hour 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:

  1. Your System (Zapier/Make) sends POST with payload
  2. indie.money Webhook Endpoint receives it
  3. Agent executes (auto billed)
  4. JSON Response returns with output data

How It Works

StepWhat Happens
1. πŸ”—You get a unique webhook URL for each agent you own
2. πŸ“€Send a POST request to that URL with your input data
3. ⚑indie.money executes the agent
4. πŸ’°Payment is handled automatically via your balance
5. πŸ“₯Returns the result as JSON

Setting Up a Webhook

StepAction
1.From your Producer Dashboard, find the agent card
2.Click the webhook icon (or Webhook Setup button)
3.The Webhook Setup modal shows your unique webhook URL
4.Copy the URL
5.Use it in your external system to trigger the agent

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"}'

Limitations

LimitationDetails
βš™οΈ Agent stateWebhooks require agent to be "ready" (credentials configured, turned on)
⏱️ Response timeDepends on agent complexity (typically 2–30 seconds)
πŸ“Š StreamingNo streaming β€” full result returned in one response

Related