latestOpenAPI 3.0.32026-08-10152216352.3 KB

eea119b4113f

Authentication

Login with access key

Authenticate user using access key and secret key

post/login

Request body

accessKeystring required

User's access key

secretKeystring required

User's secret key

durationstring

Custom token validity duration. Defaults to 24h if not provided. Format: <number><unit> where unit is h (hours), d (days), w (weeks), m (months), y (years). Maximum allowed duration is 1 year. Examples: 1h, 12h, 7d, 2w, 6m, 1y.

Example request

{
  "duration": "24h"
}

Response

Successful login

accessTokenstring

JWT access token

expiresAtinteger

Token expiration time in seconds

tokenTypestring

Type of token (e.g., "Bearer")