Postman is an app designed to help with API development, available both as a desktop app and on the web. While you can access 1upHealth APIs using standard network transfer tools, such as
curl, Postman makes development easier with support for saving requests, using variables, and managing authentication.
First, make sure you've followed our Quick Start Guide to create a 1upHealth Account and your first application. Save your application's
client_secret. We'll use these values to configure the Postman collection and start using the API.
Download the Postman Collection below
For each API in the collection, you can expand the description beneath the title in Postman for more information by clicking the caret icon.
Before any of the APIs will work, you will need to configure your environment variables in Postman. In the top right corner in Postman click the "eye icon" next to the "1upHealth API Variables" dropdown. Then, click "Edit" on the popup to edit the API variables.
You will need to set values for the following variables:
client_id - from when you create your 1upHealth application
client_secret - from when you create your 1upHealth application
You'll see three additional variables that you do not need to set manually. They will be set automatically by the collection as you run each API in order. For example,
code is automatically set when you run API 1, to Create New User.
code - automatically set via Postman collection item 1 or 2, just need to execute
access_token - automatically set via Postman collection item 3 or 4
refresh_token - automatically set via Postman collection item 3 or 4