View all records of a given Entity Type related to an Entity¶
GET https://api.copper.com/developer_api/v1/{{entity}}/{{entity_id}}/related/{{related_entity_name}}
Example Requests¶
Related Opportunities to Person¶
1 2 3 4 5 | curl --location --request GET "https://api.copper.com/developer_api/v1/people/{{person_id}}/related/opportunities" \ --header "X-PW-AccessToken: YOUR_TOKEN_HERE" \ --header "X-PW-Application: developer_api" \ --header "X-PW-UserEmail: YOUR_EMAIL_HERE" \ --header "Content-Type: application/json" |
1 2 3 4 5 6 7 8 9 10 | [ { "id": 4417020, "type": "opportunity" }, { "id": 4418567, "type": "opportunity" } ] |