# General Information

The FunnelFlux self-hosted API is available inside each FunnelFlux installation. It covers asset management, stats reporting, and system helpers.

Base URL:

```text
https://YOUR_FUNNELFLUX_DOMAIN/admin/api/v2
```

If you find an error in these docs or while using the API, contact FunnelFlux support with the endpoint, request payload, response, and approximate request time.

## API Sections

- [Data API](/api/data): create, update, retrieve, and delete FunnelFlux assets such as traffic sources, offer sources, pages, funnels, conditions, visitor tags, and categories.
- [Stats API](/api/stats): run drilldown reports, export reports, update conversion or cost data, and reset scoped stats data.
- [System API](/api/system): retrieve version information, generate tracking links and pixels, decode tracking parameters, and manage domains.

## Authentication

Most endpoints use an API key passed as the `apiKey` query parameter. Read [Authentication](/authentication) before making requests.

## Important Limitations

- Use HTTPS for production installations.
- Keep API keys server-side and rotate them if compromised.
- Some endpoints reflect legacy internal naming. The documentation uses user-facing section names where possible, while preserving the real endpoint paths.
- FunnelFlux self-hosted installations may need local operational controls for unsafe automation, including excessive asset generation or reporting workloads that degrade server performance.
