Files.com REST API
- URL
-
https://SUBDOMAIN.files.com/api/rest/v1 - Docs
- https://developers.files.com/rest/
X-FilesAPI-Key: <credential> /Authorization: Basic <credential> Create an API key in the Files.com web app as described in API Keys. Site administrators can create site-wide keys; admins can also create user keys for any user, and non-admin users may be allowed to create their own user keys if the site setting permits it. Save the key value immediately because Files.com only shows it once.
X-FilesAPI-Auth: <credential> Create a session by sending a POST to /sessions on your site REST API with a Files.com user's username and password, as documented in REST API Authentication. The response id is the session ID. In the CLI, you can also run files-cli config set --subdomain SUBDOMAIN --username USERNAME and then execute a command to be prompted for the password, which creates and caches the session. For sensitive actions, Files.com may also require the password again in X-Files-Reauthentication.