Create Files
Create Files in any supported Filestorage software
Query parameters
Set to true to include data from the original Accounting software.
Headers
The connection token
Request body
Example request
{
"name": "my_paris_photo.png",
"file_url": "https://example.com/my_paris_photo.png",
"mime_type": "application/pdf",
"size": "1024",
"folder_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"drive_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"permissions": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"shared_link": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"field_mappings": {
"fav_dish": "broccoli",
"fav_color": "red"
}
}Response
Example response
{
"name": "my_paris_photo.png",
"file_url": "https://example.com/my_paris_photo.png",
"mime_type": "application/pdf",
"size": "1024",
"folder_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"drive_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"permissions": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"shared_link": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"field_mappings": {
"fav_dish": "broccoli",
"fav_color": "red"
},
"id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"remote_id": "id_1",
"remote_data": {
"fav_dish": "broccoli",
"fav_color": "red"
},
"remote_folder_id": "folder_123",
"remote_drive_id": "drive_123",
"created_at": "2024-10-01T12:00:00Z",
"modified_at": "2024-10-01T12:00:00Z",
"remote_created_at": "2024-10-01T12:00:00Z",
"remote_modified_at": "2024-10-01T12:00:00Z"
}Changes
Changed in 4 of the 49 revisions of this API.317
- ○
added the optional property
remote_was_deletedto the response with the201statusresponse-optional-property-added
- ○
- ▲
added the new required request property
permissionsnew-required-request-property
- ▲
removed the required property
permissionfrom the response with the201statusresponse-required-property-removed
- ●
removed the request property
permissionrequest-property-removed
- ○
added the required property
permissionsto the response with the201statusresponse-required-property-added
- ▲
- ▲
added the new required request property
drive_idnew-required-request-property
- ○
added the optional property
remote_created_atto the response with the201statusresponse-optional-property-added
- ○
added the optional property
remote_drive_idto the response with the201statusresponse-optional-property-added
- ○
added the optional property
remote_modified_atto the response with the201statusresponse-optional-property-added
- ○
added the required property
drive_idto the response with the201statusresponse-required-property-added
- ▲
- ○
added the optional property
remote_folder_idto the response with the201statusresponse-optional-property-added
- ○