Do Front-End Apps Have Their Own API Links Separate from the General Freshworks API?
Hi everyone,
I’m currently developing a Freshworks app, and I have a question regarding API usage. From my understanding, Freshworks provides a general API for various operations. However, I’m wondering:
Does a front-end Freshworks app have its own specific API link that is distinct from the general Freshworks API?
If yes, how is it configured or accessed?
To provide context, I’ve been working on a custom Freshworks app that synchronizes ticket data between Freshdesk and a third-party system. While the integration with the general Freshworks API is clear, I’m curious if there are app-specific APIs or endpoints that I can use beside the Freshworks API, currently I am using my own hosting to generate the API then goes to Freshworks API. Basically, I dont wanna use my own hosting but directly using the front-end app to receive any API request then process and filter it first before sending to Freshworks API.
I will share the diagram flow for better understanding.
Any insights or documentation pointers would be greatly appreciated. Thank you!
Frontend apps cannot have any API endpoints for them as they are static files rendered in the browser. We do not have any other feature to send data to the frontend app unless initiated from the frontend app.
If an API request is made from the frontend app, the response will also reach it. In your diagram, this is how you have depicted it. Is it not working as per the flow?
The Freshworks product APIs are for the Freshworks products, which will work from both the frontend app and anywhere else. So, making API requests to Freshworks products should not have any restrictions.
If it didn’t answer your query, could you clarify further what is needed for you and what the current flow is?
Thank you for clarifying the limitations regarding API endpoints for the frontend app. I understand that frontend apps, being static files, cannot directly expose API endpoints.
However, I need a way to send data to the frontend app dynamically or interactively, even if initiated from the frontend itself. Since you’ve stated that no APIs are provided for the frontend app, I’d like to explore potential workarounds or alternatives to achieve the desired functionality. Could you clarify or advise on this