Get Athlete
strava.get_athlete
ActionBusiness appsconnection required
Calls the Strava API with the connection's credentials.
Read the profile of the athlete this connection is authorised for.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Strava
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
This node takes no configuration beyond its connection.
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The athlete's Strava id, which other nodes take. | number | — |
username The athlete's Strava username. | string | — |
firstname The athlete's first name. | string | — |
lastname The athlete's last name. | string | — |
city The city on the athlete's profile. | string | — |
country The country on the athlete's profile. | string | — |
sex 'M' or 'F', as the athlete set it. | string | — |
premium True when the athlete has a paid subscription. | boolean | — |
weight The athlete's weight in kilograms, or null. | number | — |
created_at When the Strava account was created. | string | — |
{
"city": "",
"country": "",
"created_at": "",
"firstname": "",
"id": 0,
"lastname": "",
"premium": false,
"sex": "",
"username": "",
"weight": 0
}See Get Athlete run in a workflow.
In a technical demo we add the Strava connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.