DocsHow Kwik works

Coming soon Kwik's public API and MCP server are coming soon. These docs are an early preview, in the beginning stages: endpoints, fields and examples are samples and will change before launch. Brands on Kwik today can ask their account manager about integrations.

Read every docs page as one Markdown file, ready to paste into ChatGPT, Claude or any AI assistant.

Get started

How Kwik Works.

Kwik helps brands keep customers buying and get them to share. Under the hood, it is a small set of building blocks: brands run campaigns, customers earn rewards, ambassadors share codes, and every sale is credited to the people who drove it.

The building blocks

Brand brandYour business on Kwik. Everything below belongs to one brand.
Campaign cmp_A set of rewards for a group of people, like "VIP referrals" or "Creators". A customer can be in many campaigns; one is active.
Customer cus_A shopper at your brand. Can be created with just an email, even before they make a Kwik account.
Ambassador cus_A customer who can earn when friends buy. Status can be verified, unverified or paid promotion.
Share code codeAn ambassador's personal code and link. Orders that use it are credited to them.
Loyalty program lp_Points customers earn and spend. Each customer has a balance and a history in each program.
Giveaway gw_A prize customers earn entries toward. Runs in weeks, each with its own ways to earn.
Revenue report reportThe sales Kwik drove, split by program: referral, retention or influencer.

How they connect: a brand runs campaigns. Customers join campaigns. Customers who share become ambassadors with a share code. Customers earn in loyalty programs and giveaways. Every order is credited to the right people and shows up in revenue reports.

How an order flows through Kwik

  1. A customer shops. The Kwik Pixel and store widget show what each product and the cart will earn.
  2. They buy. Kwik reads the order and finds who to credit: the share code or link used, and the people before them (waves).
  3. Rewards are earned. Cashback, points and giveaway entries are added right away, as pending.
  4. The return window closes. Pending rewards become available. If the order is refunded, the rewards are taken back.
  5. They spend or share. Customers spend points and credit at checkout, or share their code so friends buy, and the loop starts again.

Waves: when a friend who bought with a share code shares their own code, the first ambassador can earn on those sales too. The brand sets how many waves pay and how much. See Waves.

For the rules behind one order (entries math, cashback holds, who gets which reward), read How the modules work together.

Where Kwik shows up on a store

PlaceWhat the customer sees
Product pagesWhat each product earns: points, cashback or entries.
CartThe total reward for the order, and products that unlock a bonus.
Thank-you pageEverything the order earned, the customer's share link, and a button to claim it.
Order emailsThe share link and reward balance, added to emails you already send.
No-password trackerCustomers check their balance with just their email, before they make an account.
Rewards widgetA branded panel on your store to see rewards, share and redeem.
Branded sign-up pageA page on your site, in your words, where customers join and get a share link.
The Kwik appOne login where shoppers see their rewards from every Kwik brand.

Most of this works without any code from you. The API is for when you want Kwik data in your own app, emails, CRM or support tools.

Integration flow

The usual order for a brand connecting its own systems. Paths are from the sample API.

  1. Get a key. The public API will use a secret key per brand.
  2. Create the customer. POST /customers with their email. Save the customer id.
  3. Find the campaign. GET /campaigns and pick the one they should join.
  4. Add them to it. POST /campaigns/{id}/members.
  5. Show their share code. GET /customers/{id}/share-code.
  6. Show their points. GET their balance and history in your loyalty program.
  7. Show their giveaway entries. GET their entry balance in the current giveaway.
  8. Report results. GET /reports/revenue for sales by program.

Want an AI assistant to do this for you? See the Kwik MCP server, coming soon.