cURL to add record error not a valid form, but form exists....????

cURL to add record error not a valid form, but form exists....????

I am attempting to add a record to a form but I keep getting an error stating that the form does not exist, although I know it does, and yes I'm using the linkname, not the form name in my URL.

  1. $data = array(
  2.     ‘authtoken’ => xxxxxxxxxxxxxxxxxx,
  3.     ‘scope’ => creatorapi,
  4.     ‘names’ => bob,
  5.     ‘total’ => 12.50
  6. );

  7. # Create a connection
  8. $url = 'https://creator.zoho.com/api/xxxxxuser/xml/test/form/this_form/record/add/';
  9. $ch = curl_init($url);
  10. # Form data string
  11. $postString = http_build_query($data, '', '&');
  12. # Setting our options
  13. curl_setopt($ch, CURLOPT_VERBOSE, 1);//standard i/o streams 
  14.   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);// Turn off the server and peer verification 
  15.   curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE); 
  16.   curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);//Set to return data to string ($response) 
  17.   curl_setopt($ch, CURLOPT_POST, 1);//Regular post 
  18. # Get the response
  19. $response = curl_exec($ch);
  20. curl_close($ch);

I've checked it a thousand times, i dont understand why I am getting this error.  user has permissions....any help greatly appreciated...

Chris