API Overview
The Windback API lets you manage churn events, generate recovery emails, track customer behavior, and access analytics programmatically.Base URL
Authentication
Windback supports two authentication methods:JWT Bearer Token
Used by the dashboard and web app. Obtained via login or OAuth.
API Key
Used for server-side SDK calls and API access. Pass via header.
Endpoints
Authentication
Projects
Churn Events
Recovery & Email Variants
Stats & Analytics
Event Tracking
Cancel Flow
Webhooks
Team & Invitations
Response Format
All API responses follow a consistent JSON format:Success Response
Error Response
Pagination
List endpoints support cursor-based pagination:Error Handling
Rate Limits
Rate limit headers (
X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset) are included in all responses.