Cookie Policy
Last updated: April 2025
1. What Are Cookies
Cookies are small text files placed on your device when you visit a website. They are widely used to make websites work correctly, remember your preferences, and provide information to site operators. This Cookie Policy explains how ButterflyAPI uses cookies and similar technologies.
2. Cookies We Use
Essential cookies
Required for the Service to function. These cannot be disabled without breaking core features such as authentication and security.
| Cookie | Purpose | Duration |
|---|---|---|
| sb-*-auth-token | Supabase authentication session token | 7 days |
| sb-*-auth-token-code-verifier | PKCE code verifier for secure auth flow | Session |
| referral_code | Tracks affiliate/referral source at sign-up | 30 days |
Functional cookies
Used to remember your preferences and improve your experience. Disabling these may affect how the interface behaves.
| Cookie | Purpose | Duration |
|---|---|---|
| theme | Stores your theme preference (light/dark) | 1 year |
| sidebar_collapsed | Remembers sidebar open/closed state | Session |
Third-party cookies
Set by external services we use to operate the platform.
| Provider | Cookie / Technology | Purpose |
|---|---|---|
| Cloudflare | cf_turnstile_* | Bot detection / CAPTCHA on sign-up and forms |
| Stripe | __stripe_mid, __stripe_sid | Fraud prevention and payment security |
3. Local and Session Storage
In addition to cookies, we use browser local storage and session storage to hold UI state and preferences (e.g. draft prompts, panel layout). This data is stored only on your device and is not transmitted to our servers. You can clear it at any time by clearing your browser's site data.
4. Managing Cookies
You can control and delete cookies through your browser settings. Note that disabling essential cookies will prevent you from logging in and using the Service.
- Chrome: Settings → Privacy and security → Cookies and other site data
- Firefox: Settings → Privacy & Security → Cookies and Site Data
- Safari: Preferences → Privacy → Manage Website Data
- Edge: Settings → Privacy, search, and services → Cookies
5. Changes to This Policy
We may update this Cookie Policy from time to time. We will update the "last updated" date at the top of this page when we do. We encourage you to review this policy periodically.
