Skip to main content
GET
/
v1
/
favorites
List Favorites
curl --request GET \
  --url https://api.thefaithapp.com/v1/favorites \
  --header 'Authorization: Bearer <token>' \
  --header 'X-API-Key: <x-api-key>'
{
  "status": "<string>",
  "data": {},
  "data.favorites": [
    {}
  ],
  "data.favorites[].pivot": {},
  "data.favorites[].media_type": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.thefaithapp.com/llms.txt

Use this file to discover all available pages before exploring further.

Lists the favorite media items saved by the authenticated member.

Request inputs

X-API-Key
string
required
Your client API key from the dashboard (Settings page).

Response fields

status
string
required
Indicates whether the favorites list loaded successfully.
data
object
required
The favorites wrapper returned for the authenticated member.
data.favorites
object[]
The media items the member has already marked as favorites.
data.favorites[].pivot
object
Join-table metadata showing which member favorited which media record.
data.favorites[].media_type
string
The stored media type value for the favorited content.

Example response

{
  "status": "Success",
  "data": {
    "favorites": [
      {
        "id": 1,
        "title": "Spirit Song",
        "source": "audios/example-audio.mp3",
        "media_type": "0",
        "pivot": {
          "member_id": 1,
          "media_id": 1
        }
      }
    ]
  }
}