IREX
EN

Quick Start

The typical workflow of a newcomer to the IREX API looks like this:

  1. Get authenticated
  2. Send a request
  3. Evaluate the response

Sending a Request

To send a request to IREX servers, use the CURL utility or any of the ,many GUI applications such as e.g., Postman. Consider an example in which the API user sends a request for information about themselves: identifier, user groups they belong to, their roles within each group, and more.

Run the request ...

GET Request GET Request Sample
/api/v1/users/me

... using the access_token obtained when getting authenticated at IREX API in the header of the request, for example:

curl -X 'GET' \
  'https://vg.irex.ai/edge-api/api/v1/users/me' \
  -H 'accept: */*' \
  -H 'Authorization: Bearer <access_token value>'

Evaluate the Response

The request returns a CurrentUserDto JSON object ...

CurrentUserDto JSON object schema with collapsed fields including id, email, role, ui_theme, and avatar_thumbnail

... in which, e.g., second_factor_enbled says if MFA is enabled for the request sender, ui_theme - what the user's GUI theme is, etc.