Node server SDK

The server SDK wraps the Management API. It uses the secret key, so it belongs on your server and never in a client bundle.

How it works

  1. 01

    Install the Node package on your server.

  2. 02

    Create a client with your secret key from the environment.

  3. 03

    Upsert campaigns, build segments, or trigger a send now.

Read the docs

Questions

What is the difference between the public and secret key?

The public key is write-only and safe in an app: it can identify users and record events. The secret key unlocks the Management API — campaigns, segments, audience counts and send-now — and must stay server-side.

Own your engagement stack today

Start free on the hosted dashboard. Your data, your credentials, your rules.