GHL Developer Guide PatientNowPro
Prerequisites
API Key provided by the PatientNow team
Practice ID from PatientNow
GHL webhook URLs for event subscriptions
Access to Swagger documentation (from PatientNow)
Table of Contents
Getting a Single Object
Getting Many Objects
Creating New Patients
1. Integration Workflow
Register Webhooks using the Events API to subscribe to event types (e.g.,
Patient.Created,Appointment.Created).Receive Event Notifications at your GHL webhooks in real-time.
Retrieve Related Data using the
Urlprovided in the event payload.
Example Event Payload:
{ "Application": "PNP", "TenantId": "patientnow_download_2", "EventId": "34f57459-5237-433d-8e9c-15451d0c37c9", "EventType": "Patient.Created", "EventTimestamp": "2025-10-28T17:22:47.7573685Z", "Url": "https://backend.production.patientnow.net/backend/patientnowpro/practices/patientnow_download_2/patients/47"}
2. Events API
Use the Events API to register and manage GHL webhooks.
Endpoints:
GET /webhooks– List all registered webhooksPOST /webhooks– Register a new webhookGET /webhooks/{webhookId}– Get webhook by IDDELETE /webhooks/{webhookId}– Delete a webhook
Webhook Registration Parameters:
application: must be
PNPtenantId: the Practice ID
eventType: see full list below
integration: must be
GHLwebhookUrl: your GHL webhook endpoint
Supported Event Types:
Patient.Created, Patient.Updated
Appointment.Created, Appointment.Updated, Appointment.StatusUpdated
PatientBill.Created, .Updated, .Locked
PatientBillPayment.Created
MembershipPlan.Created
EventType.Created, .Updated
Provider.Created, .Updated
User.Created, .Updated
ServiceFacility.Created, .Updated
Procedure.Created, .Updated
Swagger Use Tips:
Click Authorize, paste your API key, then click Authorize again.
Use Try it out to test API endpoints.
Error Codes:
Code | Meaning | Fix |
200/201/204 | Success | - |
400/401/404/422 | Invalid input | Review error body and retry |
500 | API defect | Send full request + response to PatientNow Pro team |
Note: One webhook per eventType is allowed. Use DELETE endpoint to remove old ones.
3. PatientNow Pro Applications
Event messages are triggered by user activity in PatientNow Pro apps.
Desktop App
Windows-based application, .NET Framework 4.7 required.
Download from Home Page - PatientNow Inc.
Creating a Patient:
Login with Practice, User Name, Password
Click Select Patient > Add Patient
Enter patient details and contact info
Click OK to create patient
Event
Patient.Createdsent in ~10 seconds
Updating a Patient:
Click Select Patient, search, and select patient
Update fields and click OK
Event
Patient.Updatedsent in ~10 seconds
iOS App
4. Event Messages
All event messages follow this schema:
{ "Application": "PNP", "TenantId": "<Practice ID>", "EventId": "<GUID>", "EventType": "<Event.Name>", "EventTimestamp": "<UTC Timestamp>", "Url": "<GET Endpoint>"}
Tips:
Use EventId to avoid duplicate processing
Use Url to fetch object directly
5. PatientNow Pro API
Use this API to retrieve or create objects (e.g., patients, appointments).
Getting Single Object
Open
GET /practices/{practiceId}/patients/{patientId}Input practiceId and patientId
Click Execute
Use URLs from event messages directly; they already contain parameters.
Getting Many Objects
Open
GET /practices/{practiceId}/patientsInput practiceId (and optional page and limit)
Click Execute
Response Includes:
page: Page number
itemsCount: Items on page
links: Pagination URLs
Creating New Patients
Open
POST /practices/{practiceId}/patientsInput practiceId and patient fields in body
Click Execute
Success: Response code 201
Errors: Review 400, 401, 404, 422 or 500 responses per troubleshooting table.
Troubleshooting
Symptom | Likely Cause | Fix |
Webhook not firing | Event not configured | Register correct eventType |
Duplicate event messages | EventId reused | Use EventId for deduplication |
401 Unauthorized | Invalid API Key | Reauthorize in Swagger |
500 Server Error | API defect | Send full request to PatientNow Pro support |








