API Reference
REST API
Complete reference for all API endpoints. All requests are made to https://inferix.co/api
Authentication
Most endpoints require authentication via Bearer token in the Authorization header
Getting an Access Token
Sign up or sign in to receive an access token and refresh token:
POST /api/auth/signup
Content-Type: application/json
{
"email": "user@example.com",
"password": "secure-password",
"username": "username"
}Using the Token
Include the access token in the Authorization header:
GET /api/auth/me
Authorization: Bearer <your-access-token>Authentication
Endpoints for user authentication and account management
POST
/api/auth/signupRegister a new user
POST
/api/auth/signinSign in with email and password
POST
/api/auth/refreshRefresh access token using refresh token
GET
/api/auth/me🔒 Auth Required
Get current user profile
POST
/api/auth/password-reset-requestRequest password reset
POST
/api/auth/password-reset-confirmConfirm password reset with token
POST
/api/auth/logout🔒 Auth Required
Sign out current user
Response Format
All API responses follow a consistent format
Success Response
{
"data": { ... },
"message": "Operation successful"
}Error Response
{
"statusCode": 400,
"message": "Error description",
"error": "Bad Request"
}Rate Limiting
API rate limits by plan tier
Free Plan10 requests/minute · 100/hour
Pro Plan100 requests/minute · 1,000/hour
Team Plan500 requests/minute · 5,000/hour
EnterpriseCustom limits