Receive an incoming message and reply

Receive and reply with text/media on WhatsApp

To receive incoming WhatsApp messages and reply using text or media, you have to provide Kaleyra with a webhook URL which points to a server where files are saved.

If the WhatsApp session with a user expires, you must wait for an incoming message so that a new session is created before a media message is sent to them.

What is a webhook?

A webhook is user-defined HTTP callbacks. These are triggered usually on the occurrence of events
such as receiving an SMS message or an incoming call.
Kaleyra makes an HTTP request (POST/GET) to the URL which is configured for the webhook.


Did this page help you?