Drive

Get a file download URL

Returns a short-lived presigned URL to download a Drive file by its id (from the list endpoint). The URL points at the raw file content and works without authentication until it expires. Requires scope drive:read.

get/drive/{id}/download-url

Request

  • Base URL: https://faivelo.com/api/v1
  • URL: https://faivelo.com/api/v1/drive/{id}/download-url
  • Auth: HTTP bearer

Path parameters

idstring required

The Drive file id (a FILE node)

Query parameters

disposition'attachment' | 'inline'

attachment (default) downloads with the real filename; inline is for preview

Response

Download URL

successboolean

Example response

{
  "success": true,
  "data": {
    "name": "candidates.xlsx"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.