Users

User login

post/login

Request body

emailstring

An e-mail address.

passwordstring

Example request

{
  "email": "john.smith@example.com"
}

Response

Successful response - the JWT token

tokenstring

Example response

{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtYWdudXMuaGVyb2xkQHNsb3d0ZWMuZGUiLCJleHAiOjE2MDY4MjIyMTZ9.3lO245XVvqZ16FuKfBtHP7ybSsZZTng6HmPIKK6UBLI"
}

Changes

Changed in 4 of the 50 revisions of this API.712

    • the request's body type/format changed from object/ to /

      request-body-type-changed

    • added the media type application/json for the response with the status 200

      response-media-type-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • bca9ebb2d24a21See the full diff
    • added Email to the email request property allOf list

      request-property-all-of-added

    • the email request property type/format changed from string/ to /

      request-property-type-changed

    • the email request property's minLength was decreased from 3 to 0

      request-property-min-length-decreased

  • ddfd4e39c98d41See the full diff
    • the request's body type/format changed from / to object/

      request-body-type-changed

    • the email request property's minLength was increased from 0 to 3

      request-property-min-length-increased

    • the email request property type/format changed from / to string/

      request-property-type-changed

    • removed the media type application/json for the response with the status 200

      response-media-type-removed

    • removed Email from the email request property allOf list

      request-property-all-of-removed

    This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog