Getting User Metrics

Once you have your access_token, you may start retrieving user data from Cardiogram

Get User Metrics

GET https://cardiogr.am/oauth/users/:user_id/metrics

This endpoint allows you to retrieve user weekly metrics such as their average heart rate and step count.

Path Parameters

Name
Type
Description

id

string

/oauth/users/1/metrics

Headers

Name
Type
Description

Authentication

string

Bearer <access_token>

{
    '2017-03-01': {RESTING_BPM: 76, STEPS: 9121, MOVE: 310, SLEEP_BPM: 52},
    '2017-03-02': {RESTING_BPM: 74, STEPS: 13733, MOVE: 491, SLEEP_BPM: 51},
    ...
}

Last updated

Was this helpful?