📓 Confirm a measure
This endpoint is used to confirm or reject the identification of a user associated with a specific weight measurement.
This confirmation or rejection helps to refine the accuracy of user identification.
When to confirm a measurement ?
Withings recommends requesting user confirmation when probability score gets below 70" When probability score gets below 50, it is unlikely the measurement belongs to your member but Withings recommends prompting confirmation / rejection every few months to increase performances.
See Understanding the Algorithm
Endpoint Details:
- Endpoint:
https://wbsapi.withings.net/v2/measure
- Method:
POST
Required Parameters:
access_token
: A valid access token for session authentication.action
: Must take the valueconfirmuser
grpid
: The ID of the measurement group that the weight measure belongs to.is_confirmed
: A boolean value (1
for confirmed,0
for rejected)
Example Request: Confirming a User Measurement
To confirm a measurement:
{
"access_token": "YourAccessToken",
"action": "confirm",
"grpid": "12345",
"is_confirmed": 1
}
This request confirms that the weight measurement in group ID 12345
is accurate and belongs to the identified user.