Skip to main content
POST
/
api
/
v2
/
public
/
execution
/
:instanceId
/
rerun
curl -X POST "https://app.refold.ai/api/v2/public/execution/{instanceId}/rerun" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"
{
  "status": "success",
  "id": "64f3c2a1b4e5f60012345678"
}
Retry a failed or stopped execution using the original trigger payload. Refold creates and starts a new execution, then returns its ID.

Authentication

This endpoint is scoped to a linked account, so it accepts either authentication method. Option 1: API key
x-api-key
string
Your Refold API key.
linked_account_id
string
The linked account.
Option 2: Session token
Authorization
string
Session token. Format: Bearer YOUR_SESSION_TOKEN

Path Parameters

instanceId
string
required
The execution (instance) ID to rerun.

Response

status
string
Returns success when the execution is rerun.
id
string
ID of the newly created execution.
{
  "status": "success",
  "id": "64f3c2a1b4e5f60012345678"
}
curl -X POST "https://app.refold.ai/api/v2/public/execution/{instanceId}/rerun" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "linked_account_id: YOUR_LINKED_ACCOUNT_ID"