Skip to content

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-ID in 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

  1. Status 200: Login successful.
{
"token": "string",
"expiresInSecs": "validity in seconds"
}
  1. Status 401: Unauthorized, incorrect username or password.
  2. Status 400: Bad request, e.g., missing fields.