REST API Reference
48 endpoints across 11 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
48 endpoints across 11 resource groups. Method, path and a one-line summary for each — the full parameter and schema detail lives in the OpenAPI JSON.
Stores
4 endpointsStore management
/api/v2/stores/api/v2/stores/{id}/api/v2/stores/api/v2/stores/{id}Members
11 endpointsLoyalty member management
/api/v2/members/api/v2/members/api/v2/members/batch/api/v2/members/{id}/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-couponOrders
4 endpointsOrder ingestion → auto-award points, refunds, and reconciliation
/api/v2/orders/api/v2/orders/api/v2/orders/batch/api/v2/orders/{externalOrderId}/refundCatalog
5 endpointsProduct catalog (PIM) — products, variants, categories, brands; generic ERP/Shopify import
/api/v2/products/api/v2/products/{id}/api/v2/categories/api/v2/brands/api/v2/catalog/importMember Tags
4 endpointsRead and manually manage a member's tags
/api/v2/tags/api/v2/members/{id}/tags/api/v2/members/{id}/tags/api/v2/members/{id}/tags/{tagKey}Captures
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