version 7.8.2

Back | 

WsUser

Returns user details

URL Format

/ws/ws_user/api/{app_token}/mode/json/apiv/5/?u={user_token}

Parameters

Name Req Type Description
app_token string The api token for the given account. You can find the api token when navigating through account->api accounts
apiv integer The api version; only version 5 supported.
user_token string The user token of the user logged into the system

Possible Responses

  • 1233 User found
  • 102 Invalid app token
  • 100 Invalid user token.

Example Response

{
  "response": {
    "success": {
      "code": 1233,
      "message": "User found",
      "details": ""
    },
    "WsUserResponse": {
      "user": [
        {
          "id": 6388,
          "uuid": "8a572bdc3323b74c",
          "timezone": "America\/New_York",
          "isactive": 1,
          "newslettersubscribe": 0,
          "preferred": 0,
          "firstname": "Unmesh",
          "lastname": "Deolekar",
          "email": "unmesh.deolekar@piksel.com",
          "isManaged": 0,
          "wsAllowStaticLogin": 0,
          "isInternal": 0,
          "isResellerInternal": 0
        }
      ]
    }
  }
}