WIM Tracking’s REST API is based on OAuth 2.0 Protocol

If you already operate a database of providers and are looking for a way to power your application with automated updates through WIM’s daily tracking routine – this is the solution for you. WIM’s API allows organizations to query WIM’s provider and practice database through both JSON and XML. Below is the API Documentation that shows what parameters are available for the database to be queried.

Contact WIM to discuss pricing options and receive your API key. New! Ask about our Quick Connect option for Microsoft Access.

API Documentation

Authentication

Access Token Request:
URL: https://c2axa376.caspio.com/oauth/token
Method: POST
Header: Leave Blank
Data/Raw Payload: grant_type=client_credentials&client_id=<Client Key>&client_secret=<Client Secret>

Upon successful authentication, you will receive an access token that expires after 24 hours, at which point you will need to re-authenticate using the steps above.  Or you may create a refresh token that will expire in one year.

Refresh Token Request:
Method: POST
URL: https://c2axa376.caspio.com/oauth/token
Body: grant_type=refresh_token&refresh_token=<refresh token value>
Header Parameters:
Authorization: Basic
Content-Type: application/x-www-form-urlencoded

Practice Query

https://c2axa376.caspio.com/rest/v1/views/apipractices/rows
Method: GET
Header: Authorization: Bearer
Content-Type: application/json
Parameters: …v1/views/apipractices/rows?q={“where”:”physical_county=’Gallatin'”}

q={“select”:”fields list”, “where”:”WHERE condition”, “groupby”:”grouping fields list”, “orderby”:”ordering fields list”, “limit”:}

  • If “select” is empty, all is assumed.
  • If “limit” is not provided, 100 is assumed.
  • In no event more than 1000 rows can be returned.
Parameter Description Parameter Type Data Type
account_name Name of the health care practice query string
facility_type Type of practice query string
physical_city City in Montana query string
physical_county County in Montana query string
date_submitted Date account added to WIM Tracking query string

Provider Query

https://c2axa376.caspio.com/rest/v1/views/apiproviders/rows
Method: GET
Header: Authorization: Bearer
Content-Type: application/json

Parameters: …v1/views/apiproviders/rows?q={“where”:”accounts_name=’Benefis Health Care'”}

q={“select”:”fields list”, “where”:”WHERE condition”, “groupby”:”grouping fields list”, “orderby”:”ordering fields list”, “limit”:}

  • If “select” is empty, all is assumed.
  • If “limit” is not provided, 100 is assumed.
  • In no event more than 1000 rows can be returned.
Parameter Description Parameter Type Data Type
contacts_first_name Provider first name query string
contacts_last_name Provider last name query string
contacts_npi Searches provider’s national provider identifier query string
contacts_speciatly1 Searches the provider’s specialty query string
accounts_name Searches the name of the provider’s practice query string
accounts_physical_city Searches the physical city of the provider query string
accounts_physical_county Searches the physical county of the provider query string
contacts_date_submitted Date provider added to WIM database query string
contacts_date_last_modified Date provider information updated query string

Get Your API Key

Please call 406.640.1230 or email info@wimtracking.org to inquire about our API services.