Your masjid · Notifications
Your app's recurring pushes
The pushes your app sends again and again, daily, weekly or monthly, at a local time in the time zone you name.
Right on the key: Notifications: read for a read, edit (secret key) for a write.
Your app's recurring pushes
GET/v1/masjid/app-notifications/recurring
The pushes your app sends again and again (daily, weekly, monthly), newest first, by cursor (limit 1 to 100, 25 by default; cursor from the previous page). Needs Notifications: read.
Parameters
limitinteger · queryItems per page, 1 to 100.
cursorstring · queryThe previous page's
pagination.nextCursor; absent for the first page.
Returns
A page of recurring pushes.
objectlistAlways
list.dataobject[]The items of this page.
Show child attributes (18)
objectapp_recurring_notificationAlways
app_recurring_notification.idstringThe recurring push id.
titlestringThe push title.
bodystring | nullThe push body.
enabledbooleanIt is sent.
hiddenbooleanHidden from the in-app list.
sendToOnebooleanSent to a single test device.
targetobjectWhere the push opens: a URL or a page of your app.
target.urlstring | nullThe URL the push opens.
target.pagestring | nullThe id of the app page the push opens.
frequencydaily | weekly | monthly | nullHow often it is sent.
atobjectWhen it is sent: at
timeintimezone.at.timezonestring | nullThe IANA time zone of
time.at.daysstring[]The weekdays of a weekly push.
at.dayOfMonthnumber | nullThe day of a monthly push; past the month's last day, it is sent on the last day.
at.timestring | nullThe local time it is sent,
HH:MM.createdAtstring | nullWhen it was created (ISO-8601).
updatedAtstring | nullWhen it last changed (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/app-notifications/recurring" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"data": [
{
"at": {
"dayOfMonth": null,
"days": [
"friday"
],
"time": "11:30",
"timezone": "Europe/London"
},
"body": "Jumu'ah at 13:15.",
"createdAt": "2026-12-01T10:00:00.000Z",
"enabled": true,
"frequency": "weekly",
"hidden": false,
"id": "arn_6af5c9e2bc095fbd2dc5735d",
"object": "app_recurring_notification",
"sendToOne": false,
"target": {
"page": null,
"url": null
},
"title": "Jumu'ah reminder",
"updatedAt": "2026-12-01T10:00:00.000Z"
}
],
"object": "list",
"pagination": {
"hasMore": false,
"limit": 25,
"nextCursor": null
}
}One of your recurring pushes
GET/v1/masjid/app-notifications/recurring/{id}
A recurring push of your app, and when it is sent. Needs Notifications: read.
Parameters
idstring · pathrequiredThe recurring push id.
Returns
The recurring push.
objectapp_recurring_notificationAlways
app_recurring_notification.idstringThe recurring push id.
titlestringThe push title.
bodystring | nullThe push body.
enabledbooleanIt is sent.
hiddenbooleanHidden from the in-app list.
sendToOnebooleanSent to a single test device.
targetobjectWhere the push opens: a URL or a page of your app.
Show child attributes (2)
urlstring | nullThe URL the push opens.
pagestring | nullThe id of the app page the push opens.
frequencydaily | weekly | monthly | nullHow often it is sent.
atobjectWhen it is sent: at
timeintimezone.Show child attributes (4)
timezonestring | nullThe IANA time zone of
time.daysstring[]The weekdays of a weekly push.
dayOfMonthnumber | nullThe day of a monthly push; past the month's last day, it is sent on the last day.
timestring | nullThe local time it is sent,
HH:MM.
createdAtstring | nullWhen it was created (ISO-8601).
updatedAtstring | nullWhen it last changed (ISO-8601).
Errors
curl "https://hub.masjidbox.com/v1/masjid/app-notifications/recurring/arn_6af5c9e2bc095fbd2dc5735d" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"at": {
"dayOfMonth": null,
"days": [
"friday"
],
"time": "11:30",
"timezone": "Europe/London"
},
"body": "Jumu'ah at 13:15.",
"createdAt": "2026-12-01T10:00:00.000Z",
"enabled": true,
"frequency": "weekly",
"hidden": false,
"id": "arn_6af5c9e2bc095fbd2dc5735d",
"object": "app_recurring_notification",
"sendToOne": false,
"target": {
"page": null,
"url": null
},
"title": "Jumu'ah reminder",
"updatedAt": "2026-12-01T10:00:00.000Z"
}Create a recurring push of your app
POST/v1/masjid/app-notifications/recurring
Creates a push sent to every device of the app, daily, weekly (on at.days) or monthly (on at.dayOfMonth, the last day of a shorter month), at at.time in at.timezone (an IANA zone, else 400). Needs a secret key with Notifications: edit. Counts against the write quota: 30 writes an hour and 300 a day per organization.
Parameters
No parameters.
Request body
titlestringrequiredThe push title.
bodystringThe push body.
enabledbooleanfalse: it is not sent.hiddenbooleanHidden from the in-app list.
sendToOnebooleanSent to a single test device.
targetobjectWhere the push opens; null clears a side.
Show child attributes (2)
urlstring | nullThe URL the push opens; null clears it.
pagestring | nullThe id of the app page the push opens; null clears it.
frequencydaily | weekly | monthlyrequiredHow often it is sent.
atobjectrequiredWhen it is sent:
daysfor a weekly push,dayOfMonthfor a monthly one.Show child attributes (4)
timezonestringrequiredThe IANA time zone of
time.daysstring[]The weekdays of a weekly push.
dayOfMonthintegerThe day of a monthly push, 1 to 31; past the month's last day, it is sent on the last day.
timestring · HH:mmrequiredThe local time it is sent,
HH:MM.
Returns
The recurring push, as stored.
objectapp_recurring_notificationAlways
app_recurring_notification.idstringThe recurring push id.
titlestringThe push title.
bodystring | nullThe push body.
enabledbooleanIt is sent.
hiddenbooleanHidden from the in-app list.
sendToOnebooleanSent to a single test device.
targetobjectWhere the push opens: a URL or a page of your app.
Show child attributes (2)
urlstring | nullThe URL the push opens.
pagestring | nullThe id of the app page the push opens.
frequencydaily | weekly | monthly | nullHow often it is sent.
atobjectWhen it is sent: at
timeintimezone.Show child attributes (4)
timezonestring | nullThe IANA time zone of
time.daysstring[]The weekdays of a weekly push.
dayOfMonthnumber | nullThe day of a monthly push; past the month's last day, it is sent on the last day.
timestring | nullThe local time it is sent,
HH:MM.
createdAtstring | nullWhen it was created (ISO-8601).
updatedAtstring | nullWhen it last changed (ISO-8601).
Errors
curl -X POST "https://hub.masjidbox.com/v1/masjid/app-notifications/recurring" \
-H "Authorization: Bearer $MASJIDBOX_KEY" \
-H "Content-Type: application/json" \
-d '{"at":{"days":["friday"],"time":"11:30","timezone":"Europe/London"},"frequency":"weekly","title":"Jumu'ah reminder"}'{
"at": {
"days": [
"friday"
],
"time": "11:30",
"timezone": "Europe/London"
},
"frequency": "weekly",
"title": "Jumu'ah reminder"
}{
"at": {
"dayOfMonth": null,
"days": [
"friday"
],
"time": "11:30",
"timezone": "Europe/London"
},
"body": "Jumu'ah at 13:15.",
"createdAt": "2026-12-01T10:00:00.000Z",
"enabled": true,
"frequency": "weekly",
"hidden": false,
"id": "arn_6af5c9e2bc095fbd2dc5735d",
"object": "app_recurring_notification",
"sendToOne": false,
"target": {
"page": null,
"url": null
},
"title": "Jumu'ah reminder",
"updatedAt": "2026-12-01T10:00:00.000Z"
}Change a recurring push
PATCH/v1/masjid/app-notifications/recurring/{id}
A merge: a field you leave out stays, nested ones (target, at) field by field. The next push is sent at the new at.time in at.timezone. Needs a secret key with Notifications: edit. Counts against the write quota: 30 writes an hour and 300 a day per organization.
Parameters
idstring · pathrequiredThe recurring push id.
Request body
titlestringThe push title.
bodystringThe push body.
enabledbooleanfalse: it is not sent.hiddenbooleanHidden from the in-app list.
sendToOnebooleanSent to a single test device.
targetobjectWhere the push opens; null clears a side.
Show child attributes (2)
urlstring | nullThe URL the push opens; null clears it.
pagestring | nullThe id of the app page the push opens; null clears it.
frequencydaily | weekly | monthlyHow often it is sent.
atobjectWhen it is sent; the fields named merge.
Show child attributes (4)
timezonestringThe IANA time zone of
time.daysstring[]The weekdays of a weekly push.
dayOfMonthintegerThe day of a monthly push, 1 to 31; past the month's last day, it is sent on the last day.
timestring · HH:mmThe local time it is sent,
HH:MM.
Returns
The recurring push after the change.
objectapp_recurring_notificationAlways
app_recurring_notification.idstringThe recurring push id.
titlestringThe push title.
bodystring | nullThe push body.
enabledbooleanIt is sent.
hiddenbooleanHidden from the in-app list.
sendToOnebooleanSent to a single test device.
targetobjectWhere the push opens: a URL or a page of your app.
Show child attributes (2)
urlstring | nullThe URL the push opens.
pagestring | nullThe id of the app page the push opens.
frequencydaily | weekly | monthly | nullHow often it is sent.
atobjectWhen it is sent: at
timeintimezone.Show child attributes (4)
timezonestring | nullThe IANA time zone of
time.daysstring[]The weekdays of a weekly push.
dayOfMonthnumber | nullThe day of a monthly push; past the month's last day, it is sent on the last day.
timestring | nullThe local time it is sent,
HH:MM.
createdAtstring | nullWhen it was created (ISO-8601).
updatedAtstring | nullWhen it last changed (ISO-8601).
Errors
curl -X PATCH "https://hub.masjidbox.com/v1/masjid/app-notifications/recurring/arn_6af5c9e2bc095fbd2dc5735d" \
-H "Authorization: Bearer $MASJIDBOX_KEY" \
-H "Content-Type: application/json" \
-d '{"at":{"time":"12:00"}}'{
"at": {
"time": "12:00"
}
}{
"at": {
"dayOfMonth": null,
"days": [
"friday"
],
"time": "11:30",
"timezone": "Europe/London"
},
"body": "Jumu'ah at 13:15.",
"createdAt": "2026-12-01T10:00:00.000Z",
"enabled": true,
"frequency": "weekly",
"hidden": false,
"id": "arn_6af5c9e2bc095fbd2dc5735d",
"object": "app_recurring_notification",
"sendToOne": false,
"target": {
"page": null,
"url": null
},
"title": "Jumu'ah reminder",
"updatedAt": "2026-12-01T10:00:00.000Z"
}Delete a recurring push
DELETE/v1/masjid/app-notifications/recurring/{id}
Deletes a recurring push: it is never sent again. Needs a secret key with Notifications: edit. Counts against the write quota: 30 writes an hour and 300 a day per organization.
Parameters
idstring · pathrequiredThe recurring push id.
Returns
Deleted. No body.
204 · No response body.
Errors
curl -X DELETE "https://hub.masjidbox.com/v1/masjid/app-notifications/recurring/arn_6af5c9e2bc095fbd2dc5735d" \
-H "Authorization: Bearer $MASJIDBOX_KEY"