Skip to main content
GET
/
v1
/
mosques
/
{mosqueId}
/
capabilities
List supported sync capabilities
curl --request GET \
  --url https://api.pocketmusala.com/v1/mosques/{mosqueId}/capabilities \
  --header 'Authorization: Bearer <token>'
{
  "version": "v1",
  "approvedProfileFields": [
    "communityName",
    "address",
    "latitude",
    "longitude",
    "timeZoneId"
  ],
  "supportedPrayerKeys": [],
  "resources": [
    "profile",
    "announcements",
    "prayers",
    "events",
    "sync"
  ],
  "scopes": {
    "read": "<string>",
    "write": "<string>"
  }
}

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

Response

Supported fields, prayer keys, resources, and scopes.

version
string
required
Example:

"v1"

approvedProfileFields
string[]
required
Example:
[
"communityName",
"address",
"latitude",
"longitude",
"timeZoneId"
]
supportedPrayerKeys
enum<string>[]
required
Available options:
fajr,
sunrise,
dhuhr,
asr,
maghrib,
isha,
midnight,
tahajjud,
duha,
jummah,
eid
resources
string[]
required
Example:
[
"profile",
"announcements",
"prayers",
"events",
"sync"
]
scopes
object
required