Add JS API call to menu.

Hi,

I have a sugar API endpoint (GET) that pulls a processed set of meetings records as CSV - using date parameters. I can call this using the standard sugar password grant type from an external client. However, I would also like to integrate this into our instance of sugar (using the existing current user browser credentials). I was hoping to do this via a menu item in the main Meetings menu.

Is this straightforward? Do the existing tokens obtained when authenticating against sugar work for this call too?

Is so, could someone make a suggestion as to how to add the API call to this menu - I'm not sure of the best way to achieve this as most of my experience with JS and Sugar is by overriding the base views? The API response is CSV, not JSON.

Many thanks