LiquidFiles Documentation
LiquidFiles Documentation

Retrieve any users API key

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 Info
Info Value
Request URL /account/api_key
Request VERB GET
Request Parameters
Parameter Type Description
email String The users email or username, the same as you would use when logging into the web interface.

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 using curl

curl -X GET -H "Accept: application/json" -H "Content-Type: application/json" \
  --user nkpIxMK9ucUUE7FvfNpdAf:x https://liquidfiles.company.com/account/api_key?email=user@example.com

{"user":
  {
    "api_key":"iBFIgP83fPtH64yjp8ef2Q"
  }
}