Status Codes

  • success: On successful operation
  • warning: On successful operation that requires attention
  • unexpected_error: On unexpected error
  • duplicated_user: When user with specified name and last name already exists
  • duplicated_user_phone: When a user with specified phone already exists
  • invalid_token: When specified token doesn’t exist
  • unlinked_token: When specified token is not linked to any user
  • invalid_credentials: When specified username and/or password are incorrect
  • invalid_request: When the request had an incorrect format
  • device_already_in_use: When the provided device is already in use by another user
  • device_already_linked: When a user has been registered successfully but the provided device is already linked to it
  • invalid_device_uid: When a device with the specified UID is not found