Hello,
I am developing a custom sidebar app for Freshdesk and need some guidance.
Scenario:
Customers are redirected from an external system to the Freshdesk ticket creation page using a URL endpoint is: a/tickets/new?email=siva@xyz.com&status=3
I want to read the data from the URL (such as email and status) and display it in the sidebar of the ticket creation modal.
Problem:
When I try to use window.location.href or similar methods, I am unable to access the URL parameters from the sidebar app.
Question:
What is the recommended way to access URL parameters in a Freshdesk sidebar app during ticket creation?
Is there a supported API or method to read these query parameters in the ticket creation modal?
Thank you for your guidance.