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": "<your-site>/invoice_rI8lOV4vCCpI.pdf", "valid_till": 1528093653 }
download url for the requested content.
string, max chars=1250
The vailidity of the download url returned.
timestamp(UTC) in seconds