cURL PHP - how to get a Deal's contact roles?

cURL PHP - how to get a Deal's contact roles?

Hi

I need to get access to a Deal's contact roles. (I assume the contact roles is a related list of the Deal).

My code so far:

  1. curl_setopt_array($curl, array(
  2.   CURLOPT_URL => 'https://www.zohoapis.eu/crm/v3/Deals/' .  $_POST['dealID'],
  3.   CURLOPT_RETURNTRANSFER => true,
  4.   CURLOPT_CUSTOMREQUEST => 'GET',
  5.   CURLOPT_HTTPHEADER => array(
  6.     'Authorization: Zoho-oauthtoken ' . $access_token,
  7.     'Content-Type: application/json'
  8.   ),
  9. ));

  10. $getDealData = curl_exec($curl);
  11. $deal_detail = json_decode($getDealData, true);
  12. $contactID = $deal_detail['data'][0]['Contact_Name']['id'];
  13. $getDealData = json_decode($getDealData, true);
  14. echo '<pre>';
  15. print_r($getDealData);
  16. echo '</pre>';
Do I need to append the related list to the ID to the   CURLOPT_URL  maybe?