Automate invoice fetching, ticket creation, and subscription management. Bearer token auth. JSON in, JSON out.
Exchange your client portal email and password for a Bearer token.
curl -X POST https://clustrixglobal.com/api/v1/auth/token \
-H "Accept: application/json" \
-d "email=you@company.com&password=••••••&name=My laptop"
Response:
{
"token": "2|abc123xyz...",
"token_name": "My laptop",
"user": { "id": 7, "email": "you@company.com", "client_id": 4, "client_name": "Acme Corp" }
}
curl https://clustrixglobal.com/api/v1/invoices \
-H "Authorization: Bearer 2|abc123xyz..." \
-H "Accept: application/json"
All errors return JSON with message and (for validation) errors.