Skip to Content
Open Retainer
Files

Request a signed download

POST
/v1/files/{id}/download

Requires the read scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Path Parameters

id*string

Retainer identifier.

Formatuuid

Response Body

Successful response.

application/json
  1. response
url*string
headers*
expiresAt*string
Formatdate-time
Example Request
curl -X POST 'https://retainer.tamloot.cc/v1/files/d2c0648c-2994-4f16-bdf1-a0136be6037d/download' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY'
Example Response
{  "url": "string",  "headers": {    "property1": "string",    "property2": "string"  },  "expiresAt": "2019-08-24T14:15:22Z"}