/v1/apps/{app_id}/webhooks/eventsAuthList webhook events, newest first (kept for 30 days).
Every event logged while at least one endpoint existed, with the latest state per endpoint and when the next retry is due.
Path parameters
app_id*string · uuidId of the app.
Query parameters
typearrayOnly these types. Repeat the parameter or comma-separate.
endpoint_idstring · uuidOnly events sent (or queued) to this endpoint.
statusenum (4)Only events in this delivery status.
created_afterstring · date-timeOnly events created at or after this instant.
created_beforestring · date-timeOnly events created before this instant.
limitintegerPage size.
cursorstringThe previous page's `pagination.next_cursor`.
Response · 200
data*arrayThe events, newest first.
pagination*objectThe cursor for the next page.
Example
Request
GET https://api.auth.productcraft.co/v1/apps/{app_id}/webhooks/events
Authorization: Bearer YOUR_TOKENimport { Auth } from "@productcraft/auth";
// Admin routes read PRODUCTCRAFT_API_KEY; consumer routes need no key
const auth = new Auth();
for await (const event of auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").webhooks.events.list()) {
console.log(event);
}
const page = await auth.admin.app("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f").webhooks.events.list({}, { timeout: 5_000 });auth.admin.app(…).webhooks.events.list(params?, options?): PagePromise<Auth.WebhookEvent>
Response
{
"data": [
{
"id": "evt_3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f",
"type": "user.signup",
"created_at": "2026-01-01T00:00:00.000Z",
"test": false,
"status": {},
"payload": {},
"deliveries": [
{
"endpoint_id": "00000000-0000-0000-0000-000000000000",
"attempt_number": 0,
"status_code": 0,
"succeeded": false,
"attempted_at": "2026-01-01T00:00:00.000Z",
"next_attempt_at": "2026-01-01T00:00:00.000Z"
}
]
}
],
"pagination": {}
}