{
  "info": {
    "_postman_id": "c9aaaac9-7113-447c-bf40-e94a44016fba",
    "name": "Pipedrive API v1 Activities OrganizationRelationships API",
    "description": "Activities are appointments/tasks/events on a calendar that can be associated with a deal, a lead, a person and an organization. Activities can be of different type (such as call, meeting, lunch or a custom type - see ActivityTypes object) and can be assigned to a particular user. Note that activities can also be created without a specific date/time.\n",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:37:38.000Z",
    "updatedAt": "2026-07-28T02:37:38.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-c9aaaac9-7113-447c-bf40-e94a44016fba"
  },
  "item": [
    {
      "name": "organizationRelationships",
      "item": [
        {
          "name": "{id}",
          "item": [
            {
              "name": "Delete an organization relationship",
              "id": "e6ec283a-695b-4a4c-8157-5d59eacdb2db",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "DELETE",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/organizationRelationships/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "organizationRelationships",
                    ":id"
                  ],
                  "variable": [
                    {
                      "id": "cf362f4e-7004-4410-bcd3-032e513fa4b2",
                      "key": "id",
                      "value": "<integer>",
                      "description": "(Required) The ID of the organization relationship"
                    }
                  ]
                },
                "description": "Deletes an organization relationship and returns the deleted ID."
              },
              "response": [
                {
                  "id": "500bfbb8-d858-4c75-9de0-984de74af7b1",
                  "name": "Success",
                  "originalRequest": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/organizationRelationships/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "organizationRelationships",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<integer>\"\n  }\n}",
                  "createdAt": "2026-07-28T02:37:39.000Z",
                  "updatedAt": "2026-07-28T02:37:39.000Z",
                  "uid": "35240-500bfbb8-d858-4c75-9de0-984de74af7b1"
                }
              ],
              "createdAt": "2026-07-28T02:37:39.000Z",
              "updatedAt": "2026-07-28T02:37:39.000Z",
              "uid": "35240-e6ec283a-695b-4a4c-8157-5d59eacdb2db"
            },
            {
              "name": "Get one organization relationship",
              "id": "c2062c55-8fde-4df3-b096-9ee91576d58a",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/organizationRelationships/:id?org_id=<integer>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "organizationRelationships",
                    ":id"
                  ],
                  "query": [
                    {
                      "description": "The ID of the base organization for the returned calculated values",
                      "key": "org_id",
                      "value": "<integer>"
                    }
                  ],
                  "variable": [
                    {
                      "id": "a6fafb57-71f0-41d2-a0bd-8f4cc16e0502",
                      "key": "id",
                      "value": "<integer>",
                      "description": "(Required) The ID of the organization relationship"
                    }
                  ]
                },
                "description": "Finds and returns an organization relationship from its ID."
              },
              "response": [
                {
                  "id": "d847bc4f-608e-466e-bf60-cd1adc5022fd",
                  "name": "Success",
                  "originalRequest": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "url": {
                      "raw": "{{baseUrl}}/organizationRelationships/:id?org_id=<integer>",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "organizationRelationships",
                        ":id"
                      ],
                      "query": [
                        {
                          "description": "The ID of the base organization for the returned calculated values",
                          "key": "org_id",
                          "value": "<integer>"
                        }
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<integer>\",\n    \"type\": \"<string>\",\n    \"rel_owner_org_id\": {\n      \"name\": \"<string>\",\n      \"people_count\": \"<integer>\",\n      \"owner_id\": \"<integer>\",\n      \"address\": \"<string>\",\n      \"cc_email\": \"<string>\",\n      \"value\": \"<integer>\"\n    },\n    \"rel_linked_org_id\": {\n      \"name\": \"<string>\",\n      \"people_count\": \"<integer>\",\n      \"owner_id\": \"<integer>\",\n      \"address\": \"<string>\",\n      \"cc_email\": \"<string>\",\n      \"value\": \"<integer>\"\n    },\n    \"add_time\": \"<string>\",\n    \"update_time\": \"<string>\",\n    \"active_flag\": \"<string>\",\n    \"calculated_type\": \"<string>\",\n    \"calculated_related_org_id\": \"<integer>\"\n  },\n  \"related_objects\": {\n    \"organization\": {\n      \"ORGANIZATION_ID\": {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"people_count\": \"<integer>\",\n        \"owner_id\": \"<integer>\",\n        \"address\": \"<string>\",\n        \"cc_email\": \"<string>\"\n      }\n    }\n  }\n}",
                  "createdAt": "2026-07-28T02:37:39.000Z",
                  "updatedAt": "2026-07-28T02:37:39.000Z",
                  "uid": "35240-d847bc4f-608e-466e-bf60-cd1adc5022fd"
                }
              ],
              "createdAt": "2026-07-28T02:37:39.000Z",
              "updatedAt": "2026-07-28T02:37:39.000Z",
              "uid": "35240-c2062c55-8fde-4df3-b096-9ee91576d58a"
            },
            {
              "name": "Update an organization relationship",
              "id": "54d7f860-59ff-4ef9-b0af-37286edb3f5b",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "auth": {
                  "type": "apikey",
                  "apikey": [
                    {
                      "key": "key",
                      "value": "x-api-token",
                      "type": "string"
                    },
                    {
                      "key": "value",
                      "value": "{{apiKey}}",
                      "type": "string"
                    },
                    {
                      "key": "in",
                      "value": "header",
                      "type": "string"
                    }
                  ]
                },
                "method": "PUT",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"org_id\": \"<integer>\",\n  \"type\": \"parent\",\n  \"rel_owner_org_id\": \"<integer>\",\n  \"rel_linked_org_id\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/organizationRelationships/:id",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "organizationRelationships",
                    ":id"
                  ],
                  "variable": [
                    {
                      "id": "861a7a8d-3e63-4094-bef8-cbaa7259389e",
                      "key": "id",
                      "value": "<integer>",
                      "description": "(Required) The ID of the organization relationship"
                    }
                  ]
                },
                "description": "Updates and returns an organization relationship."
              },
              "response": [
                {
                  "id": "763e095f-3264-4db2-bc91-911a2a759d64",
                  "name": "Success",
                  "originalRequest": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: apikey",
                        "key": "x-api-token",
                        "value": "<API Key>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"org_id\": \"<integer>\",\n  \"type\": \"parent\",\n  \"rel_owner_org_id\": \"<integer>\",\n  \"rel_linked_org_id\": \"<integer>\"\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/organizationRelationships/:id",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "organizationRelationships",
                        ":id"
                      ],
                      "variable": [
                        {
                          "key": "id"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<integer>\",\n    \"type\": \"<string>\",\n    \"rel_owner_org_id\": {\n      \"name\": \"<string>\",\n      \"people_count\": \"<integer>\",\n      \"owner_id\": \"<integer>\",\n      \"address\": \"<string>\",\n      \"cc_email\": \"<string>\",\n      \"value\": \"<integer>\"\n    },\n    \"rel_linked_org_id\": {\n      \"name\": \"<string>\",\n      \"people_count\": \"<integer>\",\n      \"owner_id\": \"<integer>\",\n      \"address\": \"<string>\",\n      \"cc_email\": \"<string>\",\n      \"value\": \"<integer>\"\n    },\n    \"add_time\": \"<string>\",\n    \"update_time\": \"<string>\",\n    \"active_flag\": \"<string>\"\n  },\n  \"related_objects\": {\n    \"organization\": {\n      \"ORGANIZATION_ID\": {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"people_count\": \"<integer>\",\n        \"owner_id\": \"<integer>\",\n        \"address\": \"<string>\",\n        \"cc_email\": \"<string>\"\n      }\n    }\n  }\n}",
                  "createdAt": "2026-07-28T02:37:39.000Z",
                  "updatedAt": "2026-07-28T02:37:39.000Z",
                  "uid": "35240-763e095f-3264-4db2-bc91-911a2a759d64"
                }
              ],
              "createdAt": "2026-07-28T02:37:39.000Z",
              "updatedAt": "2026-07-28T02:37:39.000Z",
              "uid": "35240-54d7f860-59ff-4ef9-b0af-37286edb3f5b"
            }
          ],
          "id": "3674ae31-39ed-4463-93f8-1267df1fd01c",
          "createdAt": "2026-07-28T02:37:39.000Z",
          "updatedAt": "2026-07-28T02:37:39.000Z",
          "uid": "35240-3674ae31-39ed-4463-93f8-1267df1fd01c"
        },
        {
          "name": "Get all relationships for organization",
          "id": "e824769b-dc95-466e-9c6a-466ac802ee94",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-token",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/organizationRelationships?org_id=<integer>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "organizationRelationships"
              ],
              "query": [
                {
                  "description": "(Required) The ID of the organization to get relationships for",
                  "key": "org_id",
                  "value": "<integer>"
                }
              ]
            },
            "description": "Gets all of the relationships for a supplied organization ID."
          },
          "response": [
            {
              "id": "88628d29-d6c2-493c-9909-238b88c5dc63",
              "name": "Success",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "x-api-token",
                    "value": "<API Key>"
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/organizationRelationships?org_id=<integer>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "organizationRelationships"
                  ],
                  "query": [
                    {
                      "description": "(Required) The ID of the organization to get relationships for",
                      "key": "org_id",
                      "value": "<integer>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": [\n    {\n      \"id\": \"<integer>\",\n      \"type\": \"<string>\",\n      \"rel_owner_org_id\": {\n        \"name\": \"<string>\",\n        \"people_count\": \"<integer>\",\n        \"owner_id\": \"<integer>\",\n        \"address\": \"<string>\",\n        \"cc_email\": \"<string>\",\n        \"value\": \"<integer>\"\n      },\n      \"rel_linked_org_id\": {\n        \"name\": \"<string>\",\n        \"people_count\": \"<integer>\",\n        \"owner_id\": \"<integer>\",\n        \"address\": \"<string>\",\n        \"cc_email\": \"<string>\",\n        \"value\": \"<integer>\"\n      },\n      \"add_time\": \"<string>\",\n      \"update_time\": \"<string>\",\n      \"active_flag\": \"<string>\",\n      \"calculated_type\": \"<string>\",\n      \"calculated_related_org_id\": \"<integer>\",\n      \"related_organization_name\": \"<string>\"\n    },\n    {\n      \"id\": \"<integer>\",\n      \"type\": \"<string>\",\n      \"rel_owner_org_id\": {\n        \"name\": \"<string>\",\n        \"people_count\": \"<integer>\",\n        \"owner_id\": \"<integer>\",\n        \"address\": \"<string>\",\n        \"cc_email\": \"<string>\",\n        \"value\": \"<integer>\"\n      },\n      \"rel_linked_org_id\": {\n        \"name\": \"<string>\",\n        \"people_count\": \"<integer>\",\n        \"owner_id\": \"<integer>\",\n        \"address\": \"<string>\",\n        \"cc_email\": \"<string>\",\n        \"value\": \"<integer>\"\n      },\n      \"add_time\": \"<string>\",\n      \"update_time\": \"<string>\",\n      \"active_flag\": \"<string>\",\n      \"calculated_type\": \"<string>\",\n      \"calculated_related_org_id\": \"<integer>\",\n      \"related_organization_name\": \"<string>\"\n    }\n  ],\n  \"additional_data\": {\n    \"start\": \"<integer>\",\n    \"limit\": \"<integer>\",\n    \"more_items_in_collection\": \"<boolean>\"\n  },\n  \"related_objects\": {\n    \"organization\": {\n      \"ORGANIZATION_ID\": {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"people_count\": \"<integer>\",\n        \"owner_id\": \"<integer>\",\n        \"address\": \"<string>\",\n        \"cc_email\": \"<string>\"\n      }\n    }\n  }\n}",
              "createdAt": "2026-07-28T02:37:39.000Z",
              "updatedAt": "2026-07-28T02:37:39.000Z",
              "uid": "35240-88628d29-d6c2-493c-9909-238b88c5dc63"
            }
          ],
          "createdAt": "2026-07-28T02:37:39.000Z",
          "updatedAt": "2026-07-28T02:37:39.000Z",
          "uid": "35240-e824769b-dc95-466e-9c6a-466ac802ee94"
        },
        {
          "name": "Create an organization relationship",
          "id": "4e5c1b2d-0a9d-4591-9758-1dc1ce705fba",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "auth": {
              "type": "apikey",
              "apikey": [
                {
                  "key": "key",
                  "value": "x-api-token",
                  "type": "string"
                },
                {
                  "key": "value",
                  "value": "{{apiKey}}",
                  "type": "string"
                },
                {
                  "key": "in",
                  "value": "header",
                  "type": "string"
                }
              ]
            },
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"parent\",\n  \"rel_owner_org_id\": \"<integer>\",\n  \"rel_linked_org_id\": \"<integer>\",\n  \"org_id\": \"<integer>\"\n}",
              "options": {
                "raw": {
                  "headerFamily": "json",
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/organizationRelationships",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "organizationRelationships"
              ]
            },
            "description": "Creates and returns an organization relationship."
          },
          "response": [
            {
              "id": "9a905ead-8abf-4cd4-a589-2977c9696f49",
              "name": "Success",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "x-api-token",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"type\": \"parent\",\n  \"rel_owner_org_id\": \"<integer>\",\n  \"rel_linked_org_id\": \"<integer>\",\n  \"org_id\": \"<integer>\"\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/organizationRelationships",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "organizationRelationships"
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"success\": \"<boolean>\",\n  \"data\": {\n    \"id\": \"<integer>\",\n    \"type\": \"<string>\",\n    \"rel_owner_org_id\": {\n      \"name\": \"<string>\",\n      \"people_count\": \"<integer>\",\n      \"owner_id\": \"<integer>\",\n      \"address\": \"<string>\",\n      \"cc_email\": \"<string>\",\n      \"value\": \"<integer>\"\n    },\n    \"rel_linked_org_id\": {\n      \"name\": \"<string>\",\n      \"people_count\": \"<integer>\",\n      \"owner_id\": \"<integer>\",\n      \"address\": \"<string>\",\n      \"cc_email\": \"<string>\",\n      \"value\": \"<integer>\"\n    },\n    \"add_time\": \"<string>\",\n    \"update_time\": \"<string>\",\n    \"active_flag\": \"<string>\"\n  },\n  \"related_objects\": {\n    \"organization\": {\n      \"ORGANIZATION_ID\": {\n        \"id\": \"<integer>\",\n        \"name\": \"<string>\",\n        \"people_count\": \"<integer>\",\n        \"owner_id\": \"<integer>\",\n        \"address\": \"<string>\",\n        \"cc_email\": \"<string>\"\n      }\n    }\n  }\n}",
              "createdAt": "2026-07-28T02:37:39.000Z",
              "updatedAt": "2026-07-28T02:37:39.000Z",
              "uid": "35240-9a905ead-8abf-4cd4-a589-2977c9696f49"
            }
          ],
          "createdAt": "2026-07-28T02:37:39.000Z",
          "updatedAt": "2026-07-28T02:37:39.000Z",
          "uid": "35240-4e5c1b2d-0a9d-4591-9758-1dc1ce705fba"
        }
      ],
      "id": "809c7613-833b-4eca-a5d6-2534f123a81e",
      "createdAt": "2026-07-28T02:37:39.000Z",
      "updatedAt": "2026-07-28T02:37:39.000Z",
      "uid": "35240-809c7613-833b-4eca-a5d6-2534f123a81e"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.pipedrive.com/v1"
    }
  ]
}