GET/v1/integration/files/{type}/{id}

Download a file

Authorize a file in the active account and redirect to a short-lived URL. Send Accept: application/json or as=link to receive url and expires_at instead of a redirect. Records store a disk and a path; the URL is created on this request.

operationIdfile.showFilesBearer token

Authentication

Bearer token with the integration ability. Create tokens in Settings → API.

Authorization: Bearer <integration-personal-access-token>

Example request

curl -sS -X GET 'https://api.asklytic.com/v1/integration/files/{type}/{id}' \
  -H 'Authorization: Bearer $INTEGRATION_TOKEN' \
  -H 'Accept: application/json'

Parameters

Name
In
Type and rules
typeRequired
path
string
idRequired
path
string

Responses

Name
Type
Required