Authentication
Every request requires your API key in theAuthorization header:
What’s Available
Data Endpoints (All Plans)
Core data — your conversations, users, organizations, and configuration. Available on every plan, including Free.Messages & Interactions
Messages & Interactions
Users
Users
Organizations
Organizations
Products
Products
Prompts
Prompts
Models, Segments & More
Models, Segments & More
Analytics Endpoints (Growth+)
Computed insights, AI-generated summaries, and aggregated metrics. These require a Growth or Enterprise plan.Chat Endpoint (Growth+)
Analysis Modes
Analytics endpoints support two modes. Pick the one that matches your use case.Simple Mode
Fast. No rate limits. Returns numeric aggregates only — averages, counts, distributions. Ideal for dashboards, polling, and high-frequency requests.
Insights Mode
Deep. Rate limited. Full AI analysis including topic extraction, keyword analysis, and generated summaries. Default when no mode is specified.
Chat Endpoint
The chat endpoint is the same Greenflash AI assistant available in-app and via Slack — now accessible through the API. It streams responses using Server-Sent Events (SSE).
Multi-turn conversations: Capture the
conversationId from the done event and pass it back in subsequent requests along with a messages array to maintain context.
Example: End-to-End Setup
Here’s the full loop — create a user, log a conversation, then retrieve analytics.1. Identify a user
2. Log a conversation
3. Retrieve analytics
4. Ask the AI agent
Pagination
All list endpoints use Link header pagination (RFC 8288).- Response body: a flat JSON array of items
- Pagination info: returned in the
LinkHTTP header - No
rel="next"link means you’re on the last page
Rate Limits
Insights mode analytics are rate limited on a rolling hourly window:
Simple mode analytics are not rate limited.
Caching: Repeated requests with the same parameters return cached results without consuming your rate limit. Use consistent query parameters to maximize cache hits.
White Labeling
Embed Greenflash analytics directly in your product under your own brand. Deliver user- or organization-specific insights powered by Greenflash, with full control over branding and domain.- Brand control — Remove all Greenflash branding for a fully native experience
- Tenant isolation — Per-customer domains and isolated analytics environments
- Dual modes — Use
simplefor real-time dashboards,insightsfor deep analysis
Error Handling
Next Steps
API Reference
Full endpoint documentation with request/response schemas.
SDK Quickstart
Get your first insight in under 5 minutes.
Claude Code Skill
Use Greenflash directly from your coding agent.
Business Events
Link conversations to real business outcomes.

