Headless API
API references

API references

All endpoints

Base URL: https://api.joy.so/app/api/v1/headless

Auth

Public

Customer

MethodPathSummary
GET/customerCurrent customer — points, tier, tier progress
GET/customer/programsPrograms with earn text rendered for THIS customer
GET/customer/activitiesPoints transaction history (paginated)
GET/customer/rewardsCustomer's rewards (redeemable + already redeemed)
GET/customer/received-rewardsGifts friends sent this customer ("From friends")
POST/customer/redeemRedeem points for a reward
POST/customer/free-gift-stockLive stock for a free-gift reward's products
POST/customer/earnClaim an earning program
POST/customer/earn/uploadStore images for an earning claim
POST/customer/earn/socialEarn points for a social action (follow, share, join)
GET/customer/milestones/{programId}One milestone program's ladder, rendered for THIS customer
POST/customer/milestones/{programId}/claimClaim the rewards of one achieved milestone step
GET/customer/milestoneThis customer's milestone progress (flat counters map)
POST/customer/milestone/claimClaim a reached milestone step
GET/customer/impact-historyThis customer's environmental-impact redemption history + totals
POST/customer/perk/save-variant-selectionSave a tier-privilege perk's variant selection
GET/customer/tier-rewardsThis customer's VIP tiers with their assigned rewards (perks)
GET/customer/pending-rewardsThis customer's own unclaimed tier-up rewards
POST/customer/pending-rewards/{id}/claimClaim an entry-reward pending doc
GET/customer/loyalty-page/homeLoyalty Page V2 — the shopper-specific half of the page
GET/customer/loyalty-page/wallet-stateLoyalty Page V2 — Apple/Google wallet pass config
GET/customer/programs/custom-earn-statusPer-program canEarn for custom-event earning programs
POST/customer/rewards/{rewardId}/revokeRevoke (self-refund) an issued coupon
POST/customer/rewards/{rewardId}/cancelCancel a cart redemption (refund its points)
POST/customer/auth/logoutLog out this device (revoke the calling token)
GET/customer/referralCustomer referral link + stats
GET/customer/referral-historyThis customer's OWN referred-friend history (paginated)
POST/customer/referral/send-emailSend this customer's referral invite to a friend by email
POST/customer/send-reward-to-friendGift a coupon this customer redeemed to a friend
POST/customer/segment-programShopify-segment eligibility for segment-gated spending programs
POST/customer/join-programSelf-enrol an opt-in guest into the loyalty program
GET/customer/loyalty-page/rewards/customer/loyalty-page/rewards
GET/customer/loyalty-page/activities/customer/loyalty-page/activities
GET/customer/loyalty-page/referral-history/customer/loyalty-page/referral-history
POST/customer/social/instagram/linkLink (or unlink) an Instagram username
POST/customer/social/facebook/disconnectDisconnect Facebook
POST/customer/social/line/auth-urlStart LINE Login for the current customer
POST/customer/wallet-pass/appleCreate (or regenerate) this customer's Apple Wallet pass
GET/customer/wallet-pass/apple/verifyVerify this customer's Apple Wallet pass still exists
GET/customer/wallet-pass/googleBuild this customer's "Add to Google Wallet" link
GET/customer/ordersThis customer's Shopify orders
GET/customer/activities-by-orderJoy point activities tied to one order
GET/customer/store-credit/transactionsThis customer's own Shopify store-credit transaction history
GET/customer/addressesThis customer's saved Shopify addresses
POST/customer/addressesCreate or update one of this customer's addresses
POST/customer/addresses/deleteDelete one of this customer's addresses
POST/customer/profileUpdate this customer's name, avatar, phone and/or marketing consent
POST/customer/birthdaySet this customer's birthday (once)
POST/customer/birthday-rewardsSave which birthday reward(s) this customer picked
POST/customer/birthday/claimClaim this customer's annual birthday reward
POST/customer/qrcodeRender this customer's in-store scan code