post/user/login

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/user/login
  • Auth
    API key in header x-api-key

Request body

company_login_namestring required

company name

emailstring required

Email

passwordstring required

Password

is_encryptedboolean

Flag indicates whether the password is encrypted or not

otpstring

OTP

recovery_codestring

Recovery code for account

mode'SMS' | 'EMAIL' | 'TOTP'

Mode of OTP

sso_loginboolean

SSO login flag

Response

200

auth_tokenstring
expires_atstring
typestring

Example response

{
  "expires_at": "2024-10-19T16:41:12.026Z",
  "type": "success"
}

Changes