Prod Checklist for Linktree. Trigger: "linktree prod checklist".
Linktree profiles serve as the single gateway between a creator's social audience and their monetized destinations. A misconfigured integration can silently drop link-click analytics, leak API keys through client-side calls, or trip the 100 req/min rate limit during viral traffic spikes. This checklist hardens your Linktree API integration for production-grade reliability, ensuring click tracking stays accurate, webhook delivery remains verified, and your link-in-bio pages load under high concurrency.
https://api.linktr.ee/v1 (production, not sandbox)Content-Type: application/json and Accept headers set on every requestRetry-After header to schedule next attemptasync function validateLinktreeProduction(apiKey: string): Promise<void> {
const base = 'https://api.linktr.ee/v1';
const headers = { Authorization: `Bearer ${apiKey}`, 'Content-Type': 'application/json' };
// 1. Connectivity check
const ping = await fetch(`${base}/health`, { headers, signal: AbortSignal.timeout(5000) });
console.assert(ping.ok, `API unreachable: ${ping.status}`);
// 2. Auth validation
const profile = await fetch(`${base}/me`, { headers });
console.assert(profile.status !== 401, 'Invalid API key');
console.assert(profile.status !== 403, 'Insufficient key permissions');
// 3. Rate limit headroom
const remaining = parseInt(profile.headers.get('X-RateLimit-Remaining') ?? '0');
console.assert(remaining > 20, `Rate limit headroom low: ${remaining} remaining`);
// 4. Webhook endpoint reachable
const webhookUrl = process.env.LINKTREE_WEBHOOK_URL;
if (webhookUrl) {
const wh = await fetch(webhookUrl, { method: 'HEAD', signal: AbortSignal.timeout(5000) });
console.assert(wh.ok, `Webhook endpoint unreachable: ${wh.status}`);
}
// 5. Click tracking active
const links = await fetch(`${base}/links`, { headers });
console.assert(links.ok, `Links endpoint failed: ${links.status}`);
console.log('All Linktree production checks passed');
}
| Check | Risk if Skipped | Priority |
|---|---|---|
| HMAC webhook verification | Spoofed click events corrupt analytics | Critical |
| Rate limit client-side cap | 429 storm during viral spikes, data loss | Critical |
| Bearer token in vault | Key leak via repo/logs, full account takeover | Critical |
| Cached profile fallback | Blank link-in-bio page during outage | High |
| Click event replay queue | Permanent analytics gaps after transient failures | High |
See linktree-security-basics.