Quick Start Guide
Welcome to the Decoda Health API! This guide will help you make your first API call and start building integrations.Prerequisites
- API credentials (API key and tenant identifier)
- cURL, Postman, or your preferred HTTP client
- Basic understanding of REST APIs
Step 1: Get Your API Credentials
If you don’t have API credentials yet, contact Decoda Health Support to request access. You’ll receive:- API Key: Your authentication token
- Tenant: Your tenant identifier (usually your organization’s subdomain)
Step 2: Make Your First API Call
Let’s start by fetching your tenant information to verify your credentials work:Step 3: Create Your First Patient
Now let’s create a patient record:Step 4: Create an Appointment
Let’s schedule an appointment for the patient you just created:You’ll need to replace
YOUR_SERVICE_ID with an actual service ID from your tenant. Use the List Services endpoint to find available services.Step 5: Process a Payment
Now let’s create a charge and process a payment:Step 6: Set Up Webhooks (Optional)
To receive real-time notifications about events in your account, set up webhooks:Next Steps
Congratulations! You’ve completed the quick start guide. Here’s what to explore next:API Reference
Browse all available endpoints organized by functionality
Webhooks
Learn how to receive real-time event notifications
Workflow Guides
See how to build complete workflows
Best Practices
Learn recommended patterns and practices
Common Issues
Authentication Errors
If you get a401 Unauthorized error:
- Verify your API key is correct
- Check that your tenant identifier matches your account
- Ensure headers are formatted correctly (case-sensitive)
Not Found Errors
If you get a404 Not Found error:
- Verify the endpoint URL is correct
- Check that required IDs (patient_id, service_id, etc.) exist in your tenant
- Ensure you’re using the correct API version
Rate Limiting
If you get a429 Too Many Requests error:
- Implement exponential backoff
- Check rate limit headers in responses
- Consider batching requests where possible
Getting Help
- Email Support: [email protected]
- Documentation: Browse the full API Reference
- Status Page: Check status.decodahealth.com for API status
