Skip to content
Docs menu

Back to all methods

setActivityEventType

write

Files an activity under an event type, e.g. "race" or "training". Partial `PUT /activity-service/activity/{id}` with `{activityId, eventTypeDTO: {typeKey}}`. The `typeKey` alone is enough; Garmin fills in `typeId`/`sortOrder`. Throws `GarminError` before any request for a key outside the nine.

setActivityEventType(activityId, eventType)
ParameterTypeOptionalDescription
activityIdnumber | stringnoNumeric id
eventType"race" | "recreation" | "specialEvent" | "training" | "transportation" | "touring" | "geocaching" | "fitness" | "uncategorized"no

In Claude this is the set_activity_event_type tool.

Guide: activities