Skip to content

Login user

https://extiri.com/api/1/users/login

Method: POST

This endpoint will log in the user using credentials provided in Authorization header. It returns a token that is used in calls to other endpoints.

Parameters

Headers

  • Authorization header (required) - basic authorization using email and password concatenated using : and encoded using Base-64, for example: (not encoded) [email protected]:S@meVeryP0werfu1Passw0rd (encoded) ZXhhbXBsZUBleGFtcGxlLmNvbTpleGFtcGxlUGFzc3dvcmQ=

Success response

  • token - string containing session token.

Example

Request:

https://extiri.com/api/1/users/login

Authorization: Basic ZXhhbXBsZUBleGFtcGxlLmNvbTpleGFtcGxlUGFzc3dvcmQ=

Response:

{
  "token": "C05D571B-E7F0-486D-98C9-7EF369F43CB7"
}