Smashrun
App · 10 actions
Find runs, review statistics and splits, and update your running notes.
Actions
| Action | What it does |
|---|---|
| Get a run | Read the full details of a Smashrun activity. |
| Get a runner profile | Read the connected runner’s profile and measurement preferences. |
| Get running statistics | Read your running totals and averages across all runs. |
| Get yearly running statistics | Read your running totals and averages for a year. |
| List body weight entries | Read historical measurements from Smashrun. |
| List run notables | Find personal milestones and comparisons for a run. |
| List run splits | Read speed and average heart rate for mile or kilometer splits. |
| List run tags | List the built-in and custom tags assigned to a run. |
| Search runs | Find runs with optional paging or a time filter for recent changes. |
| Update run notes | Replace the notes on a run. |
Get a run
Read the full details of a Smashrun activity.
Inputs
- Activity ID
activity_idnumberRequired - The ID from Search runs.At least 1.
Outputs
dataobject- The response from Smashrun.
Example output
{
"data": {
"activityId": 1,
"distance": 1,
"duration": 1,
"notes": "example",
"startDateTimeLocal": "example"
}
}Get a runner profile
Read the connected runner’s profile and measurement preferences.
Inputs
None.
Outputs
dataobject- The response from Smashrun.
Example output
{
"data": {
"dateTimeUTCOfLastRun": "example",
"dateTimeUTCOfLastRunDataUpdated": "example",
"firstName": "example",
"id": 1,
"lastName": "example",
"unitDistance": "example",
"unitWeight": "example",
"username": "example"
}
}Get running statistics
Read your running totals and averages across all runs.
Inputs
None.
Outputs
dataobject- The response from Smashrun.
Example output
{
"data": {
"averagePace": "example",
"averageSpeed": 1,
"runCount": 1,
"totalDistance": 1
}
}Get yearly running statistics
Read your running totals and averages for a year.
Inputs
- Year
yearnumberRequired - The year to summarize.From 1900 to 9999.
Outputs
dataobject- The response from Smashrun.
Example output
{
"data": {
"averagePace": "example",
"averageSpeed": 1,
"runCount": 1,
"totalDistance": 1
}
}List body weight entries
Read historical measurements from Smashrun.
Inputs
None.
Outputs
datalist- The response from Smashrun.
Example output
{
"data": [
{}
]
}List run notables
Find personal milestones and comparisons for a run.
Inputs
- Activity ID
activity_idnumberRequired - The ID from Search runs.At least 1.
Outputs
datalist- The response from Smashrun.
Example output
{
"data": [
{
"description": "example",
"periodMonths": 1,
"reasonCode": "example"
}
]
}List run splits
Read speed and average heart rate for mile or kilometer splits.
Inputs
- Activity ID
activity_idnumberRequired - The ID from Search runs.At least 1.
- Unit
unittextRequired - Choose the distance of each split.One of:
km,mi.
Outputs
datalist- The response from Smashrun.
Example output
{
"data": [
{}
]
}List run tags
List the built-in and custom tags assigned to a run.
Inputs
- Activity ID
activity_idnumberRequired - The ID from Search runs.At least 1.
Outputs
datalist- The response from Smashrun.
Example output
{
"data": [
"example"
]
}Search runs
Find runs with optional paging or a time filter for recent changes.
Inputs
- Changed since
changed_sincedate and time - Include runs added or updated since this time.
- Limit
limitnumber - The maximum number of runs to return.From 1 to 100.
- Page
pagenumber - The page to return, starting at zero. Set a page size as well.At least 0.
Outputs
datalist- The response from Smashrun.
Example output
{
"data": [
{
"activityId": 1,
"distance": 1,
"duration": 1,
"notes": "example",
"startDateTimeLocal": "example"
}
]
}Update run notes
Replace the notes on a run.
Inputs
- Activity ID
activity_idnumberRequired - The ID from Search runs.At least 1.
- Notes
notestextRequired - The replacement notes for the run.
Outputs
dataobject- The response from Smashrun.
Example output
{
"data": {
"activityId": 1,
"distance": 1,
"duration": 1,
"notes": "example",
"startDateTimeLocal": "example"
}
}