Actions11
- Activity Actions
- Measure Actions
- Sleep Actions
- User Actions
Activity → Get Workouts
AI-generatedOverview
This node interacts with the Withings API to retrieve user workout data under the 'Activity' resource with the 'Get Workouts' operation. It supports authentication via OAuth2 credentials or a manual access token. Users can specify additional fields such as start date, end date, last update timestamp, and offset to filter and paginate the workout data retrieved. This node is useful for scenarios where users want to integrate their Withings workout data into workflows for analysis, reporting, or further processing.
Use Case Examples
- A fitness app that syncs workout data from Withings to provide personalized training recommendations.
- A health dashboard that aggregates workout data from multiple sources including Withings for comprehensive user activity tracking.
Properties
| Name | Meaning |
|---|---|
| Authentication Method | Specifies how to authenticate with the Withings API, either using stored OAuth2 credentials or a manual token from a previous node. |
| Access Token (From Previous Node) | The access token used for manual authentication, typically obtained from a previous token exchange node. |
| Additional Fields | Optional parameters to filter and paginate the workout data, including start date, end date, last update timestamp, and offset. |
Output
JSON
success- Indicates if the API call was successful.resource- The resource type, here it will be 'activity'.operation- The operation performed, here 'getworkouts'.data- The workout data returned from the Withings API.
Dependencies
- Withings API
- OAuth2 credentials or manual access token
Troubleshooting
- Common issues include expired or invalid tokens, which can cause authentication failures. The node attempts token refresh automatically if OAuth2 credentials are used.
- Error messages from the Withings API are propagated, including status codes and error descriptions. Users should ensure valid tokens and correct parameter usage.
- If using manual tokens, ensure the token is current and obtained from a valid token exchange process.
Links
- Withings API Documentation - Official documentation for the Withings API endpoints and parameters.