Skip to main content
POST
/
projects
/
{project_id}
/
actions
/
#GOOGLE_DRIVE_DOWNLOAD_FILE
Download File
curl --request POST \
  --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GOOGLE_DRIVE_DOWNLOAD_FILE' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "GOOGLE_DRIVE_DOWNLOAD_FILE",
  "parameters": {
    "fileId": "<string>",
    "mimeType": "<string>",
    "fileEncoding": "raw"
  }
}
'

Authorizations

Authorization
string
header
required

Your Paragon User Token (JWT), which you can generate using your project's signing keys.

Path Parameters

project_id
string
required

Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.

Body

application/json
action
string
default:GOOGLE_DRIVE_DOWNLOAD_FILE
required
parameters
object
required

Response

200

This Action will respond with a byte stream of the file data from the Google Drive API.

The Content-Type response header will vary based on the MIME type of the file.