Webhooks

Using webhooks you can easily send push notifications to your users using only a minimum of development effort.

Introduction

By using webhooks you get an easy way of sending push notifications to the users of the app.

Note: The webhooks functionality isn’t free and you will be charged for using the service.

Integration name: startiapp.User

Methods

registerId

registerId(clientUserId: string): void

Call the method after a successful login to register the user ID in the webhook service. The given clientUserId should match the ID sent to the webhook URL found in the Manager system. If the device has already been registered with another user ID, the old user ID will be overwritten.

unregisterId

unregisterId(): void

Call the method to unregister the user ID of the current device in the webhook service. This should be done when the user logs out of the app.