Skip to content
Docs menu

Back to all methods

importActivity

write

multipart upload to `/upload-service/upload/{ext}` (extension from `filename`, must be `fit`/`gpx`/`tcx`) with the load-bearing `NK`/`origin`/custom `User-Agent` headers that make Garmin treat it as an import rather than a device sync; a 409 is re-raised as `GarminConnectionError` ("Activity already exists (duplicate):...")

importActivity(file, filename)
ParameterTypeOptionalDescription
fileBlobnoFile contents
filenamestringno

In Claude this is the import_activity tool.

Guide: activities