Documentation Index
Fetch the complete documentation index at: https://docs.rev14ministries.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication API
Login User
POST /auth/login
Authenticate a user with email and password
https://rzqklwfhwqmviintncqh.supabase.co/functions/v1
Request
application/json
Your Supabase anon key
User’s email address
User’s password
Response
Indicates if the request was successful
HTTP status code
Response message
Register User
POST /auth/register
Create a new user account
Request
application/json
Your Supabase anon key
User’s full name
User’s email address
User’s password (minimum 8 characters)
Response
Similar to login response with newly created user data.Create Password
POST /auth/create-password
Set or update user password
Request
User’s email address
New password to set
Response
Success message
User data and new access token
Error Codes
| Status Code | Error | Description |
|---|---|---|
| 400 | Bad Request | Invalid request body or missing required fields |
| 401 | Unauthorized | Invalid credentials |
| 404 | Not Found | User not found |
| 500 | Internal Server Error | Server error occurred |
All authentication endpoints return JWT tokens that expire after 2 hours. Store tokens securely and handle expiration gracefully in your application.