v1

latestOpenAPI 3.0.12026-07-144840447.2 KB
DMS (GED)

Upload a file to DMS

Upload a file to DMS

ℹ️ This endpoint requires the following scope: dms_files:all

post/api/external/firm/v1/companies/{company_id}/dms/files

Path parameters

company_idinteger required

Existing company identifier (id)

Response

Returns the created DMS file

idinteger required

ID of the file

namestring required

Name of the file

pathstring required

Path of the file

urlstring required

URL to download the file

created_atstring date-time required
updated_atstring date-time required

Example response

{
  "id": 124,
  "name": "file.pdf",
  "path": "/path/to/file.pdf",
  "parent_folder": {
    "id": 234
  },
  "url": "https://example.com/path/to/file.pdf",
  "created_at": "2023-08-30T10:08:08.146343Z",
  "updated_at": "2023-08-30T10:08:08.146343Z"
}