REST API Reference
30 endpoints across 8 resources. The SocialHub v2 REST API lets you manage stores, loyalty members, points, coupons, captures, the Ambassador program and tracking. All endpoints require Authorization: Bearer fl_live_… unless noted.
https://flash.socialhub.ai/api/v2This reference mirrors the live API.It's a static snapshot of the endpoint catalog, grouped by resource. For the always-current, machine-readable contract (parameters, request bodies, response schemas), see the OpenAPI JSON →
Authenticate with a Bearer key
Every request authenticates with a SocialHub API key (fl_live_…) sent as a Bearer token. Keys are scoped to your team and per-tool — create and manage them in your SocialHub account.
curl https://flash.socialhub.ai/api/v2/members \
-H "Authorization: Bearer fl_live_your_key_here"Prefer to keep the plaintext key out of your shell history? Export it as FLASH_API_KEY and reference the env var.
Endpoints
30 endpoints across 8 resource groups. Method, path and a one-line summary for each — the full parameter and schema detail lives in the OpenAPI JSON.
Stores
2 endpointsStore management
/api/v2/stores/api/v2/stores/{id}Members
8 endpointsLoyalty member management
/api/v2/members/api/v2/members/{id}/api/v2/members/{id}/points/api/v2/members/{id}/points/api/v2/members/{id}/tier/api/v2/members/{id}/coupons/api/v2/members/{id}/receipts/api/v2/members/{id}/redeem-couponCaptures
1 endpointCapture records
/api/v2/capturesCoupons
4 endpointsCoupon pools, codes, and redemption
/api/v2/coupons/api/v2/coupons/pools/api/v2/coupons/issue/api/v2/coupons/{id}/redeemAmbassador
3 endpointsAmbassador program — candidates, ROI report, and affiliate codes
/api/v2/ambassador/candidates/api/v2/ambassador/metrics/api/v2/ambassador/members/{id}/issue-codeTracking
2 endpointsPage-visit / behavior analytics and event ingestion
/api/v2/tracking/stats/api/v2/tracking/eventsAPI Keys
3 endpointsAPI key management
/api/v2/api-keys/api/v2/api-keys/api/v2/api-keys/{id}Auth
7 endpointsAuthentication and user profile
/api/v2/auth/register/api/v2/auth/login/api/v2/auth/profile/api/v2/auth/profile/api/v2/auth/change-password/api/v2/auth/forgot-password/api/v2/auth/reset-password