user

User v2 - Getgoals

Returns the goals of a user.

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

Request

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

Query parameters

actionstring required

Service action name. Must take the string value getgoals.

Headers

Authorizationstring required

Used to pass your access token. Must take value: Bearer {your access_token} Replace {your access_token} with the access_token

Response

(Click to unfold)

statusinteger

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

Example response

{
  "body": {
    "goals": {
      "steps": 10000,
      "sleep": 28800,
      "weight": {
        "value": 70500,
        "unit": -3
      }
    }
  }
}

Changes

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