Question

How to convert CURL code into a custom GET request to authorise Freshdesk?

  • 11 March 2022
  • 1 reply
  • 158 views

I'm trying to get the satisfaction survey answers sent to our slack channel and it was previously working with the username|password combination in Basic Auth. Now it is suddenly giving the error The app returned "You have to be logged in to perform this action.".

If I'm not able to use the username and password then I could use the API key but I tried putting that in the Basic Auth and that didn't work as well. zapier set up: https://i.stack.imgur.com/1Tqs7.pngsuppliers

Freshdesk says the curl: is curl -v -u APIKey:X -X GET 'https://naturalfertilitybreakthrough.freshdesk.com/api/v2/tickets/1/conversations?page=2'

But how do I convert this in Zapier?

I also check this but can’t find answer: https://support.freshdesk.com/support/solutions/folders/272646data 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @madkking32

Try using Basic Auth otherwise, you need to use Headers

 

Make sure to reference the app’s API documentation for the desired endpoint: https://developers.freshdesk.com/api/#view_a_ticket