The NexHealth API uses rate limiting to safeguard against bursts of incoming traffic to maximize stability. Users who send many requests in quick succession may see status code 429 errors.
By default each API key is limited to the following:
- 100 requests per second
- 1,000 requests per minute for patients and appointments endpoints
- 2,000 requests per minute for other endpoints
Please be prepared to handle 429s via sleep and retry in order to bring your number of API calls within the limits listed above.
If you are experiencing frequent rate limit errors, consider replacing cron jobs with webhook subscriptions. For more information, please see our page on webhook subscriptions here.