Authentication
- Only requests from pre-approved IP addresses are allowed to access the API.
- Send
Authorization: Bearer <access_token>header in all api calls - Request ID must be passed under the header
X-REQUEST-IDin all requests to allow cross system request tracking.
Base url
Staging - https://api.dev.myhubble.money
Prod - https://api.myhubble.money
Login API
- Endpoint:
/v1/partners/auth/login - Http method: POST
Request body
{ "clientId": "string", "clientSecret": "string"}Response Status and Description
- Status 200: Login successful.
{ "token": "string", "expiresInSecs": "validity in seconds"}- Status 401: Unauthorized, incorrect username or password.
- Status 400: Bad request, e.g., missing fields.