Authentication

Login and token reference

Use these endpoints to authenticate against the public API and refresh access tokens when needed.

Login endpoint

MethodPOST
Route/api/Authenication/login
AuthAnonymous access allowed
Inputusername and password in the JSON request body
ResponseLogged-in user object including id, userType, token, and expiry
POST /api/Authenication/login
Content-Type: application/json

{
  "username": "partner@example.com",
  "password": "your-password"
}
{
  "firstName": "string",
  "lastName": "string",
  "id": "string",
  "email": "string",
  "username": "string",
  "userType": "Partner",
  "token": "eyJhbGciOiJIUzI1NiIs...",
  "expiresUTC": "2026-03-30T00:00:00Z",
  "requiresTwoFactor": false
}

Refresh token endpoint

MethodPOST
Route/api/Authenication/refresh-token
AuthBearer token required
InputNo body
ResponseString token value
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...

Portal behavior

The webhook admin only allows partner accounts. If userType is not Partner, login is rejected.

The portal uses the returned id as the partner ID automatically.

Credentials are accepted only in the JSON request body; query-string login is not supported.