LiquidFiles Documentation
LiquidFiles Documentation

Retrieve any users API key

Deprecation Notice

The XML API is only fully functional on LiquidFiles v2.x that is End of Life and End of Support.

This XML API has been deprecated in favour of the JSON API that's available in LiquidFiles v3.x onwards.

In some cases, you may need to have an API to retrieve API keys for any available user. You need to authenticate as an Administrator or System Adminstrator for this to be permitted.

Request

Request URL: /account/api_key
Request VERB: GET
Parameters:
email: # String. The email address or username of the user (same as you would
enter on the login field).
Response:
user:
api_key # String. The users API key.

The http response codes are 200 OK if the File Request was successful, and 404 Not found if the user can't be found.

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<user>
  <api_key>iBFIgP83fPtH64yjp8ef2Q</api_key>
</user>