ResellPortal / Guides
What is a Reseller API?
A reseller API is a programmatic interface that lets a reseller business automate operations on a white-label platform — including customer account creation, product provisioning, billing events, and account suspension. APIs replace manual dashboard operations with code, enabling scale beyond what a single human can manage.
What a Reseller API Does
A reseller API exposes the same operations available in the platform's admin dashboard, but as HTTP endpoints. Instead of clicking "Create Customer" in a UI, your code makes a POST request to /customers and the platform returns the new customer's ID. This lets you automate signup flows, billing, and provisioning.
Common Reseller API Operations
- Create customer accounts — POST /customers with email, name, plan
- Activate products — POST /products to enable a product for a customer
- Update billing — PATCH /customers/{id}/billing to update payment method
- Suspend accounts — POST /customers/{id}/suspend for non-payment
- Fetch usage — GET /customers/{id}/usage for billing-relevant metrics
- Webhook subscriptions — Subscribe to events like new signups, churns, payment failures
Why Resellers Need an API
- Custom signup flows — Build your own signup UI that creates customers via API
- Billing integration — Connect Stripe, WHMCS, or other billing platforms
- Automation — Provision customers automatically after payment
- Scale — Handle thousands of customers without manual dashboard operations
- Custom dashboards — Build your own admin tools on top of the platform
API Authentication
Most reseller APIs use API key authentication: the reseller generates a secret API key in their admin dashboard and includes it in the Authorization header of every API request. Keys should be kept secret and rotated periodically.
How to Access ResellPortal API
ResellPortal offers a full REST API for resellers. Documentation is available at resellportal.com/api with endpoints for customer management, product provisioning, billing, and webhooks.