curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.computer.stateset.app/api/v1/jobs/{job_id}/replay-webhook' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_type": "string",
"registered_endpoints_dispatched": 1,
"adhoc_url_delivered": true
}
Replay Job Webhook V1
Re-fire the terminal webhook event for an already-finished job. Useful when the receiver was down during the original event…
POST
/
api
/
v1
/
jobs
/
{job_id}
/
replay-webhook
curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.computer.stateset.app/api/v1/jobs/{job_id}/replay-webhook' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_type": "string",
"registered_endpoints_dispatched": 1,
"adhoc_url_delivered": true
}
Confirm your deployment before running this request. This page describes an API contract;
a published reference does not establish hosted availability. Check the dated
host report and obtain your deployment URL and credentials.
Replace the example host if your provisioned service uses a different URL.
succeeded or failed) — live
jobs return 409 because firing twice would confuse downstream
state machines that key on job.completed.
Both registered tenant WebhookEndpoint rows and ad-hoc per-job
webhook_url deliveries are re-attempted using the same payload
shape as the original.
Path parameters
string (uuid)
required
Request body
No request body.Response
ReplayWebhookResponse
string
required
string
required
The terminal event re-fired (job.completed | job.failed).
integer
required
Count of registered WebhookEndpoint rows the event was queued to.
boolean,null
If the job carried a
webhook_url in params, the outcome of the ad-hoc delivery attempt. None when no ad-hoc URL was set.Status codes
| Code | Meaning |
|---|---|
200 | Successful Response |
422 | Validation Error |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request POST \
--url 'https://api.computer.stateset.app/api/v1/jobs/{job_id}/replay-webhook' \
--header "X-API-Key: $STATESET_COMPUTER_USE_API_KEY"
{
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"event_type": "string",
"registered_endpoints_dispatched": 1,
"adhoc_url_delivered": true
}
Last modified on September 21, 2026