API Reference

Complete API documentation for integrating TDAppointments into your applications

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

API keys are available for Enterprise plan customers. Contact us at info@techdr.in to request API access.

API Endpoints

GET/api/v1/appointmentsAuth Required

List all appointments

POST/api/v1/appointmentsAuth Required

Create a new appointment

GET/api/v1/appointments/{id}Auth Required

Get appointment details

PUT/api/v1/appointments/{id}Auth Required

Update appointment

DELETE/api/v1/appointments/{id}Auth Required

Cancel appointment

GET/api/v1/patientsAuth Required

List all patients

POST/api/v1/patientsAuth Required

Create a new patient

GET/api/v1/patients/{id}Auth Required

Get patient details

GET/api/v1/doctorsAuth Required

List all doctors

GET/api/v1/slots/availableAuth Required

Get available time slots

POST/api/v1/webhooksAuth Required

Register a webhook

Webhooks

Subscribe to real-time events in your TDAppointments account. Configure webhooks to receive notifications for:

  • New appointment bookings
  • Appointment cancellations
  • Appointment rescheduling
  • Payment confirmations
  • Patient registrations

Rate Limits

  • Free tier: 100 requests/hour
  • Professional: 1,000 requests/hour
  • Enterprise: Custom limits

Best Practices

  • • Always use HTTPS
  • • Implement retry logic with exponential backoff
  • • Cache responses when appropriate
  • • Handle errors gracefully

Need Help with Integration?

Our developer support team is here to help. Contact us for API access, integration assistance, or technical questions.