user

User v2 - Get

Returns user information.

For data privacy reasons, this webservice is only available for integration solutions for which the provider is responsible for the account creation (ie Withings Cellular Solutions and Withings Mobile SDK integrations). This webservice will return an error the above condition is not met.

posthttps://wbsapi.withings.net/v2/user

Request

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

Query parameters

actionstring required

Service action name. Must take the string value get.

client_idstring required

Id of the client

noncestring required

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

signaturestring required

Hash of params (Cf. Signature hash protocol).

emailunknown

User's email address

useridunknown

User's identifier.

Response

(Click to unfold)

statusinteger

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

Example response

{
  "body": {
    "user": {
      "email": "john.doe@my.email",
      "firstname": "John",
      "lastname": "Doe",
      "shortname": "JDO",
      "birthdate": 1577829600,
      "preflang": "fr_FR",
      "timezone": "Europe/Paris",
      "mailingpref": true,
      "unit_pref": {
        "weight": 1,
        "height": 6,
        "temperature": 11,
        "distance": 6
      },
      "phonenumber": "+33612345678"
    }
  }
}

Changes

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