List Bookmarks
curl --request GET \
--url https://api.thefaithapp.com/v1/bookmarks \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <api-key>'const options = {
method: 'GET',
headers: {'X-API-Key': '<api-key>', Authorization: 'Bearer <token>'}
};
fetch('https://api.thefaithapp.com/v1/bookmarks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.thefaithapp.com/v1/bookmarks"
headers = {
"X-API-Key": "<api-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"status": "Success",
"data": {
"bookmarks": [
{
"id": 1,
"title": "We’re Not Mere Humans",
"author": "Chris Oyakhilome",
"thumbnail": "devotionals/example-devotional.jpg",
"pivot": {
"member_id": 1,
"devotional_id": 1
}
}
]
}
}Engagement
List Bookmarks
Lists the devotional bookmarks saved by the authenticated member.
GET
/
v1
/
bookmarks
List Bookmarks
curl --request GET \
--url https://api.thefaithapp.com/v1/bookmarks \
--header 'Authorization: Bearer <token>' \
--header 'X-API-Key: <api-key>'const options = {
method: 'GET',
headers: {'X-API-Key': '<api-key>', Authorization: 'Bearer <token>'}
};
fetch('https://api.thefaithapp.com/v1/bookmarks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.thefaithapp.com/v1/bookmarks"
headers = {
"X-API-Key": "<api-key>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"status": "Success",
"data": {
"bookmarks": [
{
"id": 1,
"title": "We’re Not Mere Humans",
"author": "Chris Oyakhilome",
"thumbnail": "devotionals/example-devotional.jpg",
"pivot": {
"member_id": 1,
"devotional_id": 1
}
}
]
}
}Was this page helpful?