Skip to main content

One post tagged with "REST API"

REST API endpoints and functionality

View All Tags

API v3.1

This release includes new search capabilities and webhook improvements.

New Endpoints​

Patient Search API​

New endpoint for advanced patient searching with filtering and pagination.

GET /api/v3/patients/search

Query Parameters:

  • q - Search query (name, phone, email)
  • status - Filter by patient status (active, inactive, all)
  • limit - Results per page (default: 25, max: 100)
  • offset - Pagination offset

Example Response:

{
"patients": [...],
"total": 150,
"limit": 25,
"offset": 0
}

Enhancements​

Webhook Retry Logic​

  • Webhooks now retry up to 5 times with exponential backoff
  • Failed webhooks are logged in the webhook dashboard
  • New X-Webhook-Retry-Count header included in retried requests

Rate Limiting Headers​

All API responses now include rate limit headers:

  • X-RateLimit-Limit - Requests allowed per window
  • X-RateLimit-Remaining - Requests remaining
  • X-RateLimit-Reset - Unix timestamp when limit resets

Bug Fixes​

  • Fixed incorrect updated_at timestamps on patient records
  • Resolved 500 errors when filtering appointments by provider

Documentation​