V1ObservationsSync
Sync a batch of observations from a device
Authorization
bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/observations/sync" \ -H "Content-Type: application/json" \ -d '{ "observations": [ { "code": "8480-6", "valueNum": 0, "unit": "string", "effectiveAt": null, "source": "healthkit" } ] }'{ "inserted": 0, "duplicates": 0, "rejected": 0}