Menu

JWT Access- and Refresh Tokens

The JWT Access token and Refresh Token can be retrieved by calling the login endpoint.

POST https://api-staging-v2.logyx.it/v1/login

When created it can be set in the header as the example below.
Authorization: Bearer {JWT Access Token}

Body


email required

password required

Example

{
  "email": "string",
  "password": "string"
}

Response

{
    "code": 201,
    "message": "Created; User was logged in.",
    "data": {
      "access_token": "string",
      "refresh_token": "string"
    },
    "links": {},
    "errors": []
}

Possible responses


201 User was logged in.

403 Unauthorized.

Menu