Authenticate with the Storefront API using a Bearer access token. See Integrate with Masivo.
These endpoints work with CLIENT and SERVER API keys. Use a SERVER
key when fetching the feed from your backend; CLIENT keys are suitable for
embedded apps that call Masivo directly.
A customer registered with the same id your app sends to Masivo
A native or web feed surface that can render the returned card content
For journey publication, an active journey with a News Feed action
Valid actions are shown, clicked, and dismissed. A dismissal removes the card from subsequent responses unless the same template receives a newer assignment.
Assignments reference the template, not a content copy. Editing an active
template updates what every assigned customer sees immediately, with no
republish step — the next fetch returns the new content. Refetch the feed
whenever the customer is likely to see stale data instead of relying on a
single fetch per session.
Refetch when the app opens or returns to the foreground
Since card content is resolved live, fetch on launch and again whenever the app resumes from the background so customers always see the latest template content:
Yes. Assignments reference the template, and the Storefront endpoint resolves active template content on every request.
What happens when a customer leaves an audience?
Audience membership is checked during feed resolution. The audience assignment stops making the card eligible immediately, unless another direct or global assignment still covers it.
Can the same template be assigned more than once?
Yes. Feed resolution collapses active assignments to one card per template. The latest assignment controls when a previously dismissed card can reappear, while any non-expiring assignment keeps it non-expiring.
When are expired cards deleted?
Expired assignments are excluded immediately. The News Feed cleanup cron later deletes them in batches and removes orphaned interaction state after a seven-day grace period.
Does clicking remove a card?
No. shown and clicked only update interaction timestamps. Only dismissed hides the card.
How are cards ordered?
Pinned cards come first, followed by higher priority and then newer assignment time. The React Native SDK preserves this order while grouping pinned cards first.