Skip to content
Favorade
Favorade sandbox integration - TODOs & build prompt

Developer-first growth surface

Build your first engagement loop in 15 minutes.

A safe sandbox for developers who want to understand Favorade the Contentful way: copy the embed, route an event, inspect demo data, and show the customer-facing result without waiting for sales or touching production customers.

sandbox.run
no real sends

widget.loaded

Fitness hub route resolved

ok

profile.matched

mila.runner@example.test

ok

event.accepted

movement_mission_completed +40 pts

ok

reward.unlocked

Recovery Smoothie is now eligible

ok
A

Embed & routing

Mount a public Favorade experience without touching real customer data.

B

Demo data

Use a healthy-living demo profile with points, rewards, and engagement events.

C

Guided build

Follow a concrete recipe from customer action to event to reward unlock.

D

Experience output

Show the commercial result: playable action, customer signal, reward ladder.

Demo data

Healthy Living profile, already wired for the loop.

idsandbox_profile_healthy_living
emailmila.runner@example.test
points180
segmentHealthy Living / Streak Builder
nextRewardRecovery Smoothie - 220 pts

Why this matters

Developers see a complete loyalty object before they connect a real shop, CRM, CMS, or app. That shortens the "what does Favorade need from us?" conversation.

Mission A

Embed & routing

The page renders a branded action surface and keeps all writes in demo scope.

  • Pick a sandbox tenant
  • Copy the widget script
  • Open the public hub route

Mission B

Demo data

Developers understand the data model before asking for production credentials.

  • Inspect profile state
  • Track a safe activity event
  • See reward eligibility change

Mission C

Guided build

The first useful integration can be explained in one short technical walkthrough.

  • Choose a module
  • Send an event
  • Verify webhook-style output

Mission D

Experience output

The sandbox creates a small wow moment, not just a successful API response.

  • Open hub result
  • Read debug timeline
  • Share the outcome with PM or client

Copy-paste recipes

Less documentation. More first success.

Open live demo hub

Plain HTML embed

frontend
<div id="favorade-widget"></div>
<script
  src="https://app.favorade.com/api/widget/sdk.js?key=fav_sandbox_healthy_living"
  data-route="/hub/synth-hub-case-fitness-360"
  async
></script>

Track a safe event

backend
await fetch('https://app.favorade.com/api/v1/events', {
  method: 'POST',
  headers: {
    'X-API-Key': 'fav_sandbox_healthy_living',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    profileId: 'sandbox_profile_healthy_living',
    event: 'movement_mission_completed',
    properties: { source: 'developer-sandbox', points: 40 },
  }),
});

Webhook receiver shape

ops
{
  "type": "reward.unlocked",
  "sandbox": true,
  "profileId": "sandbox_profile_healthy_living",
  "reward": "Recovery Smoothie",
  "pointsBalance": 220,
  "occurredAt": "2026-06-03T12:00:00.000Z"
}

Experience output

The goal is not "API call returned 200". The goal is a visible customer journey: a member completes a mission, earns points, unlocks a reward, and the brand gets a clean signal it can use for the next campaign.

Playable hub

Debug timeline

Reward unlock

Sandbox guardrails

  • Sandbox keys never send real campaigns, WhatsApp, push, SMS, or email.
  • All demo profiles use example.test addresses and synthetic IDs.
  • Stripe, live integrations, and real customer tenants stay out of scope.
  • Every recipe can be reset or replayed without polluting a customer workspace.
Future module track

Playable campaigns, skinned per brand.

The same sandbox model can evolve into premium casual game templates: one reusable game core, Phaser canvas stages, brand-specific skins, motion feedback, bounded scoring, reward thresholds, and analytics events. The point is not to copy famous games; it is to make short branded engagement loops that feel custom without custom engineering every time.

Penalty Shootout

Aim, power, three attempts, and a reward threshold. Great for sports, events, and fan campaigns.

Reaction Racing

Start lights, reaction time, short course, boost moment. Great for mobility, energy, and launch drops.

Swipe Collector

Swipe the right products or benefits into the basket. Great for retail, beauty, and healthy living.

Build prompt

Next iteration: make this page executable.

This MVP explains the sandbox and gives developers the first integration path. The next step is a real sandbox session service with temporary keys, resettable data, event logs, and webhook replay.

Read API docs