Skip to content

View all records of a given Entity Type related to an Entity

GET https://api.prosperworks.com/developer_api/v1/{{entity}}/{{entity_id}}/related/{{related_entity_name}}

Example Requests

1
2
3
4
5
curl --location --request GET "https://api.prosperworks.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"
  }
]