---
title: "Create an organization relationship"
method: POST
path: "/organizationRelationships"
tags: ["OrganizationRelationships"]
---

# Create an organization relationship

`POST /organizationRelationships`

Creates and returns an organization relationship.

## Request body

- object
  - `org_id` integer — The ID of the base organization for the returned calculated values
  - `type` 'parent' | 'related', required — The type of organization relationship
  - `rel_owner_org_id` integer, required — The owner of the relationship. If type is `parent`, then the owner is the parent and the linked organization is the daughter.
  - `rel_linked_org_id` integer, required — The linked organization in the relationship. If type is `parent`, then the linked organization is the daughter.

## Response `200`

Success

- object
  - `success` boolean — If the response is successful or not
  - `data` object
    - `id` integer — The ID of the organization relationship
    - `type` string — The type of the relationship
    - `rel_owner_org_id` object
      - `name` string — The name of the organization associated with the item
      - `people_count` integer — The number of people connected with the organization that is associated with the item
      - `owner_id` integer — The ID of the owner of the organization that is associated with the item
      - `address` string, nullable — The address of the organization
      - `cc_email` string, nullable — The BCC email of the organization associated with the item
      - `value` integer — The ID of the organization
    - `rel_linked_org_id` object
      - `name` string — The name of the organization associated with the item
      - `people_count` integer — The number of people connected with the organization that is associated with the item
      - `owner_id` integer — The ID of the owner of the organization that is associated with the item
      - `address` string, nullable — The address of the organization
      - `cc_email` string, nullable — The BCC email of the organization associated with the item
      - `value` integer — The ID of the organization
    - `add_time` string — The creation date and time of the relationship
    - `update_time` string — The last updated date and time of the relationship
    - `active_flag` string — Whether the relationship is active or not
  - `related_objects` object
    - `organization` object
      - `ORGANIZATION_ID` object — The ID of the organization associated with the item
        - `id` integer — The ID of the organization associated with the item
        - `name` string — The name of the organization associated with the item
        - `people_count` integer — The number of people connected with the organization that is associated with the item
        - `owner_id` integer — The ID of the owner of the organization that is associated with the item
        - `address` string, nullable — The address of the organization
        - `cc_email` string, nullable — The BCC email of the organization associated with the item

---

[API](https://skmtc.net/pipedrive/apis/pipedrive-api-v1.md) · [All operations](https://skmtc.net/pipedrive/apis/pipedrive-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipedrive/pipedrive-api-v1/revisions/bf863a979545/schema)
