Quickstart
Get up and running with the Revelation 14 API in under 5 minutes.
Step 1: Authentication
First, you’ll need to authenticate with the API to get an access token.
cURL
JavaScript
Flutter/Dart
curl -X POST https://rzqklwfhwqmviintncqh.supabase.co/functions/v1/auth/login \
-H "Content-Type: application/json" \
-H "apikey: your_supabase_anon_key" \
-d '{
"email": "[email protected] ",
"password": "your_password"
}'
Step 2: Make Your First API Call
Now use your access token to create a note:
cURL
JavaScript
Flutter/Dart
curl -X POST https://rzqklwfhwqmviintncqh.supabase.co/functions/v1/notes-create \
-H "Authorization: Bearer your_access_token" \
-H "Content-Type: application/json" \
-d '{
"title": "My First Note",
"content": "This is my first note created via the API!",
"status": "DRAFT"
}'
Step 3: Fetch Your Notes
Retrieve your notes with proper user filtering:
cURL
JavaScript
Flutter/Dart
curl -X GET "https://rzqklwfhwqmviintncqh.supabase.co/functions/v1/notes-fetch?limit=10" \
-H "Authorization: Bearer your_access_token"
Expected Response
{
"message" : "Notes fetched successfully" ,
"data" : {
"notes" : [
{
"id" : "abc123..." ,
"title" : "My First Note" ,
"content" : "This is my first note created via the API!" ,
"status" : "DRAFT" ,
"createdBy" : "user_id" ,
"createdAt" : "2025-10-14T09:33:33.348Z" ,
"updatedAt" : "2025-10-14T09:33:33.348Z"
}
],
"pagination" : {
"total" : 1 ,
"limit" : 10 ,
"offset" : 0 ,
"hasMore" : false
},
"userId" : "user_id"
},
"success" : true
}
Next Steps
All API endpoints require valid authentication. Make sure to include your access token in the Authorization header.