Task webhooks
Start a scheduled task from another app by sending a request to the task's private web address.
A webhook task runs when another app sends a POST request to its web address. Use it when something happens elsewhere, such as a form being filled in or a video finishing, and you want the agent to act on it.
Before you start
- Scheduled tasks need the Professional or Enterprise plan.
- Create the task with the Webhook trigger. See Scheduled tasks.
Get the web address
After you click Add task, the address shows under Copy this URL now. It is shown only once. Copy it into the other app, then click Done.
The address contains its own secret. Anyone who has it can start the task. Keep it private.
Send a request
- Method:
POST - Content type:
application/json - Body: any JSON, up to 2 MB.
curl -X POST "YOUR_TASK_URL" \
-H "Content-Type: application/json" \
-d '{"customer": "Dana Lee", "service": "Water heater repair", "date": "2026-05-14"}'The agent gets your instructions plus the body you sent. Only the first 20,000 characters of the body are passed on. An empty body is fine.
Write the task's instructions so they say what to do with the body, for example: "A new booking request arrived. Check my calendar for that date and draft a reply to the customer."
Responses
| Status | Body | Meaning |
|---|---|---|
| 202 | {"success": true, "message": "Received", "data": {"runId": "..."}} | The run is queued. |
| 404 | Task link not found | The address is wrong, was rotated, or the task has ended. |
| 409 | This task is paused | Resume the task first. |
| 409 | Too many calls are waiting for this task. Try again later. | 10 runs are already waiting. |
| 429 | Too many requests, please slow down | More than 30 requests a minute from one address. |
Errors come back as {"success": false, "error": {"code": "...", "message": "..."}}.
The response confirms the run was queued. The result goes to the task page, to the emails in Email results to, and to the creator's live conversation if there is one.
Run once with a deadline
Switch on Run once, with a deadline when you expect one call, such as "when the video is ready".
- The first call runs the task, then the task completes. Later calls get 404.
- If no call arrives by the deadline, the task runs anyway with the reason Deadline reached, so the agent can report that nothing came.
Rotate the address
If the address leaks, open the task and click Rotate URL in the Webhook section. Confirm with Rotate URL. The old address stops working right away. Copy the new one under New webhook URL and update the other app.
Tips
- Keep the body small and clear. Name each field the way you would explain it to a person.
- Send a test request, then check the task's Runs to see what the agent did with it.