A subscriber ID is a unique ID assigned to each user subscribing to push notifications from your website. The subscriber ID is shown by the PushCrew API, which you can map in your own database. The subscriber ID of a user can be found as per the instructions on the API documentation page.

You can also get the subscriber ID of a current user by using the variable pushcrew.subscriberId.

If you want to send a message to a list of subscribers created programmatically (for example, by running an SQL query on your own database), please perform the following actions:

  1. Get your API key. Here's how you can get it.

  2. Access the "pushcrew.subscriberId" variable, as per the API documentation.

  3. Use an AJAX along with the User ID field in your database, to a server you control.