API Reference
Full API reference for integrating Faurya server-side.
API Reference
Use the Faurya public API to read analytics data, inspect visitors, and send server-side conversion or revenue events.
Quick start
- Generate your Faurya API key from your dashboard.
- Send requests to
https://api.faurya.com. - Include
Authorization: Bearer YOUR_FAURYA_API_KEYin request headers. - Send JSON payloads with
Content-Type: application/json. - Include
faurya_visitor_idwhenever available for stronger attribution.
If you are using Stripe, LemonSqueezy, or Polar with a direct integration, payment events are tracked automatically. Use the payments API when you want to send payment data manually from your own backend or webhook flow.
Sending single payments is the payments API. If you need subscriptions, invoices, refunds, MRR or churn, use the billing API instead.
Endpoints
API Introduction
Authentication, headers, response behavior, and integration best practices.
Visitor
Retrieve identity and activity data for a known visitor.
Goals
Create or delete custom goal events for visitors.
Payments
Create or delete revenue events from custom payment flows.
Billing
Send customers, plans, invoices, transactions and subscription events for full MRR and churn reporting.
Analytics
Read overview, realtime, and dimension analytics for your site.