cURL
curl --request POST \ --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GOOGLE_DRIVE_GET_FILE_BY_ID' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "action": "GOOGLE_DRIVE_GET_FILE_BY_ID", "parameters": { "fileId": "<string>", "additionalFields": {}, "includeFileContents": true, "fileEncoding": "raw" } } '
{}
Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
File ID : The ID of the file. (example: "1PVW0QtmQv-829KNvV3DLbYL8WrpS4zhtPx2Ok")
Additional Fields : Specify any additional query parameters that should be needed in the request as JSON. Refer to the Google API docs (https://developers.google.com/drive/api/reference/rest/v3/files/get) for more. (example: " { "supportsAllDrives": true }")
Include File Contents
File Encoding (Default: raw)
raw
Success
Was this page helpful?