oauth2

OAuth 2.0 - Get access to demo account

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

post https://wbsapi.withings.net/v2/oauth2

Request

  • Base URL
    https://wbsapi.withings.net
  • Auth
    none declared

Query parameters

actionstring required

Must take the string value getdemoaccess.

client_idstring required

Your Client ID.

noncestring required

A random token used to prevent replay attacks (Cf. Signature v2 - Getnonce).

signaturestring required

Hash of params (Cf. Signature hash protocol).

scope_oauth2string required

A comma-separated list of permission scopes to request from the user. See the available scopes for the full list and the actions they allow.

Response

(Click to unfold)

statusinteger

Response status. See <a href='#tag/response_status'>Status</a> section for details.

Example response

{
  "body": {
    "access_token": "a075f8c14fb8df40b08ebc8508533dc332a6910a",
    "refresh_token": "f631236f02b991810feb774765b6ae8e6c6839ca",
    "expires_in": 10800
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.