const response = await fetch("https://api.sudomock.com/api/v1/webhook-endpoints/overview", {
method: "GET",
headers: { "x-api-key": "sm_your_api_key" },
});
const data = await response.json();
console.log(data);
<?php
$ch = curl_init("https://api.sudomock.com/api/v1/webhook-endpoints/overview");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"x-api-key: sm_your_api_key",
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
import requests
response = requests.get(
"https://api.sudomock.com/api/v1/webhook-endpoints/overview",
headers={"x-api-key": "sm_your_api_key"},
)
response.raise_for_status()
print(response.json())
require "net/http"
require "uri"
uri = URI("https://api.sudomock.com/api/v1/webhook-endpoints/overview")
request = Net::HTTP::Get.new(uri)
request["x-api-key"] = "sm_your_api_key"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
http.request(request)
end
puts response.body
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.sudomock.com/api/v1/webhook-endpoints/overview", nil)
if err != nil {
panic(err)
}
req.Header.Set("x-api-key", "sm_your_api_key")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sudomock.com/api/v1/webhook-endpoints/overview"))
.header("x-api-key", "sm_your_api_key")
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
using System.Net.Http;
using System.Text;
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sudomock.com/api/v1/webhook-endpoints/overview");
request.Headers.Add("x-api-key", "sm_your_api_key");
var client = new HttpClient();
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());
curl -X GET "https://api.sudomock.com/api/v1/webhook-endpoints/overview" \
-H "x-api-key: sm_your_api_key"
{
"by_endpoint": {
"b5cd6284-f6a0-4cfc-94df-781353e30dfd": {
"failed": 12,
"last_activity": "2026-09-18T09:24:12.615000Z",
"total": 420
},
"e91b7a10-2c4d-4f83-9a55-1d0f6b8c3e27": {
"failed": 7,
"last_activity": "2026-09-18T08:57:44.208000Z",
"total": 422
}
},
"global": {
"days": [
{
"date": "2026-09-17",
"failed": 7,
"total": 401
},
{
"date": "2026-09-18",
"failed": 12,
"total": 441
}
],
"failed": 19,
"total": 842
}
}
Retrieve the delivery overview
Window-scoped delivery rollup spanning every endpoint the caller owns: global total/failed COUNTs, a per-day sparkline, and a per-endpoint breakdown (total/failed/last_activity). The path is ‘overview’, not an endpoint id.
GET
/
api
/
v1
/
webhook-endpoints
/
overview
const response = await fetch("https://api.sudomock.com/api/v1/webhook-endpoints/overview", {
method: "GET",
headers: { "x-api-key": "sm_your_api_key" },
});
const data = await response.json();
console.log(data);
<?php
$ch = curl_init("https://api.sudomock.com/api/v1/webhook-endpoints/overview");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"x-api-key: sm_your_api_key",
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
import requests
response = requests.get(
"https://api.sudomock.com/api/v1/webhook-endpoints/overview",
headers={"x-api-key": "sm_your_api_key"},
)
response.raise_for_status()
print(response.json())
require "net/http"
require "uri"
uri = URI("https://api.sudomock.com/api/v1/webhook-endpoints/overview")
request = Net::HTTP::Get.new(uri)
request["x-api-key"] = "sm_your_api_key"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
http.request(request)
end
puts response.body
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.sudomock.com/api/v1/webhook-endpoints/overview", nil)
if err != nil {
panic(err)
}
req.Header.Set("x-api-key", "sm_your_api_key")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sudomock.com/api/v1/webhook-endpoints/overview"))
.header("x-api-key", "sm_your_api_key")
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
using System.Net.Http;
using System.Text;
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sudomock.com/api/v1/webhook-endpoints/overview");
request.Headers.Add("x-api-key", "sm_your_api_key");
var client = new HttpClient();
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());
curl -X GET "https://api.sudomock.com/api/v1/webhook-endpoints/overview" \
-H "x-api-key: sm_your_api_key"
{
"by_endpoint": {
"b5cd6284-f6a0-4cfc-94df-781353e30dfd": {
"failed": 12,
"last_activity": "2026-09-18T09:24:12.615000Z",
"total": 420
},
"e91b7a10-2c4d-4f83-9a55-1d0f6b8c3e27": {
"failed": 7,
"last_activity": "2026-09-18T08:57:44.208000Z",
"total": 422
}
},
"global": {
"days": [
{
"date": "2026-09-17",
"failed": 7,
"total": 401
},
{
"date": "2026-09-18",
"failed": 12,
"total": 441
}
],
"failed": 19,
"total": 842
}
}
Returns one rollup of webhook delivery activity across every endpoint on the
account, over a window you choose.
period_days sizes that window, up to 90
days, and tz_offset_minutes lines the day buckets up with your own day rather
than UTC. A delivery counts as failed once its status is failed or dead, and
an account with no endpoints yet answers with zero counts and an empty
by_endpoint.
| Field | What it holds |
|---|---|
global.total, global.failed | Deliveries across every endpoint in the window. |
global.days[] | One entry per day, each with date, total and failed. |
by_endpoint.<id> | total, failed and last_activity for that endpoint. |
const response = await fetch("https://api.sudomock.com/api/v1/webhook-endpoints/overview", {
method: "GET",
headers: { "x-api-key": "sm_your_api_key" },
});
const data = await response.json();
console.log(data);
<?php
$ch = curl_init("https://api.sudomock.com/api/v1/webhook-endpoints/overview");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"x-api-key: sm_your_api_key",
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
import requests
response = requests.get(
"https://api.sudomock.com/api/v1/webhook-endpoints/overview",
headers={"x-api-key": "sm_your_api_key"},
)
response.raise_for_status()
print(response.json())
require "net/http"
require "uri"
uri = URI("https://api.sudomock.com/api/v1/webhook-endpoints/overview")
request = Net::HTTP::Get.new(uri)
request["x-api-key"] = "sm_your_api_key"
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
http.request(request)
end
puts response.body
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://api.sudomock.com/api/v1/webhook-endpoints/overview", nil)
if err != nil {
panic(err)
}
req.Header.Set("x-api-key", "sm_your_api_key")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sudomock.com/api/v1/webhook-endpoints/overview"))
.header("x-api-key", "sm_your_api_key")
.GET()
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
using System.Net.Http;
using System.Text;
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.sudomock.com/api/v1/webhook-endpoints/overview");
request.Headers.Add("x-api-key", "sm_your_api_key");
var client = new HttpClient();
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());
curl -X GET "https://api.sudomock.com/api/v1/webhook-endpoints/overview" \
-H "x-api-key: sm_your_api_key"
{
"by_endpoint": {
"b5cd6284-f6a0-4cfc-94df-781353e30dfd": {
"failed": 12,
"last_activity": "2026-09-18T09:24:12.615000Z",
"total": 420
},
"e91b7a10-2c4d-4f83-9a55-1d0f6b8c3e27": {
"failed": 7,
"last_activity": "2026-09-18T08:57:44.208000Z",
"total": 422
}
},
"global": {
"days": [
{
"date": "2026-09-17",
"failed": 7,
"total": 401
},
{
"date": "2026-09-18",
"failed": 12,
"total": 441
}
],
"failed": 19,
"total": 842
}
}
Authorizations
API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys
Query Parameters
How many days back the rollup reaches, covering the totals, the daily counts, and the per endpoint breakdown.
Required range:
1 <= x <= 90Minutes to shift the daily buckets from UTC, so counts line up with your local day.
Response
200 - application/json
Successful Response
Delivery rollup covering every endpoint you own, for the window you asked for.
Was this page helpful?
⌘I