Tracking Payer Enrollments
Overview
There are multiple ways to track payer enrollments. This guide explains how to
- List all enrollments
- Get all Payer Enrollments given a Provider
Preparation
Start by setting your API key. If you will track enrollments for specific Providers, please gather Providers' unique IDs.
Save your IDs!
If at any point you lost track of your Provider IDs, you can use the GET Providers endpoint with a
search
to find them again, e.g. withrequests.get(providers_url, params={"search": "[email protected]"}, headers=headers)
.
List all Payer Enrollments
You can visit the Medallion API Platform GET Payer Enrollments endpoint and click 'Try it'
import requests
url = "https://api.medallion.co/p/api/v1/payer-enrollments/"
headers = {
"accept": "application/json",
"x-api-key": "<YOUR_API_KEY>"
}
response = requests.get(url, headers=headers)
response_json = response.json()
results = response_json['results']
print(results)
Get all Payer Enrollments given a Provider
You can visit the Medallion API Platform GET Payer Enrollments endpoint and fill the 'provider' query parameter with your Provider's unique UUID
import requests
provider_id="<PROVIDER_ID>"
url = f"https://api.medallion.co/p/api/v1/payer-enrollments/?provider={provider_id}""
headers = {
"accept": "application/json",
"x-api-key": "<YOUR_API_KEY>"
}
response = requests.get(url, headers=headers)
response_json = response.json()
results = response_json['results']
print(results)
Updated 11 months ago