Login

post

Start a login for a user authority. The user authority may be:

  • email
  • phone number
  • Apple JWT
  • Google JWT
Body
user_authstringOptional

email or phone number

auth_jwtstringOptional
auth_jwt_typestring · enumOptionalPossible values:
Responses
200Success
application/json
post
POST /auth/login HTTP/1.1
Host: api.bringyour.com
Content-Type: application/json
Accept: */*
Content-Length: 62

{
  "user_auth": "text",
  "auth_jwt": "text",
  "auth_jwt_type": "apple"
}
200Success
{
  "user_name": "text",
  "user_auth": "text",
  "auth_allowed": [
    "password"
  ],
  "error": {
    "suggested_user_auth": "password",
    "message": "text"
  },
  "network": {
    "by_jwt": "text"
  }
}

Was this helpful?