cURL
curl --request POST \ --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GOOGLE_DRIVE_SAVE_FILE' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "action": "GOOGLE_DRIVE_SAVE_FILE", "parameters": { "file": {}, "parentId": "<string>", "sharedDrive": true, "filename": "<string>", "additionalFields": {} } } '
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 to save to Google Drive. (example: { "data": "48656c6c6f2c20776f726c6421", "dataType": "FILE", "mimeType": "text/plain" })
The folder to save files to. Defaults to the user's root folder if left blank
Shared Drive : Specify whether the upload target is a shared drive. Defaults to false.
File Name : Defaults to origin file name if left blank.
Additional fields to update in JSON format. (example: { "supportsAllDrives": true })
Success
Was this page helpful?