Withings

Smart Scales, Watches and Health Monitors

Go to site
Explore
/
Apps
/
Withings

Withings API Integrations

Build and run workflows using the Withings API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

The Withings API allows developers to access and leverage Withings health data to create innovative and valuable applications. With the Withings API, users are able to build applications that give them access to data from Withings’ connected health devices such as activity trackers, digital scales, and blood pressure and thermometer devices.

With the Withings API, it is possible to build applications that help users connect to their data and use it effectively and efficiently. Here are a few examples of what can be achieved with the Withings API:

  • Activity tracker applications to help users visualize and understand their health data, such as fitness and sleep tracking apps.
  • Digital scales applications that can collect a user’s body weight data over time and show trends.
  • Blood pressure monitor applications to measure the user’s blood pressure and store heart rate data.
  • Thermometer applications to show trends in body temperature.
  • Analytical and dashboard applications that allow users to generate reports, set goals, and access data from multiple sources.
  • Visualization and notification apps that allow users to set up customized notifications and alarms.
  • Automation apps that allow users to set up automated actions based on their health data.

By leveraging the Withings API, developers are able to unlock valuable, actionable data to create innovative and useful applications that can improve users’ lives.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    withings: {
      type: "app",
      app: "withings",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      method: "post",
      url: `https://wbsapi.withings.net/measure`,
      headers: {
        Authorization: `Bearer ${this.withings.$auth.oauth_access_token}`,
      },
      params: {
        action: `getmeas`,
      },
    })
  },
})
Send Message (Advanced) with Discord Webhook API on New Measure from Withings API
Withings + Discord Webhook
 
Try it
Get Film with SWAPI - Star Wars API on New Measure from Withings API
Withings + SWAPI - Star Wars
 
Try it
Delete Record with Airtable API on New Measure from Withings API
Withings + Airtable
 
Try it
Send any HTTP Request with HTTP / Webhook API on New Measure from Withings API
Withings + HTTP / Webhook
 
Try it
Create Image with OpenAI (ChatGPT) API on New Measure from Withings API
Withings + OpenAI (ChatGPT)
 
Try it
New Measure from the Withings API

Emit new event for each created measure. See docs here

 
Try it

Authentication

Withings uses OAuth authentication. When you connect your Withings account, Pipedream will open a popup window where you can sign into Withings and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Withings API.

Pipedream requests the following authorization scopes when you connect your account:

user.metricsuser.activity
OAuth Request Configurations:
  1. authorization
    GEThttps://account.withings.com/oauth2_user/authorize2?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.comma_separated_scopes}}
  2. accessToken
    POSThttps://wbsapi.withings.net/v2/oauth2content-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}&action=requesttoken
  3. refreshToken
    POSThttps://wbsapi.withings.net/v2/oauth2content-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&grant_type=refresh_token&refresh_token={{custom_fields.refresh_token}}&action=requesttoken