Actions41
- Activity Actions
- Athlete Actions
- Club Actions
- Gear Actions
- Route Actions
- Segment Actions
- Segment Effort Actions
- Stream Actions
- Upload Actions
- Web Session (Undocumented) Actions
Web Session (Undocumented) → Build Follow Request Data
AI-generatedSummary
Builds request data for a Strava athlete follow or unfollow action without sending the request.
Inputs
- Mode (required) — Choose Follow or Unfollow.
- Follower ID (required) — The authenticated athlete’s Strava ID.
- Following ID (required) — In Follow mode, the ID of the athlete to follow.
- Follow ID (required) — In Unfollow mode, the relationship ID returned by the Follow Athlete operation.
Output shape
A list containing one JSON item with the request method and endpoint; Follow mode also includes a body.
Follow returns POST to the follower’s follows endpoint with nested follower and following IDs in the body. Unfollow returns DELETE to the follower’s specific follow endpoint and has no body. The operation does not send the request; zero IDs cause an error.