Send every dead delivery since a time again
curl --request POST \
--url https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend', 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.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend"
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))
}HttpResponse<String> response = Unirest.post("https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"event_id": "<string>",
"topic": "<string>",
"status": "pending",
"attempt_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"resource_id": "<string>",
"status_code": 123,
"last_error": "<string>",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z"
}
]{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}Webhooks
Send every dead delivery since a time again
Each event whose delivery to this endpoint died (its last attempt) at or after since, once, unless it has been delivered or is pending since. After an outage, pass when it began. The event is sent as it was first (the same body and X-Parser-Event-Id, so a receiver that already has it drops it), as a new delivery with the full retry schedule; the earlier delivery stays in the history.
POST
/
v1
/
webhooks
/
{webhook_id}
/
deliveries
/
resend
Send every dead delivery since a time again
curl --request POST \
--url https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend', 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.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend"
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))
}HttpResponse<String> response = Unirest.post("https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parser-app.com/v1/webhooks/{webhook_id}/deliveries/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"event_id": "<string>",
"topic": "<string>",
"status": "pending",
"attempt_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"resource_id": "<string>",
"status_code": 123,
"last_error": "<string>",
"next_attempt_at": "2023-11-07T05:31:56Z",
"last_attempt_at": "2023-11-07T05:31:56Z",
"delivered_at": "2023-11-07T05:31:56Z"
}
]{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "<string>"
}
}Authorizations
APIKeyHeaderHTTPBearer
API key
Path Parameters
Query Parameters
ISO 8601
Response
Successful Response
X-Parser-Event-Id: the same on every retry of one event
Available options:
pending, delivered, dead, cancelled The job id