Contents

  • Login
  • User details
  • Company details
  • Project details
  • Logout
  • Edit profile

Login

headers
{
  'Content-Type': 'application/json',
  'Version': <app_version>,
  'Client-Code': <api_client_code>,
}
body [raw]
{
  username: <email>,
  password: <password>,
  device_id: <device_id>,
  type: <device_type>,
  force_logout: <force_logout>,
  registration_id: <registration_id>,
  name: <device_name>,
}
response
{
  "code": 201,
  "data": {
    "email_verified": <boolean>,
    "id": <id>,
    "is_granted": <boolean>,
    "last_active_device": {
      "active": "True",
      ...
    },
    "status": <status>,
    "terms_accepted": <boolean>,
    "token": <user_token>,
    "type": <user_type>
  },
  "detail": "Success",
  "success": true,
}