Get all relationships for organization

GET {{baseUrl}}/organizationRelationships?org_id=<integer>

Gets all of the relationships for a supplied organization ID.

Request Params

KeyDatatypeRequiredDescription
org_idstring(Required) The ID of the organization to get relationships for

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:[{&quot;related_organization_name&quot;:&quot;Telia&quot;,&quot;calculated_type&quot;:&quot;daughter&quot;,&quot;calculated_related_org_id&quot;:1480,&quot;id&quot;:1,&quot;type&quot;:&quot;parent&quot;,&quot;rel_owner_org_id&quot;:{&quot;name&quot;:&quot;Pipedrive Inc.&quot;,&quot;people_count&quot;:1,&quot;owner_id&quot;:925000,&quot;address&quot;:&quot;Mustamäe tee 3a, 10615 Tallinn&quot;,&quot;active_flag&quot;:true,&quot;cc_email&quot;:&quot;company@pipedrivemail.com&quot;,&quot;value&quot;:1481},&quot;rel_linked_org_id&quot;:{&quot;name&quot;:&quot;Telia&quot;,&quot;people_count&quot;:2,&quot;owner_id&quot;:925000,&quot;address&quot;:&quot;USA&quot;,&quot;active_flag&quot;:true,&quot;cc_email&quot;:&quot;company@pipedrivemail.com&quot;,&quot;value&quot;:1480},&quot;add_time&quot;:&quot;2020-09-22 08:58:28&quot;,&quot;update_time&quot;:&quot;2020-09-22 08:58:28&quot;,&quot;active_flag&quot;:&quot;true&quot;}],&quot;additional_data&quot;:{&quot;pagination&quot;:{&quot;start&quot;:0,&quot;limit&quot;:100,&quot;more_items_in_collection&quot;:true}},&quot;related_objects&quot;:{&quot;organization&quot;:{&quot;1482&quot;:{&quot;id&quot;:457,&quot;name&quot;:&quot;Yandex&quot;,&quot;people_count&quot;:2,&quot;owner_id&quot;:9271535,&quot;address&quot;:&quot;Mustamäe tee 4b, 10615 Tallinn&quot;,&quot;active_flag&quot;:true,&quot;cc_email&quot;:&quot;org@pipedrivemail.com&quot;}}}}