REST API for abandoned cart recovery. Works with any language, any framework. SDKs for convenience, webhooks for automation.
import { Retake } from "@retake/js";
const retake = new Retake({ apiKey: "rk_live_..." });
// Track abandoned checkout
await retake.track({
type: "checkout_abandoned",
email: "customer@example.com",
cart: {
total: 129.99,
items: [{ name: "Product", price: 129.99 }],
},
});
// Recovery email scheduled automaticallyYou've already paid to acquire these customers. Without recovery, that investment is wasted.
70%
Your marketing brought them to checkout. Then they vanished.
You can't personally email every customer who left mid-purchase.
$500/mo for abandoned cart recovery? There's a better way.
What if you could automatically bring them back?
Simple integration. Powerful results. No complex configuration required.
Integrate with our JavaScript or Next.js SDK in 3 lines of code. Shopify & WooCommerce plugins coming soon.
// app/api/retake/route.tsimport { createRetakeHandler } from '@retakeapi/nextjs/server';export const POST = createRetakeHandler(process.env.RETAKE_API_KEY!);// PricingPage.tsximport { useIntentTracking } from '@retakeapi/nextjs/client';useIntentTracking({ type: "checkout", userId: session.id, email: user.email, value: selectedPlan.price, items: [{ id: selectedPlan.id name: selectedPlan.name, price: selectedPlan.price }]});Choose from proven email templates. Set timing and frequency. Preview before going live. Use our presets or customize everything.

See real-time analytics as abandoned carts convert to sales. Track opens, clicks, and recovered revenue in your dashboard.

One API call. Automatic recovery. Real revenue — for e-commerce and SaaS alike.
retake.track({
type: "checkout_abandoned",
email: "customer@shop.com",
cart: {
total: 89.00,
items: [{ name: "Pro Plan", price: 89.00 }],
},
});What happens next
retake.track({
type: "payment_failed",
email: "user@saas.com",
subscription: {
plan: "Growth",
amount: 29,
},
});Or connect your Stripe webhook — Retake triggers automatically, zero extra code.
What happens next
retake.track({
type: "trial_expiring",
email: "user@prospect.com",
metadata: {
days_left: 3,
plan_used: "Growth",
},
});What happens next
Copy one system prompt into Cursor, Windsurf, or Copilot. Your AI handles the full implementation — no docs needed.
You are a Senior Full-Stack Engineer. Integrate Retake (Revenue Recovery) into the application.
## API Endpoint
POST https://retakeapi.com/api/v1/track
Header: X-API-Key: <YOUR_API_KEY>
## Intent Types
| Type | When to Fire | Business Type |
|----------------|---------------------------------------|-----------------|
| cart | User adds items to cart | E-commerce |
| checkout | User enters checkout / payment page | E-commerce/SaaS |
| pricing | User views pricing page | SaaS |
| upgrade | User clicks "Upgrade" | SaaS |
| trial_expiring | Free trial is ending | SaaS |
| payment_failed | Recurring payment failed | SaaS |
## Events to Track
### INTENT
{ "event": "INTENT", "type": "checkout",
"userId": "u_123", "email": "user@example.com",
"value": 49.00 }
### CONVERSION (stop recovery when user converts)
{ "event": "CONVERSION", "userId": "u_123", "value": 49.00 }
## Rules
1. Keep API key server-side only.
2. Capture email as early as possible.
3. Silently fail — never block user flow.
...Copy the prompt
One click — full context for your AI coding assistant.
Open IDE chat
Cursor, Windsurf, GitHub Copilot, or any AI assistant.
Paste & ship
"Implement Retake tracking for my checkout page."
Works with Cursor, Windsurf, GitHub Copilot, Claude Code, and any AI coding assistant.
From tracking to recovery, Retake handles the entire customer journey automatically.
Cart abandonment, checkout drop-off, pricing page visits, failed payments, trial expiring - track and recover all intent types.
6 intent typesConfigurable delays with smart suppression. Send the right email at the right moment without spamming customers.
Configurable delaysProfessional, high-converting email templates. Preview before sending. Customize colors and branding to match your store.
Preview in dashboardConversion funnel, email opens, clicks, unsubscribes. See exactly how much revenue you're recovering in real-time.
Real-time dashboardReceive real-time notifications for all events. Connect to your CRM, Slack, or any system via webhooks.
Event-drivenSimple REST API works with any language or framework. Optional SDKs for JS/TS. Supports 5+ email providers with BYOK.
Universal APIREST API with optional SDKs. Drop in from Next.js, Shopify, plain JS, Python, PHP, Ruby, Go — wherever your checkout lives.
💸 Pays for itself after recovering just 3–4 carts
Risk-free: 30-day money-back guarantee on all plans.
For small stores getting started
For growing businesses
Unlimited projects with resell rights
💡 Traditional tools (Klaviyo etc.) cost $300–$800/mo. Retake starts at $9/mo.
Honest answers to every question you might have.
Not at all! A step-by-step setup video is coming soon. For now, follow our documentation to integrate in under 5 minutes.
Perfect timing! Setting up cart recovery before you scale means you'll capture revenue from day one. Our Starter plan is designed specifically for early-stage stores.
Fair question. Retake is in public beta which means: you get early adopter pricing locked in forever, our SDKs are open-source on GitHub, and we respect your data privacy. You're not locked in—cancel anytime.
We offer a 30-day money-back guarantee. If Retake doesn't help you recover at least one cart within 30 days, we'll refund you—no questions asked. Just email us at support@retakeapi.com.
Yes. Every email includes an unsubscribe link. We only track users who have started a checkout (legitimate interest for transaction completion). For data export or deletion requests, contact us at privacy@retakeapi.com.
Yes! Retake works with Shopify, WooCommerce (plugins coming soon), Next.js, and any custom stack. It's a universal REST API that works with any tech stack or language that can make an HTTP request.
Zero impact. Our tracking is ultra-lightweight and loads asynchronously. It's lighter than a Facebook pixel and doesn't block your page rendering.
We support Resend, Mailgun, SendGrid, AWS SES, and custom SMTP. Bring your own API keys—credentials are encrypted before storage.
Fully. We provide high-converting templates, but you can customize every word, color, and logo to match your brand perfectly. Preview before sending.
Every abandoned cart is revenue you've already earned. Start recovering it today.