Base URL
Authentication
All API requests require authentication via Clerk. Include your session token in the Authorization header:For server-to-server integrations, use API keys (coming soon). Contact support for early access.
Request Format
- Content-Type:
application/jsonfor most endpoints - File uploads:
multipart/form-data
Response Format
All responses return JSON:Error Responses
Rate Limiting
Rate limit headers are included in responses:
Endpoints
Upload Invoice
POST /api/upload
List Invoices
GET /api/invoices
Get Invoice
GET /api/invoices/:id
Export Data
GET /api/invoices/export
SDKs
Official SDKs coming soon. For now, use standard HTTP clients:- cURL
- JavaScript