Your masjid · Screens
Your screen settings
The settings every screen follows: languages, how prayer times show, what shows during the prayers, alerts, branding and duas.
Right on the key: Screens: read for a read, edit (secret key) for a write.
Your screen settings
GET/v1/masjid/screen-settings
The settings every screen of your organization follows: languages, how prayer times show, what shows during the prayers, alert durations and sounds, branding, duas and label overrides. Needs Screens: read.
Parameters
No parameters.
Returns
The screen settings.
objectscreen_settingsAlways
screen_settings.languagesstring[]Languages the screens cycle through.
languageDelaynumber | nullSeconds each language stays before the next.
customRemindersboolean | nullYou show your own reminders.
timesobjectHow prayer times are shown.
Show child attributes (7)
showTomorrowboolean | nullTomorrow's times are shown.
hideTomorrowIndicatorboolean | nullThe "tomorrow" indicator is hidden.
athanboolean | nullThe athan times are shown.
iqamahboolean | nullThe iqamah times are shown.
iqamahTypestandard | delay | nullIqamah shown as a time or as a delay.
highlightathan | iqamah | nullWhich time of the next prayer is highlighted.
hideSunriseboolean | nullSunrise is hidden.
blackScreenobjectWhat the screens show during the prayers.
Show child attributes (2)
salatoff | black | default | nullWhat the screens show during the prayer.
jumuahoff | black | default | nullWhat the screens show during Jumu'ah.
iqamahCountdownTypeoff | badge | banner | nullHow the countdown to iqamah is shown.
hideobjectParts of the screen that are hidden.
Show child attributes (2)
statusboolean | nullThe status bar is hidden.
alertsboolean | nullThe alerts are hidden.
alertsobjectDurations of the prayer alerts.
Show child attributes (10)
athannumber | nullSeconds the athan alert stays.
athanDuanumber | nullSeconds the dua after the athan stays.
iqamahnumber | nullSeconds the iqamah alert stays.
fajrnumber | nullMinutes the Fajr prayer lasts.
dhuhrnumber | nullMinutes the Dhuhr prayer lasts.
jumuahnumber | nullMinutes Jumu'ah lasts.
asrnumber | nullMinutes the Asr prayer lasts.
maghribnumber | nullMinutes the Maghrib prayer lasts.
ishanumber | nullMinutes the Isha prayer lasts.
tasbeehnumber | nullSeconds the tasbeeh stays.
audioAlertobjectSounds played at the athan and the iqamah.
Show child attributes (6)
athanobjectSound of the athan.
athan.genreoff | bip | audio | nullSound played at the athan: none, a beep, or the audio.
athan.audiostring | nullThe audio played at the athan.
iqamahobjectSound of the iqamah.
iqamah.genreoff | bip | audio | nullSound played at the iqamah: none, a beep, or the audio.
iqamah.audiostring | nullThe audio played at the iqamah.
brandingobjectBranding shown on the screens.
Show child attributes (2)
logostring | nullThe logo shown on the screens.
platformboolean | nullThe Masjidbox branding is shown.
duasobjectYour own duas.
Show child attributes (2)
afterAzanobject[]Duas shown after the athan.
tasbeehobject[]Tasbeeh shown after the prayer.
translationsobject[]Label overrides, one entry per language.
Show child attributes (2)
codestring | nullThe language.
labelsobjectLabel overrides, by label key.
createdAtstring | nullWhen the settings were created (ISO-8601).
updatedAtstring | nullWhen they last changed (ISO-8601).
Errors
curl "https://hub.masjidbox.com/v1/masjid/screen-settings" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"alerts": {
"athan": 60,
"athanDua": 60,
"iqamah": 60,
"fajr": 10,
"dhuhr": 10,
"jumuah": 45,
"asr": 10,
"maghrib": 10,
"isha": 10,
"tasbeeh": 60
},
"audioAlert": {
"athan": {
"audio": "https://cdn.example.org/athan.mp3",
"genre": "audio"
},
"iqamah": {
"audio": null,
"genre": "bip"
}
},
"blackScreen": {
"jumuah": "black",
"salat": "default"
},
"branding": {
"logo": "https://cdn.example.org/logo.webp",
"platform": true
},
"createdAt": "2026-11-12T08:00:00.000Z",
"customReminders": false,
"duas": {
"afterAzan": [
{
"en": {
"text": "Dua",
"trans": "Transliteration"
}
}
],
"tasbeeh": []
},
"hide": {
"alerts": false,
"status": false
},
"iqamahCountdownType": "banner",
"languageDelay": 10,
"languages": [
"en",
"ar"
],
"object": "screen_settings",
"times": {
"athan": true,
"hideSunrise": false,
"hideTomorrowIndicator": false,
"highlight": "athan",
"iqamah": true,
"iqamahType": "standard",
"showTomorrow": false
},
"translations": [
{
"code": "fr",
"labels": {
"PRAYER_FAJR": "Sobh"
}
}
],
"updatedAt": "2026-11-12T08:00:00.000Z"
}Change your screen settings
PATCH/v1/masjid/screen-settings
A merge into the stored settings, as the dashboard's: a nested object keeps the fields it does not name, a list (languages, duas.*, translations) is replaced whole. Every duration is an integer of 0 to 3600, every URL https. Every screen follows the change at its next refresh. Needs a secret key with Screens: edit. Counts against the write quota: 30 writes an hour and 300 a day per organization.
Parameters
No parameters.
Request body
languagesstring[]Languages the screens cycle through, up to 10: the whole list.
languageDelayintegerSeconds each language stays before the next. An integer, 0 to 3600.
customRemindersbooleanYou show your own reminders.
timesobjectHow prayer times are shown; the fields named merge.
Show child attributes (7)
showTomorrowbooleanTomorrow's times are shown.
hideTomorrowIndicatorbooleanThe "tomorrow" indicator is hidden.
athanbooleanThe athan times are shown.
iqamahbooleanThe iqamah times are shown.
iqamahTypestandard | delayIqamah shown as a time or as a delay.
highlightathan | iqamahWhich time of the next prayer is highlighted.
hideSunrisebooleanSunrise is hidden.
blackScreenobjectWhat the screens show during the prayers.
Show child attributes (2)
salatoff | black | defaultWhat the screens show during the prayer.
jumuahoff | black | defaultWhat the screens show during Jumu'ah.
iqamahCountdownTypeoff | badge | bannerHow the countdown to iqamah is shown.
hideobjectParts of the screen that are hidden.
Show child attributes (2)
statusbooleanThe status bar is hidden.
alertsbooleanThe alerts are hidden.
alertsobjectDurations of the prayer alerts; the fields named merge.
Show child attributes (10)
athanintegerSeconds the athan alert stays. An integer, 0 to 3600.
athanDuaintegerSeconds the dua after the athan stays. An integer, 0 to 3600.
iqamahintegerSeconds the iqamah alert stays. An integer, 0 to 3600.
fajrintegerMinutes the Fajr prayer lasts. An integer, 0 to 3600.
dhuhrintegerMinutes the Dhuhr prayer lasts. An integer, 0 to 3600.
jumuahintegerMinutes Jumu'ah lasts. An integer, 0 to 3600.
asrintegerMinutes the Asr prayer lasts. An integer, 0 to 3600.
maghribintegerMinutes the Maghrib prayer lasts. An integer, 0 to 3600.
ishaintegerMinutes the Isha prayer lasts. An integer, 0 to 3600.
tasbeehintegerSeconds the tasbeeh stays. An integer, 0 to 3600.
audioAlertobjectSounds played at the athan and the iqamah.
Show child attributes (6)
athanobjectSound of the athan.
athan.genreoff | bip | audioSound played at the athan: none (
off), a beep (bip), or the audio.athan.audiostring | nullThe audio played at the athan. An https URL; null removes it.
iqamahobjectSound of the iqamah.
iqamah.genreoff | bip | audioSound played at the iqamah: none (
off), a beep (bip), or the audio.iqamah.audiostring | nullThe audio played at the iqamah. An https URL; null removes it.
brandingobjectBranding shown on the screens.
Show child attributes (2)
logostring | nullThe logo shown on the screens. An https URL; null removes it.
platformbooleanThe Masjidbox branding is shown.
duasobjectYour own duas.
Show child attributes (2)
afterAzanobject[]Duas shown after the athan: the whole list.
tasbeehobject[]Tasbeeh shown after the prayer: the whole list.
translationsobject[]Label overrides, one entry per language: the whole list.
Show child attributes (2)
codestringrequiredThe language.
labelsobjectrequiredLabel overrides, by label key.
Returns
The screen settings after the change.
objectscreen_settingsAlways
screen_settings.languagesstring[]Languages the screens cycle through.
languageDelaynumber | nullSeconds each language stays before the next.
customRemindersboolean | nullYou show your own reminders.
timesobjectHow prayer times are shown.
Show child attributes (7)
showTomorrowboolean | nullTomorrow's times are shown.
hideTomorrowIndicatorboolean | nullThe "tomorrow" indicator is hidden.
athanboolean | nullThe athan times are shown.
iqamahboolean | nullThe iqamah times are shown.
iqamahTypestandard | delay | nullIqamah shown as a time or as a delay.
highlightathan | iqamah | nullWhich time of the next prayer is highlighted.
hideSunriseboolean | nullSunrise is hidden.
blackScreenobjectWhat the screens show during the prayers.
Show child attributes (2)
salatoff | black | default | nullWhat the screens show during the prayer.
jumuahoff | black | default | nullWhat the screens show during Jumu'ah.
iqamahCountdownTypeoff | badge | banner | nullHow the countdown to iqamah is shown.
hideobjectParts of the screen that are hidden.
Show child attributes (2)
statusboolean | nullThe status bar is hidden.
alertsboolean | nullThe alerts are hidden.
alertsobjectDurations of the prayer alerts.
Show child attributes (10)
athannumber | nullSeconds the athan alert stays.
athanDuanumber | nullSeconds the dua after the athan stays.
iqamahnumber | nullSeconds the iqamah alert stays.
fajrnumber | nullMinutes the Fajr prayer lasts.
dhuhrnumber | nullMinutes the Dhuhr prayer lasts.
jumuahnumber | nullMinutes Jumu'ah lasts.
asrnumber | nullMinutes the Asr prayer lasts.
maghribnumber | nullMinutes the Maghrib prayer lasts.
ishanumber | nullMinutes the Isha prayer lasts.
tasbeehnumber | nullSeconds the tasbeeh stays.
audioAlertobjectSounds played at the athan and the iqamah.
Show child attributes (6)
athanobjectSound of the athan.
athan.genreoff | bip | audio | nullSound played at the athan: none, a beep, or the audio.
athan.audiostring | nullThe audio played at the athan.
iqamahobjectSound of the iqamah.
iqamah.genreoff | bip | audio | nullSound played at the iqamah: none, a beep, or the audio.
iqamah.audiostring | nullThe audio played at the iqamah.
brandingobjectBranding shown on the screens.
Show child attributes (2)
logostring | nullThe logo shown on the screens.
platformboolean | nullThe Masjidbox branding is shown.
duasobjectYour own duas.
Show child attributes (2)
afterAzanobject[]Duas shown after the athan.
tasbeehobject[]Tasbeeh shown after the prayer.
translationsobject[]Label overrides, one entry per language.
Show child attributes (2)
codestring | nullThe language.
labelsobjectLabel overrides, by label key.
createdAtstring | nullWhen the settings were created (ISO-8601).
updatedAtstring | nullWhen they last changed (ISO-8601).
Errors
curl -X PATCH "https://hub.masjidbox.com/v1/masjid/screen-settings" \
-H "Authorization: Bearer $MASJIDBOX_KEY" \
-H "Content-Type: application/json" \
-d '{"alerts":{"athan":60},"languages":["en","ar"]}'{
"alerts": {
"athan": 60
},
"languages": [
"en",
"ar"
]
}{
"alerts": {
"athan": 60,
"athanDua": 60,
"iqamah": 60,
"fajr": 10,
"dhuhr": 10,
"jumuah": 45,
"asr": 10,
"maghrib": 10,
"isha": 10,
"tasbeeh": 60
},
"audioAlert": {
"athan": {
"audio": "https://cdn.example.org/athan.mp3",
"genre": "audio"
},
"iqamah": {
"audio": null,
"genre": "bip"
}
},
"blackScreen": {
"jumuah": "black",
"salat": "default"
},
"branding": {
"logo": "https://cdn.example.org/logo.webp",
"platform": true
},
"createdAt": "2026-11-12T08:00:00.000Z",
"customReminders": false,
"duas": {
"afterAzan": [
{
"en": {
"text": "Dua",
"trans": "Transliteration"
}
}
],
"tasbeeh": []
},
"hide": {
"alerts": false,
"status": false
},
"iqamahCountdownType": "banner",
"languageDelay": 10,
"languages": [
"en",
"ar"
],
"object": "screen_settings",
"times": {
"athan": true,
"hideSunrise": false,
"hideTomorrowIndicator": false,
"highlight": "athan",
"iqamah": true,
"iqamahType": "standard",
"showTomorrow": false
},
"translations": [
{
"code": "fr",
"labels": {
"PRAYER_FAJR": "Sobh"
}
}
],
"updatedAt": "2026-11-12T08:00:00.000Z"
}