Authentication Overview
The ColdSend Public API uses API keys for authentication. All requests must include a valid API key in theX-API-Key header.
Authentication Method
Include your API key in every request:Key Format
API keys follow this format:cs_live_- Prefix identifying this as a production API key- The remainder is a cryptographically secure random token
Key Security
API keys are stored securely:- Keys are hashed using SHA-256 before database storage
- Raw keys are only visible during initial creation
- Keys can be revoked at any time from the dashboard
Authentication Errors
Missing API Key
401 Unauthorized
This error occurs when the X-API-Key header is missing from the request.
Invalid or Revoked Key
401 Unauthorized
This error occurs when:
- The key does not exist
- The key has been revoked
- The key format is invalid
Insufficient Permissions
403 Forbidden
This error occurs when the key lacks the required scope for the operation. See Scopes for details.
Next Steps
- Learn how to Create and Manage API Keys
- Understand API Key Scopes and permissions

