Files
Get the file storage usage
GET /files/storage_usage
GET
/files/storage_usageReturns how much CRM file storage the account has used and how much its plan allows.
When to use: Before uploading a large file, or when create_file answers crm_file_quota_exceeded, to tell the user how much space is left.
When not to use: To see which files take the space, use list_files on each record. Storage used by email attachments or by Marketing images is not counted here: only files attached to CRM records.
Permissions: Requires a CRM seat and the crm.contacts_companies.read capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Response Body
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/files/storage_usage" \ -H "X-Auth-Token: YOUR_API_KEY"{ "used_bytes": 0, "limit_bytes": 0, "exceeded": true, "crm_pro_limit_bytes": 0}