Requesting to download through the API will return the download object as the response. This object will contain a URL that will allow the requested content to be downloaded.

Sample download [ JSON ]

{ "download_url": "https://cb-downloads-dev.s3.amazonaws.com/<your-site>/invoice_rI8lOV4vCCpI.pdf", "valid_till": 1528093653 }
download_url
The URL at which the file is available for download.
string, max chars=3500
valid_till
The time until which the download_url is valid.
timestamp(UTC) in seconds
mime_type
The media type of the file.
optional, string, max chars=100