email management

Upload File Cache

Upload a file to CPaaS's File Cache. The uploaded file can be referenced in emails using the returned cache key, avoiding the need to re-upload the same file for every email.

post/files

Request

  • Base URL
    https://cpaas.zoho.com/v1.1
  • Auth
    API key in header Authorization

Query parameters

namestring required
Example:invoice.pdf

Name of the file you are uploading to File Cache.

Request body multipart/form-data

filestring binary

The file to upload.

Response

File uploaded to cache successfully.

messagestring

Example response

{
  "data": {
    "file_cache_key": "fc-xxxx-xxxx"
  },
  "message": "OK"
}

Changes

No recorded changes to this operation across all 1 revision of this API.