Skip to main content

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

APIBase URLAuth
ZeroInvoicehttps://zeroinvoice.ainative.studioJWT (form login)
ZeroCommercehttps://zerocommerce-production.up.railway.appJWT (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"}]
}
}