filestorage/files
Create Files
Create Files in any supported Filestorage software
post/filestorage/files
Query parameters
remote_databoolean
Set to true to include data from the original Accounting software.
Headers
x-connection-tokenstring required
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"
}