Image Received
This is a notification from the API when an image is received at the Ongair hosted account. It takes the form of a HTTP POST to the specified URL with the following parameters:
Field | Type | Value | Meaning |
---|---|---|---|
notification_type | String | ImageReceived | The type of the notification |
phone_number | String | (country code)(phone number) e.g. 254722200200 | Phone number that sent the message |
image | String | http://…/ | The url to the image that was sent. |
account | String | 254722123456 | Your WhatsApp account number |
The client should respond with a HTTP status code of 200. The response body is ignored.