Authentication

Confirm the OTP and receive an access token

post/verify-otp

Request

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

Request body

emailstring email required

Rules: required|email

otp_codestring required

Rules: required|string|size:6

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.