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

# OrganizationRelationshipsByOrganizationId: Pipedrive Organization Relationships by Organization

`insert` `REST`

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

Can retrieve data and change data using `insert`.

## Summary

The relationships of one organization with other organizations, such as parent and daughter. Each request costs 20 tokens of the daily budget of the company.

## API Source

- Endpoint: `/organizationRelationships`

## Parameters

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

## Table Columns

The columns of the table `OrganizationRelationshipsByOrganizationId` 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` | `varchar2` | Active Flag | [ ] | filters on the platform, writable, computed, `active_flag` | Whether the relationship is active or not. |
| `add_time` | `datetime` | Creation Time | [ ] | filters on the platform, writable, computed, `add_time` | The creation date and time of the relationship. |
| `calculated_related_org_id` | `int64` | Calculated Related Organization ID | [ ] | filters on the platform, writable, computed, `calculated_related_org_id` | The ID of the linked organization. |
| `calculated_type` | `varchar2` | Calculated Type | [ ] | filters on the platform, writable, computed, `calculated_type` | The calculated type of the relationship with the linked organization. |
| `id` | `int64` | ID | [x] | filters on the platform, writable, computed, `id` | The ID of the organization relationship. |
| `org_id` | `int64` | Organization ID | [ ] | filters on the platform, writable, `__write_only.org_id` | The ID of the base organization for the returned calculated values. Only taken when writing; empty when read. |
| `organization_id` | `int64` | Organization ID | [ ] | filters on the platform, writable, computed, `organization_id` | The organization id the rows were read for. |
| `rel_linked_org_id` | `int64` | Relationship Linked Organization ID | [ ] | filters on the platform, writable, `__write_only.rel_linked_org_id` | The linked organization in this relationship. Only taken when writing; empty when read. |
| `rel_linked_org_id_address` | `varchar2` | Relationship Linked Organization Address | [ ] | filters on the platform, writable, `rel_linked_org_id.address` | The address of the organization. |
| `rel_linked_org_id_cc_email` | `varchar2` | Relationship Linked Organization CC Email | [ ] | filters on the platform, writable, `rel_linked_org_id.cc_email` | The BCC email of the organization associated with the item. |
| `rel_linked_org_id_name` | `varchar2` | Relationship Linked Organization Name | [ ] | filters on the platform, writable, `rel_linked_org_id.name` | The name of the organization associated with the item. |
| `rel_linked_org_id_owner_id` | `int64` | Relationship Linked Organization Owner ID | [ ] | filters on the platform, writable, `rel_linked_org_id.owner_id` | The ID of the owner of the organization that is associated with the item. |
| `rel_linked_org_id_people_count` | `int64` | Relationship Linked Organization People Count | [ ] | filters on the platform, writable, `rel_linked_org_id.people_count` | The number of people connected with the organization that is associated with the item. |
| `rel_linked_org_id_value` | `int64` | Relationship Linked Organization Value | [ ] | filters on the platform, writable, `rel_linked_org_id.value` | The ID of the organization. |
| `rel_owner_org_id` | `int64` | Relationship Owner Organization ID | [ ] | filters on the platform, writable, `__write_only.rel_owner_org_id` | The owner of this relationship. Only taken when writing; empty when read. |
| `rel_owner_org_id_address` | `varchar2` | Relationship Owner Organization Address | [ ] | filters on the platform, writable, `rel_owner_org_id.address` | The address of the organization. |
| `rel_owner_org_id_cc_email` | `varchar2` | Relationship Owner Organization CC Email | [ ] | filters on the platform, writable, `rel_owner_org_id.cc_email` | The BCC email of the organization associated with the item. |
| `rel_owner_org_id_name` | `varchar2` | Relationship Owner Organization Name | [ ] | filters on the platform, writable, `rel_owner_org_id.name` | The name of the organization associated with the item. |
| `rel_owner_org_id_owner_id` | `int64` | Relationship Owner Organization Owner ID | [ ] | filters on the platform, writable, `rel_owner_org_id.owner_id` | The ID of the owner of the organization that is associated with the item. |
| `rel_owner_org_id_people_count` | `int64` | Relationship Owner Organization People Count | [ ] | filters on the platform, writable, `rel_owner_org_id.people_count` | The number of people connected with the organization that is associated with the item. |
| `rel_owner_org_id_value` | `int64` | Relationship Owner Organization Value | [ ] | filters on the platform, writable, `rel_owner_org_id.value` | The ID of the organization. |
| `related_organization_name` | `varchar2` | Related Organization Name | [ ] | filters on the platform, writable, computed, `related_organization_name` | The name of the linked organization. |
| `type` | `varchar2` | Type | [ ] | filters on the platform, writable, `type` | The type of the relationship. |
| `update_time` | `datetime` | Last Update Time | [ ] | filters on the platform, writable, computed, `update_time` | The last updated date and time of the relationship. |

