Contact Removed from Group
This is a notification from the API when a contact is removed from a group, in which the Ongair hosted account is a member. In this case the group administrator is not the Ongair account.
Field | Type | Value | Meaning |
---|---|---|---|
notification_type | String | ContactRemovedFromGroup | The type of the notification |
group_id | Integer | 12 | The id of the group |
phone_number | String | (country code)(phone number) e.g. 254722200200 | The phone number of the contact that was removed from the group |
account | String | 254722123456 | Your WhatsApp account number |
The client should respond with a HTTP status code of 200. The response body is ignored.