---
title: "OrganizationFilesByOrganizationId (Pipedrive)"
description: "Organization Files by Organization"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Contacts.OrganizationFilesByOrganizationId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Contacts.OrganizationFilesByOrganizationId
updated: 2026-11-01T16:22:11Z
license: https://documentation.invantive.eu/en/
---

# OrganizationFilesByOrganizationId: Pipedrive Organization Files by Organization

`read only` `REST`

- Catalog: `Pipedrive`
- Schema: `Contacts`
- Primary Keys: `id`
- Label: Organization Files by Organization

Can only retrieve data.

## Summary

The files attached to one organization. Each request costs 20 tokens of the daily budget of the company.

## API Source

- Endpoint: `/organizations/{id}/files`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `organization_id` | `int64` | [x] |  | The organization id. |

## Table Columns

The columns of the table `OrganizationFilesByOrganizationId` 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 |
|---|---|---|:---:|---|---|
| `active_flag` | `char` | Active Flag | [ ] | filters on the platform, writable, computed, `active_flag` | Whether the user is active or not. |
| `activity_id` | `int64` | Activity ID | [ ] | filters on the platform, writable, computed, `activity_id` | The ID of the activity to associate the file with. |
| `add_time` | `datetime` | Creation Time | [ ] | filters on the platform, writable, computed, `add_time` | The date and time when the file was added/created. |
| `cid` | `varchar2` | Content ID | [ ] | filters on the platform, writable, computed, `cid` | The ID of the inline attachment. |
| `deal_id` | `int64` | Deal ID | [ ] | filters on the platform, writable, computed, `deal_id` | The ID of the deal to associate the file with. |
| `deal_name` | `varchar2` | Deal Name | [ ] | filters on the platform, writable, computed, `deal_name` | The name of the deal associated with the dile. |
| `description` | `varchar2` | Description | [ ] | filters on the platform, writable, computed, `description` | The description of the file. |
| `file_name` | `varchar2` | File Name | [ ] | filters on the platform, writable, computed, `file_name` | The original name of the file. |
| `file_size` | `int64` | File Size | [ ] | filters on the platform, writable, computed, `file_size` | The size of the file. |
| `id` | `int64` | ID | [x] | filters on the platform, writable, computed, `id` | The ID of the file. |
| `inline_flag` | `char` | Inline Flag | [ ] | filters on the platform, writable, computed, `inline_flag` | Whether the file was uploaded as inline or not. |
| `lead_id` | `varchar2` | Lead ID | [ ] | filters on the platform, writable, computed, `lead_id` | The ID of the lead to associate the file with. |
| `lead_name` | `varchar2` | Lead Name | [ ] | filters on the platform, writable, computed, `lead_name` | The name of the lead associated with the file. |
| `mail_message_id` | `varchar2` | Mail Message ID | [ ] | filters on the platform, writable, computed, `mail_message_id` | The ID of the mail message to associate the file with. |
| `mail_template_id` | `varchar2` | Mail Template ID | [ ] | filters on the platform, writable, computed, `mail_template_id` | The ID of the mail template to associate the file with. |
| `name` | `varchar2` | Name | [ ] | filters on the platform, writable, computed, `name` | The visible name of the file. |
| `org_id` | `int64` | Organization ID | [ ] | filters on the platform, writable, computed, `org_id` | The ID of the organization to associate the file with. |
| `org_name` | `varchar2` | Organization Name | [ ] | filters on the platform, writable, computed, `org_name` | The name of the organization associated with the file. |
| `organization_id` | `int64` | Organization ID | [ ] | filters on the platform, writable, computed, `organization_id` | The organization id the rows were read for. |
| `person_id` | `int64` | Person ID | [ ] | filters on the platform, writable, computed, `person_id` | The ID of the person to associate the file with. |
| `person_name` | `varchar2` | Person Name | [ ] | filters on the platform, writable, computed, `person_name` | The name of the person associated with the file. |
| `product_id` | `int64` | Product ID | [ ] | filters on the platform, writable, computed, `product_id` | The ID of the product to associate the file with. |
| `product_name` | `varchar2` | Product Name | [ ] | filters on the platform, writable, computed, `product_name` | The name of the product associated with the file. |
| `remote_id` | `varchar2` | Remote ID | [ ] | filters on the platform, writable, computed, `remote_id` | The ID of the remote item. |
| `remote_location` | `varchar2` | Remote Location | [ ] | filters on the platform, writable, computed, `remote_location` | The location type to send the file to. |
| `s3_bucket` | `varchar2` | S3 Bucket | [ ] | filters on the platform, writable, computed, `s3_bucket` | The location of the cloud storage. |
| `update_time` | `datetime` | Last Update Time | [ ] | filters on the platform, writable, computed, `update_time` | The last updated date and time of the file. |
| `url` | `varchar2` | URL | [ ] | filters on the platform, writable, computed, `url` | The URL of the download file. |
| `user_id` | `int64` | User ID | [ ] | filters on the platform, writable, computed, `user_id` | The ID of the user to associate the file with. |

