HomeGuidesAPI Reference
API Reference

Authenticate user and create REST API HTTP session

Authenticates a user using local, RADIUS, or TACACS+ credentials and creates an authenticated HTTP session. Supports optional two-factor authentication (email or app-based TOTP). On successful login, a CSRF token cookie is set for subsequent API calls. Failed login attempts are tracked and may result in temporary account lockout after exceeding the configured threshold.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Login credentials for user authentication. Supports JSON body or form URL-encoded data. Two-factor authentication token required if enabled for user account.

User authentication credentials for login request. Supports local, RADIUS, and TACACS+ authentication methods with optional two-factor authentication.

string
required
length ≥ 1

Username or user ID for authentication. Must be a valid user account in the system or configured authentication server.

string
required
length ≥ 1

User password. Can be plain text or AES-GCM encrypted if isEncrypted is true. Cannot be null or empty.

integer
enum
Defaults to 0

Authentication protocol to use. Only Local (0), RADIUS (1), and TACACS+ (2) are supported via this endpoint.

Allowed:
string
^[0-9]{4,6}$

Two-factor authentication code (6-digit TOTP from authenticator app or email code). Required only if user has 2FA enabled.

boolean
Defaults to false

Indicates if password is AES-GCM encrypted. When true, the randomizer field is required.

string

Base64-encoded initialization vector (IV) for AES-GCM password decryption. Obtain from /authentication/orchestratorRandomizer endpoint. Required only when isEncrypted is true.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

302

Redirect response for form URL-encoded login. On success, redirects to /webclient/html/gms_main.html.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/html
application/json