API ReferenceEndpoints
Endpoints Overview
Summary of all available API endpoints.
Available Endpoints
All endpoints use the base URL: https://eitztntfwelucezqxjmw.supabase.co/functions/v1
| Endpoint | Methods | Description |
|---|---|---|
/api-contacts | GET, POST, PATCH, DELETE | CRM contacts |
/api-deals | GET, POST, PATCH, DELETE | CRM deals |
/api-issues | GET, POST, PATCH, DELETE | Support tickets |
/api-projects | GET, POST, PATCH, DELETE | Projects and tasks |
/api-ingest | POST | Bulk data ingestion |
Common Parameters
Pagination
All list endpoints support pagination:
| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number |
per_page | integer | 25 | Items per page (max 100) |
Filtering
Filter results using query parameters:
GET /api-contacts?email=john@example.com&company=AcmeSorting
Sort results with sort and order parameters:
GET /api-contacts?sort=created_at&order=descError Responses
Errors return a consistent JSON structure:
{
"error": {
"code": "not_found",
"message": "Contact not found"
}
}| HTTP Status | Meaning |
|---|---|
| 400 | Bad request — invalid parameters |
| 401 | Unauthorized — missing or invalid API key |
| 403 | Forbidden — insufficient permissions |
| 404 | Not found |
| 429 | Rate limit exceeded |
| 500 | Internal server error |