ZEO API Documentation
Secure Tunneling — API Reference
Complete reference for the ZEO platform REST API. Authenticate, manage tunnels, handle payments, administer users, and inspect traffic — all through a consistent JSON API.
Try it with cURL
All API endpoints accept and return JSON. Start by registering a user, then use the returned JWT token in the Authorization header for subsequent requests.
Authentication
Authenticate an existing user and receive a JWT token.
Create a new user account.
User Dashboard
Retrieve the authenticated user's tunnel statistics.
Report bandwidth and connection usage for the authenticated user.
Packages
List all available subscription packages.
Create a new subscription package (admin only).
Payments
Initiate a Stripe Checkout session for a subscription package.
Webhook endpoint for Stripe events. Called automatically by Stripe when payment events occur (checkout.session.completed, customer.subscription.deleted, etc.).
Admin
Authenticate as an administrator.
Retrieve global platform statistics.
List all registered users.
Update a user's plan, port limit, or subdomain.
Delete a user account by ID.
Retrieve the configurable landing-page content (hero, features, plans).
Update landing-page content sections.
List all downloadable client releases.
Upload a new client release for download.
Remove a download release by ID.
Retrieve platform configuration settings.
Update platform configuration settings.
Traffic Inspector
List traffic log entries with optional filtering and pagination.
Retrieve aggregate traffic statistics.
Export traffic logs as a downloadable CSV file with optional filters.
Log a single traffic entry (called by the tunnel relay).
Seed
Seed the database with default subscription packages. Useful for initial setup or resetting package data.