API Reference

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

  1. Generate your Faurya API key from your dashboard.
  2. Send requests to https://api.faurya.com.
  3. Include Authorization: Bearer YOUR_FAURYA_API_KEY in request headers.
  4. Send JSON payloads with Content-Type: application/json.
  5. Include faurya_visitor_id whenever 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