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
Request
- Base URLhttps://app.pennylane.com
- URLhttps://app.pennylane.com/api/external/firm/v1/companies/{company_id}/dms/files
- AuthOAuth 2Authorization code: https://app.pennylane.com/oauth/authorizeToken URL: https://app.pennylane.com/oauth/oauth/token scopes: dms_files:all
Path parameters
company_idinteger required
Existing company identifier (id)
Request body multipart/form-data
Example request
{
"name": "File.pdf",
"parent_folder_id": 123
}Response
Returns the created DMS file
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"
}Changes
No recorded changes to this operation across all 2 revisions of this API.