All changes
NewAPI

Create, read and erase subscribers by your own user id

Your server can now create, read and erase subscribers and remove devices by your own user id, and tag subscribers by a tag key instead of a PushFire id.

You no longer need to store PushFire ids to manage a subscriber. Use the user id from your own system (the externalId) and the tag's key.

New endpoints (Secret key only):

  • create-subscriber creates a subscriber for an externalId. It answers 201 for a new subscriber. A repeat call answers 200 with the same subscriber and changes only the fields you send.
  • get-subscriber returns a subscriber with its devices and tags. Look it up by externalId or subscriberId.
  • delete-subscriber erases a subscriber and its data: tags, segment memberships, message history, queued messages and workflow runs. Use it when a user deletes their account or asks you to erase their data. The app's devices keep working as anonymous devices.
  • delete-device removes one device by its id or its push token.

Tags by key. Each tag now has a key, made from its name. For example, a tag named "Paid plan" gets the key paid_plan. The add, update and remove tag endpoints and logout-subscriber accept an externalId and a tagKey in place of the PushFire ids:

Your keys. Your existing Secret keys got the new scopes (subscribers:read, subscribers:erase and devices:delete), so they work with the new endpoints now. Public keys and legacy keys cannot call create-subscriber, get-subscriber, delete-subscriber or delete-device.

An erase cannot be undone, and a message that already left PushFire cannot be recalled. See the API Reference.

Subscriber lifecycle API: create, read, erase | PushFire