Your masjid · Prayer times

Your jumu'ah times

Your organization's jumu'ah services, read with its own key and updated with a secret one.

Right on the key: Prayer times: read for a read, edit (secret key) for a write.

Your jumu'ah services

Masjid key · Prayer times: read

GET/v1/masjid/jumuah-times

Your organization's jumu'ah services: an empty list before any is set.

Parameters

No parameters.

Returns

The jumu'ah services.

  • objectjumuah_times

    Always jumuah_times.

  • masjidsstring[]

    The organization's masjids: they share one timetable, so these times are each of theirs.

  • timezonestring

    The organization's IANA timezone: every time is wall-clock in it.

  • timesobject[]

    The organization's jumu'ah services, in order; empty when it has none.

    Show child attributes (2)
    • athanstring · HH:mm

      The Friday athan, HH:MM.

    • iqamahstring · HH:mm

      The Friday iqamah, HH:MM.

  • updatedAtstring | null

    When the services last changed; null before they were ever set.

GET /v1/masjid/jumuah-times
curl "https://hub.masjidbox.com/v1/masjid/jumuah-times" \
  -H "Authorization: Bearer $MASJIDBOX_KEY"
200 · MasjidJumuahTimes
{
  "masjids": [
    "msj_o5urjd3hd5",
    "msj_k2w8x1p0aa"
  ],
  "object": "jumuah_times",
  "times": [
    {
      "athan": "13:00",
      "iqamah": "13:20"
    },
    {
      "athan": "14:00",
      "iqamah": "14:15"
    }
  ],
  "timezone": "Europe/London",
  "updatedAt": "2026-10-14T08:02:11.000Z"
}

Update your jumu'ah services

Masjid key · secret · Prayer times: edit

PATCH/v1/masjid/jumuah-times

JSON Merge Patch: times replaces the list, [] clears it, an absent times changes nothing. The first write creates your jumu'ah services and makes them active (no 409). Every masjid of your organization gets the new times, listed in affectedMasjids. Needs a secret key with Prayer times: edit. 30 writes an hour and 300 a day per organization.

Parameters

No parameters.

Request body

  • timesobject[]

    The new list of services (at most 10); [] removes jumu'ah; absent leaves it as is.

    Show child attributes (2)
    • athanstring · HH:mmrequired

      The Friday athan, HH:MM.

    • iqamahstring · HH:mmrequired

      The Friday iqamah, HH:MM.

Returns

The jumu'ah services after the write.

  • objectjumuah_times

    Always jumuah_times.

  • masjidsstring[]

    The organization's masjids: they share one timetable, so these times are each of theirs.

  • timezonestring

    The organization's IANA timezone: every time is wall-clock in it.

  • timesobject[]

    The organization's jumu'ah services, in order; empty when it has none.

    Show child attributes (2)
    • athanstring · HH:mm

      The Friday athan, HH:MM.

    • iqamahstring · HH:mm

      The Friday iqamah, HH:MM.

  • updatedAtstring | null

    When the services last changed; null before they were ever set.

  • affectedMasjidsstring[]

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

PATCH /v1/masjid/jumuah-times
curl -X PATCH "https://hub.masjidbox.com/v1/masjid/jumuah-times" \
  -H "Authorization: Bearer $MASJIDBOX_KEY" \
  -H "Content-Type: application/json" \
  -d '{"times":[{"athan":"12:45","iqamah":"13:05"}]}'
Example request · MasjidJumuahTimesPatch
{
  "times": [
    {
      "athan": "12:45",
      "iqamah": "13:05"
    }
  ]
}
200 · MasjidJumuahTimesUpdated
{
  "masjids": [
    "msj_o5urjd3hd5",
    "msj_k2w8x1p0aa"
  ],
  "object": "jumuah_times",
  "times": [
    {
      "athan": "13:00",
      "iqamah": "13:20"
    },
    {
      "athan": "14:00",
      "iqamah": "14:15"
    }
  ],
  "timezone": "Europe/London",
  "updatedAt": "2026-10-14T08:02:11.000Z",
  "affectedMasjids": [
    "msj_o5urjd3hd5",
    "msj_k2w8x1p0aa"
  ]
}