curl "https://api.gork.email/v1/webhooks/deliveries?limit=20" \
-H "Authorization: Bearer gork_live_YOUR_API_KEY"
import { Gork } from "@gork/sdk"
const gork = new Gork({ apiKey: process.env.GORK_API_KEY })
const deliveries = await gork.webhooks.listDeliveries({ limit: 20 })
import requests, os
res = requests.get(
"https://api.gork.email/v1/webhooks/deliveries",
headers={"Authorization": f"Bearer {os.getenv('GORK_API_KEY')}"},
params={"limit": 20},
)
{
"data": [
{
"id": "del_1a2b3c4d5e6f",
"organizationId": "org_1a2b3c4d",
"webhookId": "whk_1a2b3c4d5e6f",
"eventType": "email.received",
"payload": { "messageId": "msg_90e38dfb4a2c" },
"responseStatus": 200,
"responseBody": "ok",
"attempt": 1,
"isSuccessful": true,
"error": null,
"createdAt": "2026-09-11T08:00:00.000Z"
}
]
}
Webhooks
List Webhook Deliveries
Inspect recent webhook delivery attempts and endpoint responses for debugging.
GET
/
v1
/
webhooks
/
deliveries
curl "https://api.gork.email/v1/webhooks/deliveries?limit=20" \
-H "Authorization: Bearer gork_live_YOUR_API_KEY"
import { Gork } from "@gork/sdk"
const gork = new Gork({ apiKey: process.env.GORK_API_KEY })
const deliveries = await gork.webhooks.listDeliveries({ limit: 20 })
import requests, os
res = requests.get(
"https://api.gork.email/v1/webhooks/deliveries",
headers={"Authorization": f"Bearer {os.getenv('GORK_API_KEY')}"},
params={"limit": 20},
)
{
"data": [
{
"id": "del_1a2b3c4d5e6f",
"organizationId": "org_1a2b3c4d",
"webhookId": "whk_1a2b3c4d5e6f",
"eventType": "email.received",
"payload": { "messageId": "msg_90e38dfb4a2c" },
"responseStatus": 200,
"responseBody": "ok",
"attempt": 1,
"isSuccessful": true,
"error": null,
"createdAt": "2026-09-11T08:00:00.000Z"
}
]
}
Returns recent delivery attempts across your organization’s webhook endpoints, newest first. Each row records the event, the attempt number, and what your endpoint answered — everything needed to debug a failing receiver.
Headers
string
required
Bearer token formatted as
Bearer gork_live_.... Requires the webhooks:read scope.Query parameters
number
default:"50"
Maximum deliveries to return, 1–100.
Delivery rows embed full event payloads (including email bodies) and your endpoint’s response text, so this endpoint is scope-gated like any other read — a least-privilege key cannot dump delivery history.
Response
object[]
Show properties
Show properties
string
Unique delivery ID (
del_...).string
The endpoint this delivery targeted (
whk_...).string
The event delivered (e.g.
email.received).object
The full event payload that was sent.
number
Which attempt this row records (retries increment it).
number
HTTP status your endpoint answered with, or
null when it never responded.boolean
Whether the attempt was accepted.
string
Transport or verification error text, or
null on success.string
ISO 8601 creation timestamp.
curl "https://api.gork.email/v1/webhooks/deliveries?limit=20" \
-H "Authorization: Bearer gork_live_YOUR_API_KEY"
import { Gork } from "@gork/sdk"
const gork = new Gork({ apiKey: process.env.GORK_API_KEY })
const deliveries = await gork.webhooks.listDeliveries({ limit: 20 })
import requests, os
res = requests.get(
"https://api.gork.email/v1/webhooks/deliveries",
headers={"Authorization": f"Bearer {os.getenv('GORK_API_KEY')}"},
params={"limit": 20},
)
{
"data": [
{
"id": "del_1a2b3c4d5e6f",
"organizationId": "org_1a2b3c4d",
"webhookId": "whk_1a2b3c4d5e6f",
"eventType": "email.received",
"payload": { "messageId": "msg_90e38dfb4a2c" },
"responseStatus": 200,
"responseBody": "ok",
"attempt": 1,
"isSuccessful": true,
"error": null,
"createdAt": "2026-09-11T08:00:00.000Z"
}
]
}