# Strava Integration via LowCodeAPI
**Last Updated**: February 10, 2026
## Overview
Fitness tracking
**Categories:**
- {'id': 'utilities', 'name': 'Utilities'}
## Base Endpoint
https://api.lowcodeapi.com/strava
**Important**: Always include the provider name in the URL path after `api.lowcodeapi.com/`
## Authentication
**Type:** OAUTH2.0
**Official Documentation:** https://developers.strava.com/docs/reference
## URL Format (Important)
LowCodeAPI supports two URL formats. **Always try the New Format first**, then fall back to Old Format if needed.
### New Format (Priority)
- Path parameters stay in the URL path
- Do NOT include path parameters as query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/{id}?api_token=XXX`
### Old Format (Fallback)
- Path parameters become query parameters
- Example: `https://api.lowcodeapi.com/{provider}/resource/id?id={id}&api_token=XXX`
### Decision Flow for AI Agents
1. Always use **New Format** first - keep path parameters in the URL path
2. If you get a 404 or error, try **Old Format** with sanitized path
3. Log which format worked for future requests to this provider
## API Categories
## Common Endpoints
### Create an Activity
**Method:** POST
**LowCodeAPI Path:** /api/v3/activities
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities?api_token=YOUR_API_TOKEN
**Request Body:**
| Field | Type | Description |
|-------|------|-------------|
| type | string | |
| commute | number | |
| description | string | |
| distance | number | |
| elapsed_time | number | |
| name | string | |
| sport_type | string | |
| start_date_local | string | |
| trainer | number | |
**Example Request (New Format):**
```bash
curl -X POST 'https://api.lowcodeapi.com/strava/api/v3/activities?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Activities-createActivity
### Get Activity
**Method:** GET
**LowCodeAPI Path:** /api/v3/activities/{id}
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/{id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/id?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | number | |
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| include_all_efforts | boolean | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/strava/api/v3/activities/{id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Activities-getActivityById
### List Activity Comments
**Method:** GET
**LowCodeAPI Path:** /api/v3/activities/{id}/comments
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/{id}/comments?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/id/comments?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | number | |
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| after_cursor | string | |
| page | number | |
| page_size | number | |
| per_page | number | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/strava/api/v3/activities/{id}/comments?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Activities-getCommentsByActivityId
### List Activity Kudoers
**Method:** GET
**LowCodeAPI Path:** /api/v3/activities/{id}/kudos
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/{id}/kudos?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/id/kudos?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | number | |
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| page | number | |
| per_page | number | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/strava/api/v3/activities/{id}/kudos?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Activities-getKudoersByActivityId
### List Activity Laps
**Method:** GET
**LowCodeAPI Path:** /api/v3/activities/{id}/laps
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/{id}/laps?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/id/laps?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | number | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/strava/api/v3/activities/{id}/laps?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Activities-getLapsByActivityId
### List Athlete Activities
**Method:** GET
**LowCodeAPI Path:** /api/v3/athlete/activities
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/athlete/activities?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/athlete/activities?api_token=YOUR_API_TOKEN
**Query Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| after | number | |
| before | number | |
| page | number | |
| per_page | number | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/strava/api/v3/athlete/activities?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Activities-getLoggedInAthleteActivities
### Get Activity Zones
**Method:** GET
**LowCodeAPI Path:** /api/v3/activities/{id}/zones
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/{id}/zones?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/id/zones?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | number | |
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/strava/api/v3/activities/{id}/zones?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Activities-getZonesByActivityId
### Update Activity
**Method:** PUT
**LowCodeAPI Path:** /api/v3/activities/{id}
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/{id}?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/activities/id?id={id}&api_token=YOUR_API_TOKEN
**Path Parameters:**
| Parameter | Type | Description |
|-----------|------|-------------|
| id | number | |
**Example Request (New Format):**
```bash
curl -X PUT 'https://api.lowcodeapi.com/strava/api/v3/activities/{id}?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Activities-updateActivityById
### Get Authenticated Athlete
**Method:** GET
**LowCodeAPI Path:** /api/v3/athlete
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/athlete?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/athlete?api_token=YOUR_API_TOKEN
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/strava/api/v3/athlete?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Athletes-getLoggedInAthlete
### Get Zones
**Method:** GET
**LowCodeAPI Path:** /api/v3/athlete/zones
**New Format URL:**
https://api.lowcodeapi.com/strava/api/v3/athlete/zones?api_token=YOUR_API_TOKEN
**Old Format URL:**
https://api.lowcodeapi.com/strava/api/v3/athlete/zones?api_token=YOUR_API_TOKEN
**Example Request (New Format):**
```bash
curl -X GET 'https://api.lowcodeapi.com/strava/api/v3/athlete/zones?api_token=YOUR_API_TOKEN'
```
**Official Documentation:** https://developers.strava.com/docs/reference/#api-Athletes-getLoggedInAthleteZones
## Usage Examples
### Example 1: Basic API Request (New Format)
Making a simple GET request to retrieve resources:
```bash
# Get a list of resources - no path parameters needed
curl -X GET "https://api.lowcodeapi.com/strava/endpoint?api_token=YOUR_API_TOKEN"
```
### Example 2: Request with Path Parameters (New Format)
Retrieving a specific resource using its ID:
```bash
# Get specific resource by ID - replace RESOURCE_ID with actual ID from previous response
curl -X GET "https://api.lowcodeapi.com/strava/endpoint/{RESOURCE_ID}?api_token=YOUR_API_TOKEN"
# Note: RESOURCE_ID typically comes from a previous list request or from the provider dashboard
```
### Example 3: POST Request with Body (New Format)
Creating a new resource:
```bash
# Create a new resource
curl -X POST "https://api.lowcodeapi.com/strava/endpoint?api_token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"field": "value", "another_field": "another_value"}'
```
## Error Handling
LowCodeAPI returns standard HTTP status codes. Common errors:
| Status Code | Description |
|-------------|-------------|
| 200 | Success - Request completed successfully |
| 400 | Bad Request - Invalid parameters or request body |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Endpoint or resource doesn't exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Server Error - Provider API error |
All error responses include error details:
```json
{
"data": {
"error": {
"message": "Error description",
"code": "ERROR_CODE"
}
}
}
```
## Complete Endpoint Reference
| Endpoint | Method | Category |
|----------|--------|----------|
| Create an Activity | POST | Activities |
| Get Activity | GET | Activities |
| List Activity Comments | GET | Activities |
| List Activity Kudoers | GET | Activities |
| List Activity Laps | GET | Activities |
| List Athlete Activities | GET | Activities |
| Get Activity Zones | GET | Activities |
| Update Activity | PUT | Activities |
| Get Authenticated Athlete | GET | Athletes |
| Get Zones | GET | Athletes |
| Get Athlete Stats | GET | Athletes |
| Update Athlete | PUT | Athletes |
| List Club Activities | GET | Clubs |
| List Club Administrators | GET | Clubs |
| Get Club | GET | Clubs |
| List Club Members | GET | Clubs |
| List Athlete Clubs | GET | Clubs |
| Get Equipment | GET | Gears |
| Export Route GPX | GET | Routes |
| Export Route TCX | GET | Routes |
| Get Route | GET | Routes |
| List Athlete Routes | GET | Routes |
| List Segment Efforts | GET | SegmentEfforts |
| Get Segment Efforts | GET | SegmentEfforts |
| Explore segments | GET | Segments |
| List Starred Segments | GET | Segments |
| Get Segment | GET | Segments |
| Star Segment | PUT | Segments |
| Get Activity Streams | GET | Streams |
| Get Route Streams | GET | Streams |
| Get Segment Effort Streams | GET | Streams |
| Get Segment Streams | GET | Streams |
| Upload Activity | POST | Uploads |
| Get Upload | GET | Uploads |
## API Definition Endpoints
You can fetch the complete API specification for this provider:
**New Format (OpenAPI spec):**
```bash
curl 'https://backend.lowcodeapi.com/strava/openapi'
```
**Old Format (API definition):**
```bash
curl 'https://backend.lowcodeapi.com/strava/definition'
```
## Response Format
All responses are wrapped in a `data` key:
```json
{
"data": {
// Actual response from provider (object or array)
}
}
```