Base URL
Authentication
Use an API key withusage.write scope:
Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /sdk/track | Track a single usage event |
Quick Example
What Happens
- Fluxrate looks up the meter by
meter_token - Resolves the customer by
customer_external_id(creates if new) - Stores the usage event in the database
- Returns the created event record
Response
Error Codes
| Status | Meaning |
|---|---|
201 | Event tracked successfully |
400 | Bad request — check your payload |
401 | Invalid or missing API key |
403 | API key missing usage.write scope |
404 | Meter or customer not found |
Integration Patterns
Tracking Usage
Detailed guide with code examples in Python, Node.js, and Go.
Aggregation Types
Choose the right aggregation for your meter type.