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

Masjid key · Masjid profile: read

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.

  • objectprofile

    Always profile.

  • masjidsstring[]

    The organization's masjids: they share one timetable, so this setting is each of theirs.

  • biostring | null

    A few words on the masjid.

  • contactobject | null

    How to reach the masjid.

    Show child attributes (8)
    • emailstring | null

      The public email address.

    • websitestring | null

      The website.

    • phonestring | null

      The public phone number.

    • facebookstring | null

      The Facebook page.

    • twitterstring | null

      The X (Twitter) account.

    • instagramstring | null

      The Instagram account.

    • youtubestring | null

      The YouTube channel.

    • whatsappstring | null

      The WhatsApp number.

  • capacityobject | null

    How many it holds.

    Show child attributes (2)
    • mennumber | null

      Places for men.

    • womennumber | null

      Places for women.

  • servicesobject | null

    The services it offers.

    Show child attributes (6)
    • nikahboolean | null

      Nikah.

    • iftarboolean | null

      Iftar.

    • hallHireboolean | null

      Hall hire.

    • funeralboolean | null

      Funeral services.

    • counsellingboolean | null

      Counselling.

    • conversionboolean | null

      Conversion (shahada).

  • facilitiesobject | null

    Its facilities.

    Show child attributes (6)
    • toiletsobject | null

      Toilets, for men and for women.

    • toilets.menboolean | null

      Toilets for men.

    • toilets.womenboolean | null

      Toilets for women.

    • ablutionsobject | null

      Ablution area, for men and for women.

    • ablutions.menboolean | null

      Ablution area for men.

    • ablutions.womenboolean | null

      Ablution area for women.

  • prayersobject | null

    The prayers held there.

    Show child attributes (2)
    • jumuahboolean | null

      Jumu'ah is prayed.

    • taraweehboolean | null

      Taraweeh is prayed.

  • updatedAtstring

    When the profile last changed.

GET /v1/masjid/profile
curl "https://hub.masjidbox.com/v1/masjid/profile" \
  -H "Authorization: Bearer $MASJIDBOX_KEY"
200 · MasjidProfile
{
  "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

Masjid key · secret · Masjid profile: edit

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 | null

    A few words on the masjid. Null clears it.

  • contactobject | null

    How to reach the masjid, merged field by field. Null clears it.

    Show child attributes (8)
    • emailstring | null

      The public email address. Null clears it.

    • websitestring | null

      The website. Null clears it.

    • phonestring | null

      The public phone number. Null clears it.

    • facebookstring | null

      The Facebook page. Null clears it.

    • twitterstring | null

      The X (Twitter) account. Null clears it.

    • instagramstring | null

      The Instagram account. Null clears it.

    • youtubestring | null

      The YouTube channel. Null clears it.

    • whatsappstring | null

      The WhatsApp number. Null clears it.

  • capacityobject | null

    How many it holds, merged field by field. Null clears it.

    Show child attributes (2)
    • meninteger | null

      Places for men. Null clears it.

    • womeninteger | null

      Places for women. Null clears it.

  • servicesobject | null

    The services it offers, merged field by field. Null clears it.

    Show child attributes (6)
    • nikahboolean | null

      Nikah. Null clears it.

    • iftarboolean | null

      Iftar. Null clears it.

    • hallHireboolean | null

      Hall hire. Null clears it.

    • funeralboolean | null

      Funeral services. Null clears it.

    • counsellingboolean | null

      Counselling. Null clears it.

    • conversionboolean | null

      Conversion (shahada). Null clears it.

  • facilitiesobject | null

    Its facilities, merged one level deeper. Null clears it.

    Show child attributes (6)
    • toiletsobject | null

      Toilets, merged per side. Null clears it.

    • toilets.menboolean | null

      Toilets for men. Null clears it.

    • toilets.womenboolean | null

      Toilets for women. Null clears it.

    • ablutionsobject | null

      Ablution area, merged per side. Null clears it.

    • ablutions.menboolean | null

      Ablution area for men. Null clears it.

    • ablutions.womenboolean | null

      Ablution area for women. Null clears it.

  • prayersobject | null

    The prayers held there, merged field by field. Null clears it.

    Show child attributes (2)
    • jumuahboolean | null

      Jumu'ah is prayed. Null clears it.

    • taraweehboolean | null

      Taraweeh is prayed. Null clears it.

Returns

The profile after the write.

  • objectprofile

    Always profile.

  • masjidsstring[]

    The organization's masjids: they share one timetable, so this setting is each of theirs.

  • biostring | null

    A few words on the masjid.

  • contactobject | null

    How to reach the masjid.

    Show child attributes (8)
    • emailstring | null

      The public email address.

    • websitestring | null

      The website.

    • phonestring | null

      The public phone number.

    • facebookstring | null

      The Facebook page.

    • twitterstring | null

      The X (Twitter) account.

    • instagramstring | null

      The Instagram account.

    • youtubestring | null

      The YouTube channel.

    • whatsappstring | null

      The WhatsApp number.

  • capacityobject | null

    How many it holds.

    Show child attributes (2)
    • mennumber | null

      Places for men.

    • womennumber | null

      Places for women.

  • servicesobject | null

    The services it offers.

    Show child attributes (6)
    • nikahboolean | null

      Nikah.

    • iftarboolean | null

      Iftar.

    • hallHireboolean | null

      Hall hire.

    • funeralboolean | null

      Funeral services.

    • counsellingboolean | null

      Counselling.

    • conversionboolean | null

      Conversion (shahada).

  • facilitiesobject | null

    Its facilities.

    Show child attributes (6)
    • toiletsobject | null

      Toilets, for men and for women.

    • toilets.menboolean | null

      Toilets for men.

    • toilets.womenboolean | null

      Toilets for women.

    • ablutionsobject | null

      Ablution area, for men and for women.

    • ablutions.menboolean | null

      Ablution area for men.

    • ablutions.womenboolean | null

      Ablution area for women.

  • prayersobject | null

    The prayers held there.

    Show child attributes (2)
    • jumuahboolean | null

      Jumu'ah is prayed.

    • taraweehboolean | null

      Taraweeh is prayed.

  • updatedAtstring

    When the profile last changed.

  • affectedMasjidsstring[]

    The masjids the write changed: every masjid of the organization.

PATCH /v1/masjid/profile
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"}}'
Example request · MasjidProfilePatch
{
  "capacity": {
    "men": 450
  },
  "contact": {
    "email": "office@example.org"
  }
}
200 · MasjidProfileUpdated
{
  "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"
  ]
}