cURL
curl --request POST \ --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#BOX_SAVE_FILE' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "action": "BOX_SAVE_FILE", "parameters": { "fileAttributes": {}, "file": "<string>" } } '
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
Attributes : Additional attributes (https://developer.box.com/reference/post-files-content#param-attributes) of the file being uploaded. (example: "{ "content_created_at": "2012-12-12T10:53:43-08:00", "content_modified_at": "2012-12-12T10:53:43-08:00", "name": "qwerty.png", "parent": { "id": "1234567" } }")
File URL : Files must be smaller than 50MB in size. (example: "https://picsum.photos/200/300")
Success
Was this page helpful?