Workspace, app, member
A workspace is your company. It holds your team and your APNs key. An app is one iOS app in one environment: production and staging are two apps. Everything else (events, users, flows, sends) belongs to exactly one app. Members have one of three roles:Events
An event is something a user did in your app, with a name and optional properties:lesson_completed with {"lesson_id": "abc"}. The SDK also
reports some events on its own, all starting with $.
Events are idempotent: each carries an id, and sending the same id twice
counts once. That is what makes the SDK’s retries safe.
Users and devices
The SDK knows a device from the moment it starts. When you callidentify, that device is linked to your user id, and events it sent
before then are attributed to the user too. One user can have many devices.
Flows reason about users. Sends go to their devices.
Flows
A flow is one notification rule: a pattern over a single user’s events, a message, and the limits it respects. Flows areproposed, active, paused or retired. Only active flows send.