choose language

Deutsch Français 日本語 简体中文

Timeline

  • Announcement Date: 03/16/2021
  • Release Date: 09/01/2021

Description

Impacted actions

 

Deprecated endpoint

New response format

    • Response when using the deprecated endpoint you received:
{
"access_token":
[{string} Your new access_token],
"expires_in": [{integer} Access token expiry delay in seconds],
"token_type": [{string] HTTP Authorization Header format: Bearer],
"scope": [{string} Scopes the user accepted],
"refresh_token": [{string} Your new refresh_token],
"userid": [{string} The Withings ID of the user]
}
    • Response when using the new endpoint you will receive:
{
"status":
[{integer} Withings API response status (cf. https://developer.withings.com/oauth2/#section/Response-status)],
"body": {
"access_token": [{string} Your new access_token],
"expires_in": [{integer} Access token expiry delay in seconds],
"token_type": [{string] HTTP Authorization Header format: Bearer],
"scope": [{string} Scopes the user accepted],
"refresh_token": [{string} Your new refresh_token],
"userid": [{string} The Withings ID of the user]
}
}

 

Am I impacted?

  • You are impacted if you are using the deprecated endpoint to get and refresh access_token

What has changed?

  • The endpoint changed as specified described above
  • The request output also changed

Do I need to change the url for the authentication code?

No. The url to get the authentication code remains unchanged. See documentation.

How can I switch from the previous endpoint?

  • Until the release date of the new endpoint, both endpoints will remain available to get and refresh access_tokens
  • Before the release date of the new endpoint, you must replace the deprecated endpoint with the new endpoint and apply the modifications shown above
Was this article helpful?

Didn't find what you need? Here's how to get in touch.

Contact us
To preserve the Withings Forum as a place of kindness, mutual support, and interest for the products and services provided by Withings, I am committed to:
  • Be courteous and participate in the community with a spirit of friendliness and understanding
  • Respect all users on the forum
  • Avoid controversy or quarrel
  • Ensure that my messages do not infringe on the rights, reputation, image, or privacy of others
  • Avoid any and all discussions which contain insulting or discriminatory comments
  • Abide by the full terms and conditions outlined here

Note that this community is supported by its members, not the Withings Support Team.

If you need assistance because of an issue which would not be resolved through troubleshooting, such as a product with physical damage, please contact our Support Team.