Help with Freshworks App Development – Issue with API Integration!

Hello everyone,

I am currently developing a custom app on Freshworks and facing a bit of trouble with integrating third party APIs. The app is supposed to pull data from an external service and display it in Freshdesk tickets but I am encountering some issues with authentication and data fetching.

Created the API integration using OAuth for authentication.
Set up the necessary endpoints to pull data.
Tried to use the “fetch” method to get the data, but it seems to return an error saying “401 Unauthorized”.

I have double checked the API keys and permissions and everything seems in order. I am wondering if there’s something in the Freshworks environment that could be causing the issue, such as a specific way to handle external API calls or any authentication headers I might be missing.

Has anyone else encountered this or have suggestions on how to troubleshoot this problem: ??

Thanks in advance for your help !!

With Regards,
DanielCissp

Hi @danieeljosse,

Greetings!

Thank you for reaching out to the community.

Have you tried making the same request in Postman?

Could you please share your requests.json file and the snippet you tried to make the request for further review?

Thanks,
Anish