Your masjid · Masjid profile
Your masjid's profile
The public profile of your masjid: contact, capacity, services, facilities and the prayers held there.
Right on the key: Masjid profile: read for a read, edit (secret key) for a write.
Your masjid's profile
GET/v1/masjid/profile
The public profile of your masjid: bio, contact, capacity, services, facilities and the prayers held there, as the Masjidbox apps, pages and the public API show them.
Parameters
No parameters.
Returns
The profile.
objectprofileAlways
profile.masjidsstring[]The organization's masjids: they share one timetable, so this setting is each of theirs.
biostring | nullA few words on the masjid.
contactobject | nullHow to reach the masjid.
Show child attributes (8)
emailstring | nullThe public email address.
websitestring | nullThe website.
phonestring | nullThe public phone number.
facebookstring | nullThe Facebook page.
twitterstring | nullThe X (Twitter) account.
instagramstring | nullThe Instagram account.
youtubestring | nullThe YouTube channel.
whatsappstring | nullThe WhatsApp number.
capacityobject | nullHow many it holds.
Show child attributes (2)
mennumber | nullPlaces for men.
womennumber | nullPlaces for women.
servicesobject | nullThe services it offers.
Show child attributes (6)
nikahboolean | nullNikah.
iftarboolean | nullIftar.
hallHireboolean | nullHall hire.
funeralboolean | nullFuneral services.
counsellingboolean | nullCounselling.
conversionboolean | nullConversion (shahada).
facilitiesobject | nullIts facilities.
Show child attributes (6)
toiletsobject | nullToilets, for men and for women.
toilets.menboolean | nullToilets for men.
toilets.womenboolean | nullToilets for women.
ablutionsobject | nullAblution area, for men and for women.
ablutions.menboolean | nullAblution area for men.
ablutions.womenboolean | nullAblution area for women.
prayersobject | nullThe prayers held there.
Show child attributes (2)
jumuahboolean | nullJumu'ah is prayed.
taraweehboolean | nullTaraweeh is prayed.
updatedAtstringWhen the profile last changed.
Errors
curl "https://hub.masjidbox.com/v1/masjid/profile" \
-H "Authorization: Bearer $MASJIDBOX_KEY"{
"masjids": [
"msj_o5urjd3hd5",
"msj_k2w8x1p0aa"
],
"object": "profile",
"bio": "A welcoming masjid since 1987.",
"capacity": {
"men": 400,
"women": 150
},
"contact": {
"email": "office@example.org",
"facebook": null,
"instagram": null,
"phone": "+44 121 000 0000",
"twitter": null,
"website": "https://example.org",
"whatsapp": null,
"youtube": null
},
"facilities": {
"ablutions": {
"men": true,
"women": true
},
"toilets": {
"men": true,
"women": true
}
},
"prayers": {
"jumuah": true,
"taraweeh": true
},
"services": {
"conversion": true,
"counselling": false,
"funeral": true,
"hallHire": false,
"iftar": true,
"nikah": true
},
"updatedAt": "2026-11-12T08:02:11.000Z"
}Change your masjid's profile
PATCH/v1/masjid/profile
JSON Merge Patch per group: each group merges field by field (facilities one level deeper), null clears a field or a group, a group you leave out stays. The public pages and the public API show the change within minutes. An empty body changes nothing. Needs a secret key with Masjid profile: edit. 30 writes an hour and 300 a day per organization.
Parameters
No parameters.
Request body
biostring | nullA few words on the masjid. Null clears it.
contactobject | nullHow to reach the masjid, merged field by field. Null clears it.
Show child attributes (8)
emailstring | nullThe public email address. Null clears it.
websitestring | nullThe website. Null clears it.
phonestring | nullThe public phone number. Null clears it.
facebookstring | nullThe Facebook page. Null clears it.
twitterstring | nullThe X (Twitter) account. Null clears it.
instagramstring | nullThe Instagram account. Null clears it.
youtubestring | nullThe YouTube channel. Null clears it.
whatsappstring | nullThe WhatsApp number. Null clears it.
capacityobject | nullHow many it holds, merged field by field. Null clears it.
Show child attributes (2)
meninteger | nullPlaces for men. Null clears it.
womeninteger | nullPlaces for women. Null clears it.
servicesobject | nullThe services it offers, merged field by field. Null clears it.
Show child attributes (6)
nikahboolean | nullNikah. Null clears it.
iftarboolean | nullIftar. Null clears it.
hallHireboolean | nullHall hire. Null clears it.
funeralboolean | nullFuneral services. Null clears it.
counsellingboolean | nullCounselling. Null clears it.
conversionboolean | nullConversion (shahada). Null clears it.
facilitiesobject | nullIts facilities, merged one level deeper. Null clears it.
Show child attributes (6)
toiletsobject | nullToilets, merged per side. Null clears it.
toilets.menboolean | nullToilets for men. Null clears it.
toilets.womenboolean | nullToilets for women. Null clears it.
ablutionsobject | nullAblution area, merged per side. Null clears it.
ablutions.menboolean | nullAblution area for men. Null clears it.
ablutions.womenboolean | nullAblution area for women. Null clears it.
prayersobject | nullThe prayers held there, merged field by field. Null clears it.
Show child attributes (2)
jumuahboolean | nullJumu'ah is prayed. Null clears it.
taraweehboolean | nullTaraweeh is prayed. Null clears it.
Returns
The profile after the write.
objectprofileAlways
profile.masjidsstring[]The organization's masjids: they share one timetable, so this setting is each of theirs.
biostring | nullA few words on the masjid.
contactobject | nullHow to reach the masjid.
Show child attributes (8)
emailstring | nullThe public email address.
websitestring | nullThe website.
phonestring | nullThe public phone number.
facebookstring | nullThe Facebook page.
twitterstring | nullThe X (Twitter) account.
instagramstring | nullThe Instagram account.
youtubestring | nullThe YouTube channel.
whatsappstring | nullThe WhatsApp number.
capacityobject | nullHow many it holds.
Show child attributes (2)
mennumber | nullPlaces for men.
womennumber | nullPlaces for women.
servicesobject | nullThe services it offers.
Show child attributes (6)
nikahboolean | nullNikah.
iftarboolean | nullIftar.
hallHireboolean | nullHall hire.
funeralboolean | nullFuneral services.
counsellingboolean | nullCounselling.
conversionboolean | nullConversion (shahada).
facilitiesobject | nullIts facilities.
Show child attributes (6)
toiletsobject | nullToilets, for men and for women.
toilets.menboolean | nullToilets for men.
toilets.womenboolean | nullToilets for women.
ablutionsobject | nullAblution area, for men and for women.
ablutions.menboolean | nullAblution area for men.
ablutions.womenboolean | nullAblution area for women.
prayersobject | nullThe prayers held there.
Show child attributes (2)
jumuahboolean | nullJumu'ah is prayed.
taraweehboolean | nullTaraweeh is prayed.
updatedAtstringWhen the profile last changed.
affectedMasjidsstring[]The masjids the write changed: every masjid of the organization.
Errors
curl -X PATCH "https://hub.masjidbox.com/v1/masjid/profile" \
-H "Authorization: Bearer $MASJIDBOX_KEY" \
-H "Content-Type: application/json" \
-d '{"capacity":{"men":450},"contact":{"email":"office@example.org"}}'{
"capacity": {
"men": 450
},
"contact": {
"email": "office@example.org"
}
}{
"masjids": [
"msj_o5urjd3hd5",
"msj_k2w8x1p0aa"
],
"object": "profile",
"bio": "A welcoming masjid since 1987.",
"capacity": {
"men": 400,
"women": 150
},
"contact": {
"email": "office@example.org",
"facebook": null,
"instagram": null,
"phone": "+44 121 000 0000",
"twitter": null,
"website": "https://example.org",
"whatsapp": null,
"youtube": null
},
"facilities": {
"ablutions": {
"men": true,
"women": true
},
"toilets": {
"men": true,
"women": true
}
},
"prayers": {
"jumuah": true,
"taraweeh": true
},
"services": {
"conversion": true,
"counselling": false,
"funeral": true,
"hallHire": false,
"iftar": true,
"nikah": true
},
"updatedAt": "2026-11-12T08:02:11.000Z",
"affectedMasjids": [
"msj_o5urjd3hd5",
"msj_k2w8x1p0aa"
]
}