Skip to main content
The FunnelFox API provides read access to your funnel data, enabling you to retrieve information about funnels, user profiles, sessions, subscriptions, and products. Use it to build custom dashboards, sync data with external systems, or create detailed reports.
This doc covers the FunnelFox API only. If you’re using the FunnelFox Billing API, go to the Billing API section.

Base URL

All API requests should be made to:

Authentication

Every API request requires authentication using your project’s secret key via the Fox-Secret header.
This is the same secret key used for webhooks. Never expose it in client-side code or public repositories. Keep it secure on your server.

Quick Start

1

Get Your Secret Key

Find your Fox-Secret in Project Settings
2

Make Your First Request

Test the API with a simple funnels list request:
3

Parse the Response

Handle the JSON response with pagination metadata
4

Build Your Integration

Use the data to power your analytics, reporting, or automation

Available Endpoints

The API provides read access to core FunnelFox data, plus an endpoint to anonymize profiles:

Funnels

  • GET /funnels - List all funnels
  • GET /funnels/{id} - Get funnel details
Monitor funnel performance and configuration

Profiles & Sessions

  • GET /profiles/{id} - Get user profile
  • POST /profiles/anonymize - Anonymize profiles (GDPR erasure)
  • GET /sessions/{id} - Get session data
  • GET /sessions/{id}/replies - Get form responses
Track user journeys and collected data

Subscriptions

  • GET /subscriptions - List subscriptions
  • GET /subscriptions/{id} - Get subscription details
Monitor recurring revenue and subscription states

Products

  • GET /products - List all products
  • GET /products/{id} - Get product details
Access your product catalog data

Making Requests

Request Headers

All requests must include:

Example Request

Response Format

All successful responses follow this structure:

Pagination

The API uses cursor-based pagination for list endpoints. The cursor represents the ID of the last item in the current page.
Pagination parameters:
  • limit - Number of items per page (1-100, default: 20)
  • cursor - ID of the last item from previous page

Error Handling

The API returns standard HTTP status codes and JSON error messages:

Error Response Format

Filtering & Querying

Many endpoints support filtering to narrow down results:

Funnel Filters

Subscription Filters

Troubleshooting

  • Verify your Fox-Secret is correct
  • Check you’re using the header name Fox-Secret (case-sensitive)
  • Ensure the secret hasn’t been regenerated in Project Settings
  • Check your filters aren’t too restrictive
  • Verify the resources exist in your project
  • Ensure you’re using the correct IDs
  • Use the exact cursor value from the previous response
  • Don’t modify or decode the cursor
  • Check has_more before requesting next page
  • Verify the endpoint URL is correct
  • Check the resource ID exists
  • Ensure you’re using the v1 API path

What’s Next

  • [API Reference](/api-reference/list-funnels - Detailed endpoint documentation
  • Webhooks - Real-time event notifications
  • Project Settings - Manage your API credentials