Export Trip Summary as GPX

The API helps you to export Trip data to gpx format

get
Export Trip Summary as GPX

https://api.roam.ai/v1/api/trips/export/
Request
Response
Request
Headers
Api-key
required
string
Auth-key E.g.- 083591a3392c483e838f66ac788126eb
Query Parameters
trip_id
required
string
trip_id required to export its data in gpx format. E.g.- 5fdc5470203bda0000abacc0
type
required
string
format to be given in which data need to be exported. E.g.- gpx
Response
200: OK
{
"status": true,
"msg": "Success.",
"code": 200,
"data": {
"download_url": "https://geospark-gpx-files.s3.amazonaws.com/5fdc5470203bda0000abacc0.gpx"
}
}

Sample Request

curl --location --request GET 'https://api.roam.ai/v1/api/trips/export/?trip_id=5f44a2fce289b825457e5497&type=gpx' \
--header 'Api-key: <API-KEY>'