Is there an api call to send a gpx file to mydrive?

Is there an api call to send a gpx file to mydrive?

I made a website where routes can be made with Tomtom maps api calls.

Now I want to offer turn by turn navigation of those made routes.

I can made gpx files of the routes.

How to get the routes to a turn by turn navigation app in an easy way?

The solution I know is:

Lets users download the gpx file. They can upload the gpx file to Mydrive of Tomtom, and then the route is available to the Tomtom Go app.

But I want a faster way.

So is it possible to send the gpx file to Mydrive with an api call? Then manual uploading is not needed anymore.

Or is it possible to send the route directly to a navigation app? Or any other way?