Build on ConsultPro
REST API for Healthcare Billing
Integrate ConsultPro's billing, visit, and payment data into your own systems. Automate workflows, sync with your EHR, or build custom dashboards.
API Highlights
A developer-friendly API designed for reliability, security, and ease of integration.
Available Endpoints
7 endpoint groups covering the full billing lifecycle from visits through TDS compliance.
Code Examples
Get started in minutes with these curl examples. Replace $TOKEN with your JWT token.
List visits
Retrieve paginated visits for your tenant with optional filters.
curl -s -H "Authorization: Bearer $TOKEN" \ "https://api.consultpro.in.net/api/visits?page=1&limit=20&status=COMPLETED"
Create billing
Generate a billing entry from a completed visit.
curl -s -X POST \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"visitId": "vis_abc123", "amount": 15000, "description": "OPD consultation"}' \
"https://api.consultpro.in.net/api/billing"Get TDS summary
Fetch quarterly TDS deduction summary for filing.
curl -s -H "Authorization: Bearer $TOKEN" \ "https://api.consultpro.in.net/api/tds?quarter=Q4&fy=2025-2026"
Authentication
ConsultPro uses JWT tokens for API authentication. Obtain a token by sending your credentials to the login endpoint, then include it in the Authorization header of every request.
- JWT tokens via POST /api/auth/login
- Refresh tokens for long-lived sessions without re-authentication
- Tokens are scoped to your tenant with role-based permissions
- API keys for server-to-server integration coming soon
# Get access token
curl -s -X POST \
-H "Content-Type: application/json" \
-d '{"email":"[email protected]","password":"..."}' \
https://api.consultpro.in.net/api/auth/login
# Response
{
"access_token": "eyJhbGciOi...",
"refresh_token": "dGhpcyBpcy...",
"user": { "id": "usr_123", ... }
}
# Use token in requests
curl -H "Authorization: Bearer eyJhbGciOi..." \
https://api.consultpro.in.net/api/visitsRate Limits & Quotas
Generous limits for every plan. Need more? Enterprise plans offer unlimited API access.
| Plan | Requests / min | Webhooks | Sandbox |
|---|---|---|---|
| Starter | 30 / min | -- | -- |
| ProfessionalPopular | 100 / min | ||
| Enterprise | Unlimited |
Get API Access Today
API access is included with every Professional and Enterprise plan. Start building your integration with a 14-day free trial.
Full API documentation is available inside the app after sign-up.