Cerclen API
Files

Get a download link

A short-lived link to a file's bytes. Read keys may ask for one too.

POST
/api/v1/deals/{deal_id}/files/{version_id}/download-link

A short-lived link to a file's bytes. Read keys may ask for one too.

Authorization

ApiKey
headerAuthorizationBearer <token>

An API key from your organization's API Keys page in Cerclen.

Path Parameters

version_id*Version Id
Formatuuid
deal_id*Deal Id
Formatuuid

Response Body

Successful Response

application/json
  1. response
content_type*Content Type
expires_at*Expires At
Formatdate-time
filename*Filename
size*Size
url*Url

Fetch it soon, without your key: it expires.

curl -X POST 'https://app.cerclen.com/api/v1/deals/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/download-link' \  -H "Authorization: Bearer $CERCLEN_KEY"
{  "content_type": "string",  "expires_at": "2019-08-24T14:15:22Z",  "filename": "string",  "size": 0,  "url": "string"}