Conventions

Overview

353 views 0

The Data API is what you will use to retrieve your user’s data and manage your interaction with ZivaCare API programmatically.
A full list of queries is available in the API reference section

What is the Data API?

The ZivaCare Data API provides comprehensive health data served over a REST based API using JSON data for request and response payloads. This section assumes that you have registered users and retrieved their access tokens using the ZivaCare Connect popup. If you haven’t done that yet, please read the ZivaCare Connect section of the documentation. Once you have retrieved and stored the access token for the user, you can query the data from ZivaCare API as outlined below.

Querying a user’s health data

To query a user’s health data all you need to do is use their access_token to GET one of the ZivaCare API endpoints A standard query looks like this:

curl https://api.zivacare.com/api/v2/human/weights?access_token=<access_token>

You can always give an endpoint a try with the demo token to see how it works. For example:

curl https://api.zivacare.com/api/v2/human/blood_glucoses?access_token=demo

Before you start to write your data retrieval infrastructure, you will want to review a few things:

  1. The API Conventions section, which covers all important conventions that the ZivaCare API follows.
  2. The Demo Data section, which covers how to work with demo data while you prototype and integrate.
  3. The comprehensive endpoint list, which covers all of the Data API endpoints.

Was this helpful?

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close