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¶
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"
[
{
"id": 4417020,
"type": "opportunity"
},
{
"id": 4418567,
"type": "opportunity"
}
]