curl --request POST \
--url https://api.example.com/api/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"role": "<string>",
"invitedBy": "<string>"
}
'{
"success": true,
"message": "<string>",
"data": "<string>"
}Register a new user account in the Church Management System
curl --request POST \
--url https://api.example.com/api/auth/register \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"role": "<string>",
"invitedBy": "<string>"
}
'{
"success": true,
"message": "<string>",
"data": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SidneyEmeka/church_management_system/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/auth/register
curl -X POST https://api.yourchurch.com/api/auth/register \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"password": "securePassword123",
"role": "member",
"invitedBy": "[email protected]"
}'
{
"success": true,
"message": "Registeration Successful",
"data": "A verification link has been sent to you. Kindly verify your email address"
}
{
"success": false,
"message": "Password must be at least 6 characters"
}
{
"success": false,
"message": "Email already exists"
}
{
"success": false,
"message": "Registeration not successful",
"data": "Error details"
}
isProfileComplete field is automatically set to false for new userscreatedAt and updatedAt) are automatically generated