Confirm account state
Make registration, pending approval, activation, and suspension states explicit before building any protected flow.
This docs layer now gives your team a proper navigation system, grouped endpoint flows, and implementation snippets for auth, billing, analytics, and admin operations.
Use this order when wiring a new product, module, or commercial workflow into Klckstart.
Make registration, pending approval, activation, and suspension states explicit before building any protected flow.
Map whether your integration needs KlckPay, KlckShield, KlckAnalytics, or a combined dashboard experience.
Track onboarding, pricing actions, billing intent, and operational events early so support and growth have visibility.
Keep launch control, admin notifications, and approval workflows visible before you widen public access.
This mirrors the actual product story already presented across Klckstart.
Registration exists, but product access only starts when admin approval marks the account active.
POST /api/register.phpPOST /api/login.phpPOST /api/logout.phpGET /api/auth/sessions.phpcurl -X POST https://your-domain.com/api/login.php \
-H "Content-Type: application/json" \
-d '{
"email": "team@example.com",
"password": "your-password"
}'const response = await fetch('/api/login.php', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
credentials: 'same-origin',
body: JSON.stringify({ email, password })
});
const payload = await response.json();$payload = [
'email' => $email,
'password' => $password,
];
// submit JSON payload to /api/login.phpKeep plan discovery, payment setup, subscription creation, and recovery visible as one commercial flow.
Load visible plans and module combinations before checkout begins.
GET /api/billing/plan_catalog.php
Create a new subscription after payment setup and module selection.
POST /api/billing/subscription_create.php
Handle upgrades, downgrades, and next-cycle changes without breaking continuity.
POST /api/billing/subscription_change_request.php
curl -X POST https://your-domain.com/api/billing/subscription_create.php \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"plan_id": 3,
"payment_method_id": 18,
"modules": ["klckpay", "klckanalytics"],
"billing_cycle": "monthly"
}'await fetch('/api/billing/subscription_create.php', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
credentials: 'same-origin',
body: JSON.stringify({
plan_id: 3,
payment_method_id: 18,
modules: ['klckpay', 'klckanalytics'],
billing_cycle: 'monthly'
})
});$payload = [
'plan_id' => 3,
'payment_method_id' => 18,
'modules' => ['klckpay', 'klckanalytics'],
'billing_cycle' => 'monthly',
];
// send JSON to /api/billing/subscription_create.phpTrack meaningful actions, then route suspicious or high-risk patterns into review surfaces instead of burying them in logs.
Use dashboard summary surfaces to keep product, growth, and ops aligned.
GET /api/analytics/summary.php
Emit real product events from pricing, billing, and operational entry points.
POST /api/track_event.php
Review shield signals through a dedicated surface, not ad hoc logs.
GET /api/shield/alerts.php
curl -X POST https://your-domain.com/api/track_event.php \
-H "Content-Type: application/json" \
-b cookies.txt \
-d '{
"event_name": "pricing_cta_clicked",
"product": "klckpay",
"page": "pricing"
}'await fetch('/api/track_event.php', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
credentials: 'same-origin',
body: JSON.stringify({
event_name: 'pricing_cta_clicked',
product: 'klckpay',
page: 'pricing'
})
});$payload = [
'event_name' => 'pricing_cta_clicked',
'product' => 'klckpay',
'page' => 'pricing',
];
// send JSON to /api/track_event.phpAdmins manage approvals, lead workflows, notifications, and platform readiness before the public rollout expands.
Approve or block new registrations before they can log in.
POST /api/admin/update_user_status.php
Surface new pending accounts and operational events for the admin team.
GET /api/admin/notifications.php
Keep launch control, lead flow, and operational health in one view.
GET /api/admin/ops_overview.php
Move into the API Reference for endpoint-by-endpoint request and response examples.