Redeliver callback
curl --request POST \
--url https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"callback_url": "<string>",
"payload_bytes": "<string>",
"payload": {
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"output": {},
"duration_ms": 123,
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"metadata": {}
},
"signing_secret_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_automatic": true,
"failure_detail": "<string>",
"attempt_count": 123,
"max_attempts": 123,
"next_attempt_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"attempts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"delivery_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attempt_number": 123,
"status_code": 123,
"response_body": "<string>",
"response_time_ms": 123,
"error_message": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}Runs
Redeliver callback
Create a new callback delivery for a run. Builds fresh payload from current run state.
POST
/
v1
/
runs
/
{run_id}
/
callback-redeliveries
Redeliver callback
curl --request POST \
--url https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runflow.io/v1/runs/{run_id}/callback-redeliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"callback_url": "<string>",
"payload_bytes": "<string>",
"payload": {
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"output": {},
"duration_ms": 123,
"created_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"metadata": {}
},
"signing_secret_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_automatic": true,
"failure_detail": "<string>",
"attempt_count": 123,
"max_attempts": 123,
"next_attempt_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"attempts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"delivery_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attempt_number": 123,
"status_code": 123,
"response_body": "<string>",
"response_time_ms": 123,
"error_message": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}{
"code": "<string>",
"message": "<string>",
"errors": [
{}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Path Parameters
Response
Successful Response
Response shape.
JSON payload delivered to a customer's callback_url when a run reaches a terminal state.
This is the contract between Runflow and the customer's webhook endpoint.
It is frozen at delivery time and stored as payload_bytes on the delivery row.
Datetime fields are serialized using .isoformat() (emitting +00:00 for UTC)
to preserve byte-equivalence with the pre-contract payload builder, which customers'
HMAC signature verification may depend on.
Show child attributes
Show child attributes
Available options:
pending, queued, processing, succeeded, failed, failed_non_retryable Available options:
dns_validation_failed, max_attempts_exhausted, client_rejected Show child attributes
Show child attributes
⌘I