version 7.8.2

Back | 

WsUserToken

Returns a temporary user token for a user with the maximum age of the token before it expires.

URL Format

/ws/ws_user_token/api/{app_token}/mode/json/apiv/5/u/{username}/p/{password}

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.
username string Username ot be authenticated
password string The pasword for the user. This value is base 64 encoded and then url encoded. Password = urlencode(base64_encode(password)).

Possible Responses

  • 224 User token found
  • 200 Invalid User / Password
  • 102 Invalid app token

Example Response

null