v1

latestSwagger 2.0MIT2026-07-17233380637.0 KB
Files

Get file details

get/crm/files/{id}/data

Path parameters

idstring required

File id to get file data.

Response

Returned when file is found.

namestring

Name of uploaded file

authorIdstring

Account id of user which created the file

contactIdinteger

Contact id of contact on which file is uploaded

dealIdstring

Deal id linked to a file

companyIdstring

Company id linked to a file

sizeinteger

Size of file in bytes

createdAtstring date-time

File created date/time

Example response

{
  "createdAt": "2017-05-01T17:05:03.000Z",
  "companyId": "61a5ce58c5d4795761045991",
  "size": 10,
  "contactId": 1,
  "dealId": "61a5ce58c5d4795761045991",
  "name": "example.png",
  "authorId": "61a5ce58y5d4795761045991"
}