Skip to content

28 Authorization

Преподобный Ален edited this page Feb 18, 2026 · 1 revision

Authorization

Check whether a user session is authorized.

This endpoint verifies if the given session code corresponds to a valid, active, and authorized session.

API

POST /api/v1/authorize

Request parameters:

Field Type Description
session STRING Required. Session code.

Response fields:

Field Type Description
authorized BOOLEAN Authorization result: true if the session is valid and authorized, false otherwise.
message STRING Descriptive message (e.g., reason for denial).

See Also

  • Authentication -- authenticating with session and secret
  • Sign In -- obtaining a session code
  • Who Am I -- retrieving the profile of the authorized user

Clone this wiki locally