This endpoint returns all subscribers whoseDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Muhammadbugaje/NAMETS_Website/llms.txt
Use this file to discover all available pages before exploring further.
is_active flag is True. You can narrow the results using query parameters that match each subscriber’s notification preferences. Both available endpoint paths accept identical parameters and return the same shape of data — they differ only in the serializer fields included (see the table below).
Endpoint paths
| Path | Source module | Serializer fields |
|---|---|---|
GET /api/subscribers/ | api/views.py | id, email, notify_announcements, notify_events, notify_prayer_changes |
GET /api/communications/subscribers/ | communications/views_api.py | id, email, phone, notify_announcements, notify_events, notify_prayer_changes, is_active |
X-N8N-Token header.
Query parameters
When present (any non-empty value), restricts results to subscribers where
notify_announcements = True. Use this to build the recipient list for an announcement notification.Example: ?announcements=1When present, restricts results to subscribers where
notify_events = True. Use this to target subscribers who opted in to event reminders.Example: ?events=1When present, restricts results to subscribers where
notify_prayer_changes = True. Use this for prayer-time update notifications.Example: ?prayer=1Response fields
The unique primary key of the subscriber record.
The subscriber’s email address. Always unique across all records.
The subscriber’s phone number. Returned only by the
/api/communications/subscribers/ path.true if the subscriber has opted in to announcement email notifications.true if the subscriber has opted in to event reminder emails.true if the subscriber has opted in to prayer-time change notifications.Whether the subscription is active. Returned only by the
/api/communications/subscribers/ path. All records returned by either endpoint are guaranteed to have is_active = true at query time.Examples
List all active subscribers:Example response
The/api/subscribers/ path returns:
/api/communications/subscribers/ path returns additional fields: