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": 1506418554 }
download_url
download url for the requested content.
string, max chars=500
valid_till
The vailidity of the download url returned.
timestamp(UTC) in seconds