Business Ops APIs
AINative's Business Ops APIs bring AI-native capabilities to everyday business operations — invoicing, billing, time tracking, and ecommerce. All apps are powered by ZeroDB for semantic search and vector storage.
Available APIs
| API | Base URL | Auth |
|---|---|---|
| ZeroInvoice | https://zeroinvoice.ainative.studio | JWT (form login) |
| ZeroCommerce | https://zerocommerce-production.up.railway.app | JWT (cookie/bearer) |
Authentication
Both APIs use JWT Bearer tokens. Protected endpoints return 401 when no token is provided.
ZeroInvoice — Form Login
curl -X POST https://zeroinvoice.ainative.studio/api/auth/login \
-F "username=user@example.com" \
-F "password=yourpassword"
ZeroCommerce — JSON Login
curl -X POST https://zerocommerce-production.up.railway.app/api/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"user@example.com","password":"yourpassword"}'
Error Format
ZeroInvoice
{
"error": {
"message": "Incorrect email or password",
"code": "HTTP_ERROR",
"status_code": 401,
"recovery_suggestion": "Please log in and try again",
"details": {}
}
}
ZeroCommerce
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Request validation failed",
"details": [{"loc": ["body", "email"], "msg": "Field required"}]
}
}