Skip to main content
PATCH
Update a manual prayer row

Authorizations

Authorization
string
header
required

PocketMusala Developer API key from the authenticated portal.

Headers

X-Request-Id
string

Partner-generated request id used for logs and support.

Minimum string length: 1

Path Parameters

mosqueId
string<uuid>
required
prayerId
string<uuid>
required

Body

application/json
prayerKey
enum<string>
required
Available options:
fajr,
sunrise,
dhuhr,
asr,
maghrib,
isha,
midnight,
tahajjud,
duha,
jummah,
eid
adhanTime
string
required

Accepts HH:mm or h:mm am/pm.

Pattern: ^((0?[1-9]|1[0-2]):[0-5][0-9]\s*(am|pm)|([01]?[0-9]|2[0-3]):[0-5][0-9])$
Examples:

"04:21"

"4:21 am"

"13:15"

"1:15 pm"

iqamahTime
string | null

Accepts HH:mm or h:mm am/pm.

Pattern: ^((0?[1-9]|1[0-2]):[0-5][0-9]\s*(am|pm)|([01]?[0-9]|2[0-3]):[0-5][0-9])$
Example:

"04:21"

Response

Current prayer row list.

prayers
object[]
required