Server SDKs

Overview

What the NodeJS SDK does and how it helps

The Audiencelab NodeJS SDK is a lightweight client library for communicating with the Audiencelab API. It simplifies:

Legacy Creative-Token Flow

These pages document the earlier creative-token-present Node SDK integration model. For the current SDK, use the main NodeJS SDK docs.

  • Registering users and fetching creative tokens through the latest S2S envelope
  • Sending webhook events for retention, purchases, ads, custom events, and sessions
  • Managing SDK metadata, device identity fields, whitelisted properties, and per-event blacklisted properties
  • Mirroring purchase and ad cumulative totals locally while the backend remains authoritative

App events include a stable SDK-generated event id, developer dedupe key, timestamp, user id, SDK metadata, durable whitelisted properties, optional per-event blacklisted properties, and optional session context.