Docs / Get started

Concepts

Apps, devices, users, message types and how usage is counted.

Organizations and apps

An organization holds the team, the plan and billing. Each app (an app or a website) has its own keys, channels, devices and campaigns. Apps in an organization share the same plan.

Devices and users

Each app install or subscribed browser is a device, identified by an installation_id the SDK generates. When the person signs in to your product, call login with their ID in your system (external_user_id): you can then send to the person on all their devices.

Identity verification (optional): turn it on in API keys. Your server computes identity_token = HMAC-SHA256(secret, external_user_id) in hex and the app calls login(id, identityToken). Without a valid token the login is refused (401).

Attributes (up to 30 per device) are for segmentation: plan, city, points. Keys use lowercase letters, digits and _.

Marketing and transactional

TypeForRules
MarketingOffers, news, campaignsRespects marketing opt-out, frequency and the spending limit.
TransactionalOrders, security, account noticesOnly to users listed by ID, up to 1,000 per send. Sent even without marketing consent.

How usage is counted (MAU)

MAU are users who were active or received a notification in the month: each person who used the app or site, or received at least one notification (it counts once Apple, Google or the browser accept it for delivery, even if the person never opens it). Each person counts once a month, however many notifications they get.

  • Signing in after anonymous use counts as one person.
  • Test devices don't count.
  • The organization's first 1,000 MAU are free.
  • With a spending limit set, the bill never goes over it.