zendesk-node-api
zendesk-node-api copied to clipboard
list() method is not working
I am facing issue with a listing of tickets and users. I am able to create a ticket but not able to list, I tried both options list and search but not working
Here is my code of list API
zendesk.tickets.list().then(function(tickets){
console.log(tickets);
});
Here is a Response header of list API
Request URL: https://task-me-not.zendesk.com/api/v2//tickets.json Request Method: OPTIONS Status Code: 200 OK Remote Address: 35.174.158.178:443 Referrer Policy: no-referrer-when-downgrade