Your masjid · Webhooks
Webhook deliveries
What Masjidbox posted to each endpoint over 30 days, and a resend. They need a secret key.
The endpoints you register and the deliveries sent to them. A secret key with Masjid profile: read.
A webhook endpoint's deliveries
GET/v1/masjid/webhook-endpoints/{id}/deliveries
What Masjidbox posted to an endpoint over the last 30 days, newest first, by cursor (limit 1 to 100, 25 by default; cursor from the previous page). Each delivery with its attempts and the status of the last one. Needs a secret key with Masjid profile: read; an endpoint belongs to your organization, not to the key.
Parameters
idstring · pathrequiredThe webhook endpoint id.
limitinteger · queryItems per page, 1 to 100.
cursorstring · queryThe previous page's
pagination.nextCursor; absent for the first page.
Returns
A page of deliveries.
objectlistAlways
list.dataobject[]The items of this page.
Show child attributes (12)
objectwebhook_deliveryAlways
webhook_delivery.idstringThe delivery id.
eventstringThe event id, the
idof the payload: the same on every retry, dedupe on it.typemasjid.updated | profile.updated | prayer_times.updated | jumuah_times.updated | event.created | event.updated | event.deleted | announcement.created | announcement.updated | announcement.deleted | media.created | media.updated | media.deleted | news.created | news.updated | news.deleted | album.created | album.updated | album.deleted | collection.created | collection.updated | collection.deleted | poll.created | poll.updated | poll.deleted | quiz.created | quiz.updated | quiz.deleted | question.updated | question.deleted | live.created | live.updated | live.deleted | notification.created | notification.updated | notification.deleted | app_notification.created | app_notification.updated | app_notification.deleted | app_recurring_notification.created | app_recurring_notification.updated | app_recurring_notification.deleted | app_one_time_notification.created | app_one_time_notification.updated | app_one_time_notification.deleted | donation_account.updated | donation_campaign.created | donation_campaign.updated | donation_campaign.deleted | website.updated | widget.created | widget.updated | widget.deleted | app_widget.updated | app_popup.created | app_popup.updated | app_popup.deleted | app_page.created | app_page.updated | app_page.deleted | screen.updated | screen.deleted | screen_settings.updated | playlist.created | playlist.updated | playlist.deleted | playlist_schedule.created | playlist_schedule.updated | playlist_schedule.deletedThe event type.
resourcestring | nullThe public id of the resource it is about; null for an organization-wide event.
statuspending | delivered | failedpending(an attempt is due),delivered(a 2xx came back) orfailed(every attempt failed).attemptsnumberAttempts made.
lastStatusCodenumber | nullThe HTTP status of the last attempt.
lastErrorstring | nullWhy the last attempt failed (
timeout,blocked_address…).nextAttemptAtstring | nullWhen the next attempt is due (ISO-8601).
deliveredAtstring | nullWhen it was delivered (ISO-8601).
createdAtstring | nullWhen it was queued (ISO-8601).
paginationobjectWhere this page stands.
Show child attributes (3)
limitintegerThe page size asked for.
hasMorebooleanWhether another page follows: stop on false, never on a short page.
nextCursorstring | nullThe
cursorof the next page; null on the last one.
curl "https://hub.masjidbox.com/v1/masjid/webhook-endpoints/whk_3f0c2a52-7d8e-4b1a-9c6f-2e5d8a4b7c10/deliveries" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"data": [
{
"attempts": 1,
"createdAt": "2026-11-13T08:00:00.000Z",
"deliveredAt": "2026-11-13T08:00:00.000Z",
"event": "whe_9f8e7d6c5b4a39281706f5e4d3c2b1a0",
"id": "whd_7b1e4d90-2c3a-4f5e-8a6b-9c0d1e2f3a4b",
"lastError": null,
"lastStatusCode": 200,
"nextAttemptAt": null,
"object": "webhook_delivery",
"resource": "evt_6af5c9e2bc095fbd2dc5735a",
"status": "delivered",
"type": "event.created"
}
],
"object": "list",
"pagination": {
"hasMore": false,
"limit": 25,
"nextCursor": null
}
}Resend a delivery
POST/v1/masjid/webhook-endpoints/{id}/deliveries/{deliveryId}/resend
Posts a delivery of the last 30 days again, due now, its attempts from zero, under the same event id (your receiver dedupes on it). A disabled endpoint is a 409: enable it first. Needs a secret key with Masjid profile: read; an endpoint belongs to your organization, not to the key.
Parameters
idstring · pathrequiredThe webhook endpoint id.
deliveryIdstring · pathrequiredThe delivery id.
Returns
The delivery, queued again.
objectwebhook_deliveryAlways
webhook_delivery.idstringThe delivery id.
eventstringThe event id, the
idof the payload: the same on every retry, dedupe on it.typemasjid.updated | profile.updated | prayer_times.updated | jumuah_times.updated | event.created | event.updated | event.deleted | announcement.created | announcement.updated | announcement.deleted | media.created | media.updated | media.deleted | news.created | news.updated | news.deleted | album.created | album.updated | album.deleted | collection.created | collection.updated | collection.deleted | poll.created | poll.updated | poll.deleted | quiz.created | quiz.updated | quiz.deleted | question.updated | question.deleted | live.created | live.updated | live.deleted | notification.created | notification.updated | notification.deleted | app_notification.created | app_notification.updated | app_notification.deleted | app_recurring_notification.created | app_recurring_notification.updated | app_recurring_notification.deleted | app_one_time_notification.created | app_one_time_notification.updated | app_one_time_notification.deleted | donation_account.updated | donation_campaign.created | donation_campaign.updated | donation_campaign.deleted | website.updated | widget.created | widget.updated | widget.deleted | app_widget.updated | app_popup.created | app_popup.updated | app_popup.deleted | app_page.created | app_page.updated | app_page.deleted | screen.updated | screen.deleted | screen_settings.updated | playlist.created | playlist.updated | playlist.deleted | playlist_schedule.created | playlist_schedule.updated | playlist_schedule.deletedThe event type.
resourcestring | nullThe public id of the resource it is about; null for an organization-wide event.
statuspending | delivered | failedpending(an attempt is due),delivered(a 2xx came back) orfailed(every attempt failed).attemptsnumberAttempts made.
lastStatusCodenumber | nullThe HTTP status of the last attempt.
lastErrorstring | nullWhy the last attempt failed (
timeout,blocked_address…).nextAttemptAtstring | nullWhen the next attempt is due (ISO-8601).
deliveredAtstring | nullWhen it was delivered (ISO-8601).
createdAtstring | nullWhen it was queued (ISO-8601).
curl -X POST "https://hub.masjidbox.com/v1/masjid/webhook-endpoints/whk_3f0c2a52-7d8e-4b1a-9c6f-2e5d8a4b7c10/deliveries/whd_7b1e4d90-2c3a-4f5e-8a6b-9c0d1e2f3a4b/resend" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"attempts": 1,
"createdAt": "2026-11-13T08:00:00.000Z",
"deliveredAt": "2026-11-13T08:00:00.000Z",
"event": "whe_9f8e7d6c5b4a39281706f5e4d3c2b1a0",
"id": "whd_7b1e4d90-2c3a-4f5e-8a6b-9c0d1e2f3a4b",
"lastError": null,
"lastStatusCode": 200,
"nextAttemptAt": null,
"object": "webhook_delivery",
"resource": "evt_6af5c9e2bc095fbd2dc5735a",
"status": "delivered",
"type": "event.created"
}