Connect To A Ministry
curl --request POST \
--url https://api.thefaithapp.com/v1/member-connections/ministries/{ministryId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"role": "volunteer",
"directory_visible": true
}
'const options = {
method: 'POST',
headers: {
'X-API-Key': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({role: 'volunteer', directory_visible: true})
};
fetch('https://api.thefaithapp.com/v1/member-connections/ministries/{ministryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.thefaithapp.com/v1/member-connections/ministries/{ministryId}"
payload = {
"role": "volunteer",
"directory_visible": True
}
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",
"message": "Ministry connection submitted for approval.",
"data": {
"connection": {
"id": 103,
"role": "volunteer",
"status": "pending",
"source": "member",
"directory_visible": true,
"approved_at": null,
"joined_at": null,
"ended_at": null
}
}
}Member Connections
Connect To A Ministry
Creates or updates the authenticated member’s connection to a ministry. Church settings determine whether approval is required.
POST
/
v1
/
member-connections
/
ministries
/
{ministryId}
Connect To A Ministry
curl --request POST \
--url https://api.thefaithapp.com/v1/member-connections/ministries/{ministryId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"role": "volunteer",
"directory_visible": true
}
'const options = {
method: 'POST',
headers: {
'X-API-Key': '<api-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({role: 'volunteer', directory_visible: true})
};
fetch('https://api.thefaithapp.com/v1/member-connections/ministries/{ministryId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.thefaithapp.com/v1/member-connections/ministries/{ministryId}"
payload = {
"role": "volunteer",
"directory_visible": True
}
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",
"message": "Ministry connection submitted for approval.",
"data": {
"connection": {
"id": 103,
"role": "volunteer",
"status": "pending",
"source": "member",
"directory_visible": true,
"approved_at": null,
"joined_at": null,
"ended_at": null
}
}
}Authorizations
Public client key copied from Developer Access. The member bearer token authenticates the request.
Member access token returned by POST /v1/auth/token.
Path Parameters
Volunteer ministry identifier.
Required range:
x >= 1Body
application/json
Response
Ministry connection created or submitted for approval.
The response is of type object.
Was this page helpful?