Get delivery metrics
curl --request GET \
--url https://api.managem.co.uk/seller/webhooks/metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.managem.co.uk/seller/webhooks/metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.managem.co.uk/seller/webhooks/metrics', 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.managem.co.uk/seller/webhooks/metrics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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.managem.co.uk/seller/webhooks/metrics"
req, _ := http.NewRequest("GET", 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.get("https://api.managem.co.uk/seller/webhooks/metrics")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.managem.co.uk/seller/webhooks/metrics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"time": "<string>",
"events": {
"type": "<string>",
"success": 123,
"failure": 123
}
}
]Management
Get delivery metrics
Retrieve aggregated webhook delivery metrics for the authenticated seller.
Use this endpoint to monitor webhook reliability over time and detect delivery regressions across event types.
Query behavior:
- Accepts a ‘range’ parameter controlling how much historical data is returned.
- If omitted, the default range is used by the API.
Returned data is designed for dashboards and alerting workflows, including:
- Time-bucketed event series.
- Separation by webhook event type.
- Delivery outcome trends across the selected time window.
Recommended monitoring workflow:
- Query metrics on a regular schedule (for example, dashboard refresh intervals).
- Detect spikes in failures or drops in successful deliveries.
- Pivot to /failures endpoints for endpoint-level investigation.
- Re-run metrics after remediation to confirm recovery.
GET
/
seller
/
webhooks
/
metrics
Get delivery metrics
curl --request GET \
--url https://api.managem.co.uk/seller/webhooks/metrics \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.managem.co.uk/seller/webhooks/metrics"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.managem.co.uk/seller/webhooks/metrics', 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.managem.co.uk/seller/webhooks/metrics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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.managem.co.uk/seller/webhooks/metrics"
req, _ := http.NewRequest("GET", 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.get("https://api.managem.co.uk/seller/webhooks/metrics")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.managem.co.uk/seller/webhooks/metrics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"time": "<string>",
"events": {
"type": "<string>",
"success": 123,
"failure": 123
}
}
]Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Time range describing how much historical data should be returned
Available options:
1M, 3M, 6M, 1Y