API Ticket Creation Failing
Hey there,
i'm currently building a tool to create tickets programmatically in PHP. The OAuth part is working fine, also requesting the orgId and refresh the token via refreshToken. So, the authorization should work.
When createing a ticket, i always get an
{"message":"Error while processing your request"}
Even using just the basic requirements (...with correct IDs ;) )
- curl -X POST https://desk.zoho.com/api/v1/tickets \
- -H "orgId:XXXX" \
- -H "Authorization:Zoho-oauthtoken 1000.XXXX.XXXX"\
- -d '{
- "contactId" : "XXXX",
- "subject" : "Real Time analysis Requirement",
- "departmentId" : "XXXX"
- }'
it's impossible to get it done or even get an error which helps finding the flaw
Sincerely,
Karnatz