Trigger Agent Job with Message
Triggers an agent job and appends an additional user message to the saved chat template before running the agent loop. Use this to wire webhooks into scheduled agents.
This endpoint only supports agent jobs (jobs with a backing chat). Flow-backed jobs return 400 — use GET /job/{runchat_job_id} for those.
If message is provided, it is appended verbatim. Otherwise the entire request body is JSON-stringified and appended as the user message — useful for raw webhook payloads where the caller doesn't control the body shape. An empty body runs the saved template as-is.
The history row written to runchat_job_history is identical in shape to scheduled (GET) runs.
Request
- Base URLhttps://runchat.com/api/v1
- URLhttps://runchat.com/api/v1/job/{runchat_job_id}
- AuthHTTP bearer
Request body
Response
Successful agent execution.
Changes
No recorded changes to this operation across all 2 revisions of this API.