You are viewing the documentation for the older version of our API (V1). Click here for information on upgrading to the latest version (V2).

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": 1484646432 }
download_url
Download url for the requested content.
string, max chars=3500
valid_till
The download_url will be valid until the time specified.
timestamp(UTC) in seconds