List webhook delivery history
curl --request GET \
--url https://api.engagefabric.com/api/v1/webhooks/{id}/deliveriesimport requests
url = "https://api.engagefabric.com/api/v1/webhooks/{id}/deliveries"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.engagefabric.com/api/v1/webhooks/{id}/deliveries', 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.engagefabric.com/api/v1/webhooks/{id}/deliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.engagefabric.com/api/v1/webhooks/{id}/deliveries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.engagefabric.com/api/v1/webhooks/{id}/deliveries")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.engagefabric.com/api/v1/webhooks/{id}/deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"deliveries": [
{
"id": "del_123abc",
"webhookId": "wh_456def",
"eventType": "player.level_up",
"payload": {
"id": "del_123abc",
"event": "player.level_up",
"timestamp": "2024-01-15T10:30:00Z",
"projectId": "proj_456def",
"data": {
"player": {
"id": "p1",
"name": "Player 1"
},
"oldLevel": 5,
"newLevel": 6
}
},
"requestUrl": "https://api.yourapp.com/webhooks/engagefabric",
"requestMethod": "POST",
"status": "SUCCESS",
"attempt": 1,
"maxAttempts": 3,
"createdAt": "2024-01-15T10:30:00Z",
"eventId": "evt_789xyz",
"responseCode": 200,
"responseBody": "{\"received\": true}",
"responseTimeMs": 125,
"nextRetryAt": "2024-01-15T10:35:00Z",
"lastError": "Connection timeout",
"sentAt": "2024-01-15T10:30:01Z",
"completedAt": "2024-01-15T10:30:01Z"
}
],
"total": 100,
"page": 1,
"limit": 20,
"totalPages": 5
}Webhooks
List webhook delivery history
GET
/
api
/
v1
/
webhooks
/
{id}
/
deliveries
List webhook delivery history
curl --request GET \
--url https://api.engagefabric.com/api/v1/webhooks/{id}/deliveriesimport requests
url = "https://api.engagefabric.com/api/v1/webhooks/{id}/deliveries"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.engagefabric.com/api/v1/webhooks/{id}/deliveries', 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.engagefabric.com/api/v1/webhooks/{id}/deliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.engagefabric.com/api/v1/webhooks/{id}/deliveries"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.engagefabric.com/api/v1/webhooks/{id}/deliveries")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.engagefabric.com/api/v1/webhooks/{id}/deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"deliveries": [
{
"id": "del_123abc",
"webhookId": "wh_456def",
"eventType": "player.level_up",
"payload": {
"id": "del_123abc",
"event": "player.level_up",
"timestamp": "2024-01-15T10:30:00Z",
"projectId": "proj_456def",
"data": {
"player": {
"id": "p1",
"name": "Player 1"
},
"oldLevel": 5,
"newLevel": 6
}
},
"requestUrl": "https://api.yourapp.com/webhooks/engagefabric",
"requestMethod": "POST",
"status": "SUCCESS",
"attempt": 1,
"maxAttempts": 3,
"createdAt": "2024-01-15T10:30:00Z",
"eventId": "evt_789xyz",
"responseCode": 200,
"responseBody": "{\"received\": true}",
"responseTimeMs": 125,
"nextRetryAt": "2024-01-15T10:35:00Z",
"lastError": "Connection timeout",
"sentAt": "2024-01-15T10:30:01Z",
"completedAt": "2024-01-15T10:30:01Z"
}
],
"total": 100,
"page": 1,
"limit": 20,
"totalPages": 5
}Path Parameters
Webhook ID
Query Parameters
Filter by delivery status
Example:
"FAILED"
Filter by event type
Example:
"player.level_up"
Page number (1-based)
Example:
1
Items per page
Example:
20
⌘I
