Offer A Shared Resource
curl --request POST \
--url https://api.thefaithapp.com/v1/community/resources \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"type": "lending_item",
"title": "Portable camping chairs",
"description": "Four clean folding chairs available for short-term borrowing.",
"condition": "good",
"default_loan_days": 7
}
'const options = {
method: 'POST',
headers: {
'X-API-Key': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
type: 'lending_item',
title: 'Portable camping chairs',
description: 'Four clean folding chairs available for short-term borrowing.',
condition: 'good',
default_loan_days: 7
})
};
fetch('https://api.thefaithapp.com/v1/community/resources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.thefaithapp.com/v1/community/resources"
payload = {
"type": "lending_item",
"title": "Portable camping chairs",
"description": "Four clean folding chairs available for short-term borrowing.",
"condition": "good",
"default_loan_days": 7
}
headers = {
"X-API-Key": "<api-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "Success",
"data": {
"resource": {
"id": 207,
"type": "lending_item",
"title": "Portable camping chairs",
"description": "A lightweight folding wheelchair available for short-term use.",
"condition": "good",
"status": "pending_review",
"default_loan_days": 14,
"approximate_area": "Central Campus",
"is_owner": true,
"managed_by": "member",
"created_at": "2026-07-18T09:30:00.000000Z"
}
}
}Resource Sharing
Offer A Shared Resource
Submits a member-owned lending item for staff review before it becomes visible.
POST
/
v1
/
community
/
resources
Offer A Shared Resource
curl --request POST \
--url https://api.thefaithapp.com/v1/community/resources \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"type": "lending_item",
"title": "Portable camping chairs",
"description": "Four clean folding chairs available for short-term borrowing.",
"condition": "good",
"default_loan_days": 7
}
'const options = {
method: 'POST',
headers: {
'X-API-Key': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
type: 'lending_item',
title: 'Portable camping chairs',
description: 'Four clean folding chairs available for short-term borrowing.',
condition: 'good',
default_loan_days: 7
})
};
fetch('https://api.thefaithapp.com/v1/community/resources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.thefaithapp.com/v1/community/resources"
payload = {
"type": "lending_item",
"title": "Portable camping chairs",
"description": "Four clean folding chairs available for short-term borrowing.",
"condition": "good",
"default_loan_days": 7
}
headers = {
"X-API-Key": "<api-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": "Success",
"data": {
"resource": {
"id": 207,
"type": "lending_item",
"title": "Portable camping chairs",
"description": "A lightweight folding wheelchair available for short-term use.",
"condition": "good",
"status": "pending_review",
"default_loan_days": 14,
"approximate_area": "Central Campus",
"is_owner": true,
"managed_by": "member",
"created_at": "2026-07-18T09:30:00.000000Z"
}
}
}Authorizations
Public client key copied from Developer Access. The member bearer token authenticates the request.
Member access token returned by POST /v1/auth/token.
Body
application/json
Allowed value:
"lending_item"Required string length:
3 - 120Required string length:
10 - 2000Available options:
new, good, fair Required range:
1 <= x <= 90Maximum string length:
100Was this page helpful?