Get your first API call working in under 5 minutes.
- An API key and Clinic ID (provided by NovaMed team)
curlor your preferred HTTP client- Access to the development environment
- Approved Partner status
Note: By using the API, you agree to the API License Terms & Conditions.
API credentials are provided by the NovaMed team upon partner approval:
- Complete the partner onboarding process
- Sign the Business Associate Agreement (BAA) if accessing PHI
- Receive your API Key and Clinic ID from the NovaMed team
- Store credentials securely
Contact: api@nimbus-os.com to request API access.
Let's create a practitioner to verify your setup:
curl -X POST https://novamed-feapidev.stackmod.info/api/external/practitioner \
-H "x-api-key: your-api-key-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"first_name": "Sarah",
"last_name": "Johnson",
"email": "dr.johnson@partnerclinic.com",
"npi_number": "1234567890",
"assigned_clinic": "your-clinic-id-here"
}'If successful, you'll receive a JSON response:
{
"success": true,
"data": {
"practitioner_id": "660e8400-e29b-41d4-a716-446655440001"
},
"message": "Practitioner created successfully"
}Now let's create a patient:
curl -X POST https://novamed-feapidev.stackmod.info/api/external/patient \
-H "x-api-key: your-api-key-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"clinic_id": "your-clinic-id-here",
"first_name": "John",
"last_name": "Smith",
"date_of_birth": "1985-03-15",
"gender": "male",
"email": "john.smith@email.com",
"phone": "+1-555-0199",
"address_line1": "123 Main Street",
"city": "San Francisco",
"state": "CA",
"zip": "94102"
}'The response includes the created patient:
{
"success": true,
"data": {
"patient_id": "770e8400-e29b-41d4-a716-446655440002"
},
"message": "Patient created successfully"
}Now create a medication request for the patient:
curl -X POST https://novamed-feapidev.stackmod.info/api/external/medication-request \
-H "x-api-key: your-api-key-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"clinic_id": "your-clinic-id-here",
"patient_id": "770e8400-e29b-41d4-a716-446655440002",
"practitioner_id": "660e8400-e29b-41d4-a716-446655440001",
"medication_name": "Testosterone Cypionate",
"medication_strength": "200mg/ml",
"quantity": 1,
"refills": 3,
"days_supply": 30,
"instructions": "Inject 0.5ml intramuscularly twice weekly"
}'Response:
{
"success": true,
"data": {
"medication_request_id": "880e8400-e29b-41d4-a716-446655440003"
},
"message": "Medication request created successfully"
}Register a webhook to receive real-time notifications:
curl -X POST https://novamed-feapidev.stackmod.info/api/external/webhook \
-H "x-api-key: your-api-key-here" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"clinic_id": "your-clinic-id-here",
"webhook_url": "https://your-server.com/webhooks/novamed"
}'Response:
{
"success": true,
"data": {
"webhook_id": "bb0e8400-e29b-41d4-a716-446655440006"
},
"message": "Webhook created successfully"
}Here's the typical integration workflow:
- Create Practitioner — Onboard prescribing practitioners
- Create Patient — Register patients with demographics and address
- Create Medication Request — Submit prescriptions for fulfillment
- Register Webhook — Receive status updates automatically
- Request Refills — Initiate refills for shipped medications
Your API key is missing or invalid. Verify:
- The key is included in the
x-api-keyheader (lowercase) - The key hasn't been revoked
- You're using the correct environment
The request is invalid. Common causes:
- Missing required fields
- Invalid
clinic_id - Invalid UUID format
- Invalid email format
The resource doesn't exist. Check:
- The resource ID is correct
- The resource belongs to your clinic
- You're using the correct environment
| Environment | Base URL |
|---|---|
| Development | https://novamed-feapidev.stackmod.info |
| Production | https://feapi.novamed.care |
Important: Do not send PHI to the Development environment.