API Reference
Developer documentation for integrating LetPsyc with your applications
API Access
API access is available for Professional and Enterprise subscribers. Contact our sales team to obtain your API credentials and discuss integration requirements.
API Overview
Introduction to the LetPsyc API
Base URL
https://api.letpsyc.com/v1
API Format
The LetPsyc 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
