Developers API Methods wizehive.auth.checkToken

wizehive.auth.checkToken

Returns the credentials attached to an authentication token.

Authentication

This method does not require authentication.

Arguments

api_key (Required) Your API application key. See here for more details. token (Required) The authentication token to check.

Example Response

<auth>
  <token>022ae2856657803a9d38be53c9208329</token>
  <perms>read</perms>
  <user id="682" username="mcarlson" fullname="Mark Carlson"/>
</auth>

perms can have values of none, read, write or delete.

Error Codes

98: Login failed / Invalid auth token The login details or auth token passed were invalid. 100: Invalid API Key The API key passed was not valid or has expired. 112: Method "xxx" not found
The requested method was not found.