Overview
All Sanicus Connect APIs are secured with short-lived JWT Bearer tokens. Tokens are issued by the auth-server using customer-specific client credentials. Every API client is provisioned with aclientId and clientSecret that are bound to a specific user account — no username is passed in the request.
Obtaining a token
Call the auth-server token endpoint with your client credentials. Replace{server} with your environment hostname (e.g. services, service-test, or a regional server name).
Endpoint
Error response — HTTP 401
Returned when the
clientId or clientSecret is incorrect, or when the client has no associated user account.
Client credentials are provisioned by the Sanicus Connect platform team. Contact
support@sanicus-connect.com to request API credentials for your tenant.
Using the token
Include the token in theAuthorization header of every API request.
JWT claims
The issued token carries the following claims, which downstream services use for authorisation.Token expiry and renewal
Tokens are valid for 3600 seconds (1 hour). There is no refresh token — callPOST /api/auth/token again with your client credentials to obtain a new token before the current one expires.
Service base URLs
Each service runs on its own context path. In production, all services are accessible through the API gateway.Standard error codes
Postman collections
Download a ready-to-use Postman collection for each service. Each collection includes:- All customer-facing endpoints organised by tag
- Bearer token auth pre-configured as
{{token}} {{baseUrl}}collection variable set to the production URL
token variable in Postman after importing, then start making calls.
Account Manager
Download collection
Asset Manager
Download collection
Staff Manager
Download collection
