REST API reference

Read and write to your masjid's data programmatically.

Our REST API is the same one our dashboard uses. Every endpoint authenticates via a bearer token scoped to a role and a tenant.

Base URL

https://api.masjiddesk.com/v1

Authentication

Generate a personal API token in Settings → API. Pass it as a Bearer token:

curl https://api.masjiddesk.com/v1/members \
  -H "Authorization: Bearer mdk_live_..."

Common endpoints

  • GET /members — list members.
  • POST /members — create a member.
  • GET /donations — list donations.
  • GET /events — list events.
  • POST /announcements — send an announcement.
Rate limits: 60 requests / minute on standard plans, 600 / minute on Pro. We send rate-limit headers on every response.