Complete API documentation for integrating with Quatrolingual services and accessing your data programmatically.
All API requests require authentication using your API key. Include it in the Authorization header:
You can generate and manage your API keys from your dashboard.Go to Dashboard
/api/user/meRetrieve current user information and credit balance
Response:
{
"id": "user_123",
"email": "user@example.com",
"name": "John Doe",
"credits": 150,
"createdAt": "2024-01-01T00:00:00Z"
}/api/productsGet a list of all available products
Query Parameters:
category - Filter by category IDlimit - Number of results (default: 20)offset - Pagination offset/api/products/purchasePurchase a product using credits
Request Body:
{
"productId": "prod_123",
"quantity": 1
}/api/downloads/:purchaseIdGet a secure download link for a purchased product
Response:
{
"downloadUrl": "https://...",
"expiresAt": "2024-01-01T01:00:00Z"
}Note: Rate limit headers are included in all responses to help you track your usage.
400Bad Request - Invalid parameters401Unauthorized - Invalid API key403Forbidden - Insufficient permissions429Too Many Requests - Rate limit exceeded500Internal Server Error