Replay a webhook delivery
curl --request POST \
--url https://api.platform.dakota.xyz/webhooks/events/{event_id}/replay \
--header 'x-api-key: <api-key>'const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.platform.dakota.xyz/webhooks/events/{event_id}/replay', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.platform.dakota.xyz/webhooks/events/{event_id}/replay"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.dakota.xyz/webhooks/events/{event_id}/replay"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"webhook_id": "2Nf5xCw4k3G8m9PqR7sTuVwXyZa",
"status": "queued",
"replayed_to_count": 2
}{
"type": "https://docs.dakota.xyz/api-reference/errors#authentication-error",
"title": "Unauthorized",
"status": 401,
"detail": "Unauthorized",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#forbidden",
"title": "Forbidden",
"status": 403,
"detail": "Forbidden",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Webhook delivery record not found",
"status": 404,
"detail": "Webhook delivery record not found",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#conflict",
"title": "Replay limit exceeded",
"status": 409,
"detail": "This webhook has already been replayed the maximum number of times (10)",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#internal-error",
"title": "Unexpected error",
"status": 500,
"detail": "Unexpected error",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}Webhooks
Replay a webhook delivery
Re-queues the webhook for delivery to all configured targets for this
org. Adds an X-Webhook-Replay: true header to the outbound request so
your endpoint can distinguish replays from original deliveries.
Idempotency is your responsibility. Your endpoint MUST deduplicate
on the id field (event_id) or the event’s resource ID + event type to
prevent double-processing.
Rate limit: 10 replays per event ID (lifetime, not per hour).
Requires the operator role.
POST
/
webhooks
/
events
/
{event_id}
/
replay
Replay a webhook delivery
curl --request POST \
--url https://api.platform.dakota.xyz/webhooks/events/{event_id}/replay \
--header 'x-api-key: <api-key>'const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.platform.dakota.xyz/webhooks/events/{event_id}/replay', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.platform.dakota.xyz/webhooks/events/{event_id}/replay"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.dakota.xyz/webhooks/events/{event_id}/replay"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"webhook_id": "2Nf5xCw4k3G8m9PqR7sTuVwXyZa",
"status": "queued",
"replayed_to_count": 2
}{
"type": "https://docs.dakota.xyz/api-reference/errors#authentication-error",
"title": "Unauthorized",
"status": 401,
"detail": "Unauthorized",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#forbidden",
"title": "Forbidden",
"status": 403,
"detail": "Forbidden",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#not-found",
"title": "Webhook delivery record not found",
"status": 404,
"detail": "Webhook delivery record not found",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#conflict",
"title": "Replay limit exceeded",
"status": 409,
"detail": "This webhook has already been replayed the maximum number of times (10)",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}{
"type": "https://docs.dakota.xyz/api-reference/errors#internal-error",
"title": "Unexpected error",
"status": 500,
"detail": "Unexpected error",
"instance": "https://api.platform.dakota.xyz/webhooks/events/example-event-id/replay",
"request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}Authorizations
Path Parameters
The event ID of the webhook delivery to replay.
Response
Webhook successfully queued for re-delivery.
Response returned after successfully queuing a webhook for replay.
Was this page helpful?

