API Overview
Decoda Health provides a comprehensive healthcare platform API that enables clinics, EHRs, and healthcare systems to integrate advanced automation, patient communication, payment processing, and practice management capabilities.Platform Capabilities
Our API enables you to build powerful healthcare solutions with: AI-Powered Automation- Deploy AI assistants that handle patient calls, scheduling, and inquiries 24/7
- Automate note-taking and clinical documentation with AI-powered transcription
- Intelligent patient communication with multi-language support
- Accept payments online, in-person, and over the phone
- Support multiple payment methods: credit/debit cards, ACH/eCheck, HSA/FSA, gift cards, and mobile wallets
- Handle complex billing workflows: refunds, adjustments, write-offs, discounts, payment plans, and insurance payments
- Integrate with point-of-sale systems for seamless in-clinic transactions
- Complete patient lifecycle management from intake to follow-up
- Patient communication hub with two-way texting, calling, and email
- Intelligent scheduling with automated reminders and confirmations
- Form management and intake workflows
- Patient document and attachment handling
- Calendar and appointment management
- Provider and staff management with role-based access control
- Inventory and stock management
- Commission structures and reporting
- Analytics and reporting dashboards
- AI-powered note creation and transcription
- Note templates and versioning
- Clinical attachments and annotations
- Integration with medical coding (CPT, ICD-10)
API Organization
The Decoda Health API is organized into logical groups based on functionality: Patients- Patients - Create, search, and manage patient records
- Patient Documents - Upload, share, and sign off on patient documents
- Patient Tags - Organize patients with custom tags
- Patient Notes - Quick notes pinned to a patient
- Patient Measurements - Record measurements, goals, and trends
- Care Plans - Build and track patient care plans
- Patient Insurance - Manage patient insurance coverages
- Patient Credit - Track and transfer patient credit balances
- Loyalty Points - Grant and redeem loyalty points
- Patient Payment Methods - Store and remove patient payment methods
- Patient Doses - Log and sign off on administered doses
- Patient Import - Bulk-import patients via CSV and column mappings
- Charges - Create and manage charges, superbill context, and reversals
- Invoices - Issue, send, and reconcile invoices
- Payments - Card, cash, credit, loyalty, and insurance payments plus refunds
- Payment Plans - Installment plans and scheduled payments
- Payment Terminals - In-person, point-of-sale terminal charges
- Payment Links - Shareable hosted payment links
- Carts - Build carts and convert them to charges
- Quotes - Create, send, and convert customer quotes
- Discounts - Patient and package discounts
- Promotions - Promotion setup, evaluation, and redemption
- Gift Cards - Issue, validate, and redeem gift cards
- Adjustments and Write-Offs - Charge adjustments and write-offs
- Superbills - Generate and send patient superbills
- Tips - Tip capture and terminal tip displays
- Chargebacks - Manage and respond to chargebacks
- Merchant Accounts - Merchant account configuration
- Items - Sellable items and services
- Packages - Multi-item packages
- Memberships - Membership plans and enrolled members
- Suppliers - Inventory suppliers
- Stock - Stock levels, transfers, counts, and barcodes
- Purchasing - Purchase orders and inbound shipments
- Opportunities - Leads and opportunities pipeline
- Campaigns - Marketing campaigns, posts, budgets, and goals
- Pipelines - Sales pipelines, stages, and templates
- Marketing Platforms - Connect and sync external ad platforms
- Growth Agents - AI growth agents and their runs
- Growth Analytics - Campaign performance and growth dashboards
- Calendar and Appointments - Appointment scheduling and event management
- Forms - Intake forms and form submissions
- Attachments - File and document management
- Medications - Medication catalog management
- Medical Codes - CPT and ICD-10 code lookup
- Tenant - Tenant configuration and API key management
- Webhooks - Webhook configuration and event delivery
Getting Started
Base URL
All API requests should be made to:Authentication
The Decoda Health API uses API key authentication. Include the following headers in every request:API-KEY: Your API key (obtained from Decoda Health)TENANT: Your tenant identifier
Getting Your API Key
You can generate and manage your own API key directly in the Decoda console:- Go to Settings → Developers → API & Webhooks. (Tip: open search with
⌘K/Ctrl+Kand type “API & Webhooks”.) - In the API Access section, click Generate New API Key.
- Copy the key and store it somewhere secure — you won’t be able to view it in full again.
Your
TENANT identifier is your clinic’s subdomain. If you’re not sure what it is, contact Decoda Health Support.- Never expose your API key in client-side code or public repositories
- Rotate API keys regularly
- Use environment variables to store API keys securely
- Monitor API usage and set up alerts for unusual activity
API Versioning
The Decoda Health API follows semantic versioning. The current API version is v1. We maintain backward compatibility within major versions and will provide advance notice for any breaking changes.Rate Limits
API rate limits are applied per tenant to ensure fair usage. Rate limit headers are included in all responses:X-RateLimit-Limit: Maximum number of requests allowedX-RateLimit-Remaining: Number of requests remaining in the current windowX-RateLimit-Reset: Time when the rate limit resets
429 Too Many Requests response. Implement exponential backoff when retrying requests.
Webhooks
Receive real-time notifications about events in your Decoda Health account by configuring webhooks. See the Webhook documentation for details on setting up and managing webhooks.Error Handling
The API uses standard HTTP status codes to indicate success or failure:2xx: Success4xx: Client error (invalid request, authentication failure, etc.)5xx: Server error
Support
For API support, documentation questions, or feature requests:- Email: support@decodahealth.com
- Documentation: This site contains comprehensive API reference documentation
- Status: Check our status page for API availability and incidents
Next Steps
- Explore the API Reference to see all available endpoints
- Start with the Patients endpoints — patient records are the core of most integrations
- Set up Webhooks to receive real-time notifications
- Use the Charges and Payments endpoints for payment processing

