Authentication

Log in and receive an access token

post/login

Request

  • Base URL: https://fontanella.app/api/v1
  • URL: https://fontanella.app/api/v1/login
  • Auth: API key in header X-API-KEY and API key in header X-USER-ID

Request body

emailstring email required

Rules: required|email|max:255

passwordstring required

Rules: required|string|min:8|max:255

Response

Success

messagestring
tokenstring
token_typestring
expires_atstring date-time
emailstring email
company_namestring nullable
company_idinteger nullable
must_change_passwordboolean

Example response

{
  "message": "Login Successful",
  "token_type": "Bearer"
}

Changes

No recorded changes to this operation across all 1 revision of this API.