GET
/
v1
/
open
/
audios
Get Audio Sermons
curl --request GET \
  --url https://app.thefaithapp.com/api/v1/open/audios \
  --header 'Authorization: Bearer <token>' \
  --header 'X-API-Key: <x-api-key>'
{
  "current_page": 1,
  "data": [
    {
      "id": 6,
      "client_id": 2,
      "category_id": 2,
      "title": "Theme songs",
      "description": "Honour music",
      "source": "https://d2c58p2vdu8kb2.cloudfront.net/audios/htE1gR0GTssLCZaVMKjTH6P1Q3w81dHz7KdyvVuJ.mp3",
      "duration": "02:59",
      "media_type": "0",
      "deleted_at": null,
      "created_at": "2025-02-08T13:15:52.000000Z",
      "updated_at": "2025-02-08T13:15:52.000000Z",
      "cover_photo": "https://d2c58p2vdu8kb2.cloudfront.net/cover_photo/XtzGozzqa6C8LIZ8RaAclJG7yO0Bj57JFlqTl3c2.jpg"
    }
  ],
  "first_page_url": "https://app.thefaithapp.com/api/v1/open/audios?page=1",
  "from": 1,
  "last_page": 1,
  "last_page_url": "https://app.thefaithapp.com/api/v1/open/audios?page=1",
  "links": [
    {
      "url": null,
      "label": "&laquo; Previous",
      "active": false
    },
    {
      "url": "https://app.thefaithapp.com/api/v1/open/audios?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/audios",
  "per_page": 30,
  "prev_page_url": null,
  "to": 2,
  "total": 2
}
Retrieve a paginated list of audio sermons for the authenticated user’s church.

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

Search term to filter audio sermons.

page
integer
default:1

Page number for pagination (default: 1).

Response

Paginated list of audio sermons.

current_page
integer

Current page number of the result set.

Example:

1

data
object[]

List of audio sermon objects.

first_page_url
string<uri>

URL to the first page of results.

Example:

"https://app.thefaithapp.com/api/v1/open/audios?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/audios?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/audios"

per_page
integer

Number of items per page.

Example:

30

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:

2

total
integer

Total number of items available.

Example:

2