Open the interactive API reference
Browse every endpoint, see request/response schemas, and try calls live at
api.pocketsflow.com/docs.
https://api.pocketsflow.com/docs.json —
use it to generate clients or import the API into Postman/Insomnia.
Base URL
All API requests are made to:Authentication
The API uses API keys. Create one in the dashboard under Developers → API keys, then send it as a Bearer token on every request:| Prefix | Use |
|---|---|
pk_live_… | Live mode — real products, customers, and payments. |
pk_test_… | Test mode — sandbox data for development. |
What you can do
Products
Create, list, update, and delete products and variants.
Checkout
Create hosted checkout sessions and redirect buyers to pay.
Orders & customers
Read orders, customers, and subscriptions; issue refunds.
Affiliates
Manage affiliates and read referral stats, earnings history, and payouts.
Webhooks
Register endpoints and react to events in real time.