Documentation Index
Fetch the complete documentation index at: https://docs.letterby.com/llms.txt
Use this file to discover all available pages before exploring further.
This API documentation covers all endpoints available in the Letterby API v4.
Welcome
Welcome to the Letterby API documentation. Our API enables you to programmatically manage your contacts, actions, projects and audiences. This documentation provides detailed information about the available endpoints and how to use them.Authentication
All API endpoints require authentication using an API key in the header. To obtain an API key:- Go to letterby.com/admin/lists
- Click on your project
- Navigate to the Integrations tab
- Click “Create key”
API Key Types
Letterby offers two types of API keys to suit different use cases:Private Keys
- Usage: Server-to-server communication, backend integrations
- Access: Full CRUD access to all endpoints
- Security: Keep these secure - never expose in client-side code
- Example use: Backend services, server scripts, cron jobs
Public Keys
- Usage: Client-side applications, frontend integrations
- Access: Create contacts only (no read, update, or delete access)
- Security: Safe for client-side use with limited permissions
- Example use: Signup forms, contact creation widgets, mobile apps
Key Features
- Rate Limiting: All keys are rate-limited by Cloudflare
- Expiration: Keys can be set to expire automatically
- Active/Inactive: Keys can be enabled/disabled instantly
Using API Keys
Basic Authentication
All requests require theapiKey header:
Public Keys Usage
Public keys are designed for client-side use and can only create contacts:JavaScript/Frontend Usage
For browser-based applications, public keys work seamlessly:Key Security: Private keys should never be exposed in client-side code.
Use Public keys for frontend applications and Private keys for backend
services.
Rate Limiting
To ensure the stability of our service, API requests are rate limited by Cloudflare:- 100 requests per minute for free accounts
- 1000 requests per minute for pro accounts
429 Too Many Requests response.