Documentation Index
Fetch the complete documentation index at: https://docs.kordless.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Kordless Booking API uses API keys for authentication. Include your API key in every request to identify your application.Required Header
All Booking API requests require one header:Your API key. Generate one in the platform under Calendar → Settings → API Keys.
Getting Your API Key
Navigate to API Keys
- Log in to the Kordless Platform
- Go to Calendar → Settings
- Scroll to the Public Booking API Keys section
Create a New Key
- Click Create new key
- Enter a descriptive label (e.g., “Production Website”, “Mobile App”)
- Click Create Key
- Copy the key immediately—you won’t see it again!
Making Authenticated Requests
- cURL
- JavaScript
- Python
- Ruby
Organization Slug
Unlike some APIs that require an organization ID header, the Booking API identifies your organization through the URL slug:Customer Self-Service Authentication
For customer-facing endpoints (lookup, cancel, reschedule), authentication uses the confirmation number + contact info instead of an API key:The email or phone number used when creating the booking. Used to verify the customer owns this booking.
Authentication Errors
401 Unauthorized
Cause: Missing or invalid API key- Verify the
x-kordless-keyheader is present - Check that your API key hasn’t been revoked
- Ensure you copied the key correctly
403 Forbidden
Cause: API key doesn’t match the organization- Verify you’re using the correct organization slug
- Check that the API key was created for this organization
- Ensure the key hasn’t expired or been revoked
Security Best Practices
Use Environment Variables
Use Environment Variables
Never hardcode API keys in your source code:
Use a Backend Proxy
Use a Backend Proxy
Never expose API keys in client-side code. Create a backend endpoint:Your frontend calls your backend, which calls Kordless.
Use Separate Keys Per Environment
Use Separate Keys Per Environment
Create different API keys for each environment:This helps you:
- Track which environment made a request
- Limit damage if a development key is exposed
- Revoke keys without affecting other environments
Rotate Keys Regularly
Rotate Keys Regularly
Generate new API keys periodically:
- Every 90 days for production keys
- Immediately if a key is compromised
- When team members with access leave
Monitor API Usage
Monitor API Usage
Review your API usage regularly:
- Check for unusual activity patterns
- Identify which keys are actively used
- Monitor rate limits
Testing Authentication
Test your setup with a simple request:- 200 OK: Authentication successful
- 401 Unauthorized: Check your API key
- 404 Not Found: Check your organization slug
Rate Limits
API keys are subject to rate limits:- 60 requests/minute per API key (general)
- 10 requests/minute per API key (booking creation)
Idempotency
For POST requests (creating bookings), use theIdempotency-Key header to prevent duplicates:
Next Steps
Get Organization
Fetch your organization info and services.
Create a Booking
Create your first booking via the API.
Error Handling
Understand how to handle API errors.

