"Input Parameter Missing" error (6831) when adding a task

"Input Parameter Missing" error (6831) when adding a task

I am trying to add a task to my project and getting input parameter missing error. Below is the curl command I am using.

    curl -X POST https://projectsapi.zoho.com/restapi/portal/[PORTAL_ID_MASK]/projects/[PROJECT_ID_MASK]/tasks/ -d '{"authtoken":"XXXXXXXXXXXXXXXXXXX","name":"Client Call"}'

Returns error :-

     {"error":{"code":6831,"message":"Input Parameter Missing"}}

I have tried adding other possible parameters in the call. The PORTAL_ID, PROJECT_ID, etc are all valid values.

I would appreciate a quick resolution. I am on a client project with low turn around time.


If anyone from Zoho Projects is reading this - please feel free to correct the documentation too (and the examples).

Thanks