---
title: "CrmFiles (Brevo)"
description: "CRM Files"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/sendinblue/Brevo.Files.CrmFiles
original: https://documentation.invantive.eu/en/datamodels/sendinblue/Brevo.Files.CrmFiles
updated: 2026-11-01T16:23:13Z
license: https://documentation.invantive.eu/en/
---

# CrmFiles: Brevo CRM Files

`insert` `delete` `REST`

- Catalog: `Brevo`
- Schema: `Files`
- Primary Keys: `id`
- Label: CRM Files

Get all files
Retrieve a paginated list of CRM files with optional filtering by entity type, entity IDs, and date range. Results are sorted by creation date in descending order by default, with a default limit of 50 files per page.

Can retrieve data and change data using `insert` and `delete`.

## Summary

Retrieve a paginated list of CRM files with optional filtering by entity type, entity IDs, and date range. Results are sorted by creation date in descending order by default, with a default limit of 50 files per page.

## API Source

- Endpoint: `/crm/files`
- Operation: `get /crm/files`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 66 |
| Full scan rows per minute | 414,000 |
| Point query rows per minute | 476 |
| Write rows per minute | 496 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `dateFrom` | `` | [ ] |  | dateFrom to date range filter type (timestamp in milliseconds) |
| `dateTo` | `` | [ ] |  | dateTo to date range filter type (timestamp in milliseconds) |
| `entity` | `` | [ ] |  | Filter by file entity type (Values: companies, deals, contacts) |
| `entityIds` | `` | [ ] |  | Filter by file entity IDs |

## Table Columns

The columns of the table `CrmFiles` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `authorId` | `varchar2` | itgen_sib_authorid | [ ] | filters on the platform, writable, `authorId` | Account id of user which created the file |
| `companyId` | `varchar2` | itgen_sib_companyid | [ ] | filters on the platform, writable, `companyId` | Company id linked to a file |
| `contactId` | `int64` | itgen_sib_contactid | [ ] | filters on the platform, writable, `contactId` | Contact id of contact on which file is uploaded |
| `createdAt` | `datetime` | Creation Date | [ ] | filters on the platform, writable, `createdAt` | File created date/time |
| `dealId` | `varchar2` | itgen_sib_dealid | [ ] | filters on the platform, writable, `dealId` | Deal id linked to a file |
| `id` | `varchar2` | ID | [ ] | filters on the platform, writable, `id` | Unique file id |
| `name` | `varchar2` | Name | [ ] | filters on the platform, writable, `name` | Name of uploaded file |
| `size` | `int64` | itgen_sib_size | [ ] | filters on the platform, writable, `size` | Size of file in bytes |

## Keys

| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
| `CrmFiles_companyId_fk` | `companyId` | [Companies](Brevo.Companies.Companies)`.id` | Key |  |
| `CrmFiles_contactId_fk` | `contactId` | [Contacts](Brevo.Contacts.Contacts)`.id` | Key |  |
| `CrmFiles_dealId_fk` | `dealId` | [CrmDeals](Brevo.Deals.CrmDeals)`.id` | Key |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Brevo](/en/release-notes/drivers/brevo)

