API Reference

Developer documentation for integrating LetPhsyc with your applications

API Overview
Introduction to the LetPhsyc API

Base URL

https://api.letphsyc.com/v1

API Format

The LetPhsyc API is organized around REST. Our API has predictable resource-oriented URLs, accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.

  • All requests must be made over HTTPS
  • All data is sent and received as JSON
  • Timestamps are returned in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
  • Rate limiting: 1000 requests per hour per API key

Supported Standards

HL7 FHIR

Full support for FHIR R4 resources including Observation, DiagnosticReport, and Patient resources.

OAuth 2.0

Industry-standard authentication protocol for secure API access and authorization.

HTTP Status Codes

200 OKRequest successful
201 CreatedResource created successfully
400 Bad RequestInvalid request parameters
401 UnauthorizedInvalid or missing API key
403 ForbiddenInsufficient permissions
404 Not FoundResource not found
429 Too Many RequestsRate limit exceeded
500 Server ErrorInternal server error
Customer Support