FAQ - Webhooks and Push Notifications

Estimated reading time: 2 minutes

Webhooks and push notifications

What is webhook?

A WebHook is an HTTP(S) URL which will be invoked with POST data in real-time by Mesibo when something happens; for example, an offline message, a user comes online or goes offline etc.

How do I set up webhook URL for an App?

You can set webhook url for an App using server side API or from mesibo console.

Can I select events for which I want to receive webhooks?

Yes, you can select for which events webhook should be invoked. For example, an offline message, a user comes online or goes offline etc.

Is there any limit on the number of times a webhook is invoked?

There is no hard limit; however, Mesibo automatically optimizes and decides based on your webhook usage if the next webhook call is necessary. For example, an offline message indication for a user may not be invoked again till that user comes online or for a certain duration.

How do I send a push notification to users?

You can send the push notification to users on receiving webhook calls. For example, if a user is offline and a message is received for that user, Mesibo will invoke your webhook, and in turn, you can invoke appropriate push notification to a user depending on which device user is on.

Can you send push notifications to my users directly?

Technically yes, we can. In fact, some API providers do that. Is it recommended?

No. The reason is that you need to provide us with sensitive information from your Google or Apple account in order for us to send push notifications to your users. You should not share those details with any providers. However, if you still want us to do it, we can do it for you as a custom requirement.

get started, setup, orientation, mesibo, chat, GDPR