GET
/
v1
/
open
/
notifications
Get Notifications
curl --request GET \
  --url https://app.thefaithapp.com/api/v1/open/notifications \
  --header 'Authorization: Bearer <token>' \
  --header 'X-API-Key: <x-api-key>'
{
  "current_page": 1,
  "data": [
    {
      "id": 1,
      "client_id": 2,
      "title": "Change in Conference date",
      "body": "<p>The conference date has been changed</p>",
      "created_at": "2025-05-03T07:06:26.000000Z",
      "updated_at": "2025-05-03T07:06:26.000000Z",
      "deleted_at": null,
      "image_url": "https://d2c58p2vdu8kb2.cloudfront.net/clients/wcwOY98v6H9Aq4ag8vOnDXMgGXfyZyIJmRyBguj9.jpg"
    }
  ],
  "first_page_url": "https://app.thefaithapp.com/api/v1/open/notifications?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "https://app.thefaithapp.com/api/v1/open/notifications?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "active": false
    },
    {
      "url": "https://app.thefaithapp.com/api/v1/open/notifications?page=1",
      "label": "1",
      "active": true
    },
    {
      "url": null,
      "label": "Next &raquo;",
      "active": false
    }
  ],
  "next_page_url": null,
  "path": "https://app.thefaithapp.com/api/v1/open/notifications",
  "per_page": 10,
  "prev_page_url": null,
  "to": 1,
  "total": 1
}
Retrieves a paginated list of notifications for the authenticated user’s church.
  • Requires both an API key and a Firebase ID token.
  • Supports optional pagination.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Key
string
required

Your client API key from the dashboard (Settings page).

Query Parameters

page
integer
default:1

Page number for pagination (default: 1).

Response

Paginated list of notifications.

current_page
integer

Current page number of the result set.

Example:

1

data
object[]

List of notification objects.

first_page_url
string<uri>

URL to the first page of results.

Example:

"https://app.thefaithapp.com/api/v1/open/notifications?page=1"

from
integer

Index of the first item returned.

Example:

1

last_page
integer

Last page number of the result set.

Example:

1

last_page_url
string<uri>

URL to the last page of results.

Example:

"https://app.thefaithapp.com/api/v1/open/notifications?page=1"

Pagination navigation links.

next_page_url
string<uri> | null

URL to the next page of results, or null if on the last page.

Example:

null

path
string<uri>

Base path for the paginated results.

Example:

"https://app.thefaithapp.com/api/v1/open/notifications"

per_page
integer

Number of items per page.

Example:

10

prev_page_url
string<uri> | null

URL to the previous page of results, or null if on the first page.

Example:

null

to
integer

Index of the last item returned.

Example:

1

total
integer

Total number of items available.

Example:

1