Smashrun

App · 10 actions

Find runs, review statistics and splits, and update your running notes.

Actions

ActionWhat it does
Get a runRead the full details of a Smashrun activity.
Get a runner profileRead the connected runner’s profile and measurement preferences.
Get running statisticsRead your running totals and averages across all runs.
Get yearly running statisticsRead your running totals and averages for a year.
List body weight entriesRead historical measurements from Smashrun.
List run notablesFind personal milestones and comparisons for a run.
List run splitsRead speed and average heart rate for mile or kilometer splits.
List run tagsList the built-in and custom tags assigned to a run.
Search runsFind runs with optional paging or a time filter for recent changes.
Update run notesReplace the notes on a run.

Get a run

Read the full details of a Smashrun activity.

Inputs

Activity IDactivity_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

YearyearnumberRequired
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 IDactivity_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 IDactivity_idnumberRequired
The ID from Search runs.At least 1.
UnitunittextRequired
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 IDactivity_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 sincechanged_sincedate and time
Include runs added or updated since this time.
Limitlimitnumber
The maximum number of runs to return.From 1 to 100.
Pagepagenumber
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 IDactivity_idnumberRequired
The ID from Search runs.At least 1.
NotesnotestextRequired
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"
  }
}

On this page