Nothing returning on API call

  • 14 September 2022
  • 1 reply


Hello, I’m new to rest api calls, when I run this command I’m not getting any output:
curl -u myapikeyhere:X -H "Content-Type: application/json" -X GET -O ''


Substituting in the API key from my account and my company’s domain, the result is coming back as blank. If I add a -v onto the command I can see that it’s returning with a Status of 200 OK, which is what I’m expecting to see. However, I’m also expecting to see a list of tickets or some other information like is suggested in the API Reference document. For reference, I’m running this command in a BASH terminal, I don’t think this should make a difference but I thought it’s worth noting.


Any help is appreciated.


Best answer by Aishvarya 14 September 2022, 08:04

View original

1 reply

Userlevel 5
Badge +6

Hi @GRattu,


 Greetings from the Freshworks community!


We understand that the API call is not returning the expected results in the bash terminal. Since this is a GET API call, please try hitting this API endpoint in your browser URL while you are logged into your Freshdesk account and check if it’s returning the desired results.

Also, please note that the authorization should be Basic Auth, the username is Admin’s API key, and the password should be x.


Screenshot from POSTMAN:



Please share the response headers via DM if the issue persists.