hook.replay-event ​
Re-deliver a stored webhook event to DevKit
Re-deliver a stored webhook event to DevKit without re-validating HMAC.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-hookredirect |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | DAG-stamped parent run id |
event_uuid | string | Yes | — | UUID of the WebhookEvent to replay |
organization_uuid | uuid | No | — | Organization UUID supplied by Workflow API context |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
workflow_run_id | string | No | — | DAG-stamped parent run id |
event_uuid | string | No | — | UUID of the WebhookEvent to replay |
organization_uuid | uuid | No | — | Organization UUID supplied by Workflow API context |
method | string | No | — | — |
headers | json | No | — | — |
body | string | No | — | — |
query_params | json | No | — | — |
content_type | string | No | — | — |
signed_uuid | string | No | — | — |
redirect_uuid | string | No | — | — |
replay_workflow_uuid | string | No | — | — |
replayed | boolean | No | — | — |
failure_reason | string | No | — | — |
failed_step | json | No | — | — |
failed_layer | json | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
error_message | string | No | — | — |
success | boolean | No | — | — |
failed_at | string | No | — | — |
failure_type | string | No | — | — |
retried_from | string | No | — | — |
retry_count | integer | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
validating | Yes | No | — | validate | — |
loading_event | No | No | — | load_event | — |
spawning_receive | No | No | — | spawn_receive | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
validating | validate | loading_event | — |
loading_event | load_event | spawning_receive | — |
spawning_receive | spawn_receive | completed | — |
* (any state) | fail | failed | — |
Outcomes ​
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
replayed | SUCCESS | Replay receive workflow was started | replay_workflow_uuid |
failed | FAILURE | Replay failed | failure_reason |
Business Errors ​
| Code | Message Template |
|---|---|
HOOK_REDIRECT_WORKFLOW_ERROR | Hook redirect workflow failed |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "hook.replay-event",
"initial_data": {
"event_uuid": "value"
}
}