---
title: "OAuth 2.0 - Get access to demo account"
method: POST
path: "     https://wbsapi.withings.net/v2/oauth2"
tags: ["oauth2"]
---

# OAuth 2.0 - Get access to demo account

`POST      https://wbsapi.withings.net/v2/oauth2`

## Request

- Base URL: `https://wbsapi.withings.net`
- URL: `https://wbsapi.withings.net/     https://wbsapi.withings.net/v2/oauth2`
- Auth: none declared

This webservice gives your clientID access to a demo account containing dummy data

## Query parameters

- `action` string, required
- `client_id` string, required
- `nonce` string, required
- `signature` string, required
- `scope_oauth2` string, required

## Response `200`

(Click to unfold)

- object
  - `status` integer: Response status. See <a href='#tag/response_status'>Status</a> section for details.
  - `body` object: Response data.
    - `access_token` string: Your new Access Token.
    - `refresh_token` string: Your Refresh Token.
    - `expires_in` integer: Access token expiry delay in seconds.

---

[API](https://skmtc.dev/withings/apis/withings-developer-documentation.md) - [All operations](https://skmtc.dev/withings/apis/withings-developer-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/withings/apis/withings-developer-documentation/revisions/9e9accd01d4b?raw)
