---
title: "Get GPX"
method: GET
path: "/v3/users/{user-id}/exercise-transactions/{transaction-id}/exercises/{exercise-id}/gpx"
tags: ["Exercises (deprecated)"]
---

# Get GPX

`GET /v3/users/{user-id}/exercise-transactions/{transaction-id}/exercises/{exercise-id}/gpx`

## Request

- Base URL: `https://www.polaraccesslink.com`
- URL: `https://www.polaraccesslink.com/v3/users/{user-id}/exercise-transactions/{transaction-id}/exercises/{exercise-id}/gpx`
- Auth: OAuth 2
  - Authorization code: `https://flow.polar.com/oauth2/authorization`
  - Token URL: `https://polarremote.com/v2/oauth2/token` scopes: `accesslink.read_all`
- TypeScript: <https://skmtc.dev/polar-com/apis/polar-accesslink-api/docs/v3/users/:user-id/exercise-transactions/:transaction-id/exercises/:exercise-id/gpx/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve training session summary data in GPX format

## Path parameters

- `user-id` integer, required
- `transaction-id` integer, required
- `exercise-id` integer, required

## Query parameters

- `includePauseTimes` boolean

## Response `200`

Return training session in GPX (GPS Exchange format).

## Other responses

- `204`: No content when there is no data available.
- `403`: User has not accepted all mandatory consents.

## Changes

- **2026-02-07** `f197848bba31`: 2 info
  - api tag `Exercises (deprecated)` added
  - api tag `Training data` removed
- **2025-06-04** `5ef2cea678a2`: 1 info
  - added the non-success response with the status `403`
- **2021-02-25** `425d64c3dd59`: 1 info
  - added the new optional `query` request parameter `includePauseTimes`

[Operation history](https://skmtc.dev/polar-com/apis/polar-accesslink-api/changes/v3/users/:user-id/exercise-transactions/:transaction-id/exercises/:exercise-id/gpx/get.md)

---

[API](https://skmtc.dev/polar-com/apis/polar-accesslink-api.md) - [All operations](https://skmtc.dev/polar-com/apis/polar-accesslink-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polar-com/apis/polar-accesslink-api/revisions/18ce96365320?raw)
