Skip to content

View all records related to an Entity

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

Example Requests

1
2
3
4
5
curl --location --request GET "https://api.prosperworks.com/developer_api/v1/people/{{example_person_id}}/related/" \
  --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
11
12
13
14
15
16
17
18
[
  {
    "id": 208105,
    "type": "project"
  },
  {
    "id": 4417020,
    "type": "opportunity"
  },
  {
    "id": 4418567,
    "type": "opportunity"
  },
  {
    "id": 13358412,
    "type": "company"
  }
]