Webhooks Events
Review Created
This event is triggered when a business receives a new review.
The event payload contains the event type and the review contents.
postWebhookreviewCreated
Payload
Example payload
{
"payload": {
"review": {
"org_id": 42,
"id": 34,
"business_id": "5409c35a97bbc544d8e26737",
"partner": "google_my_business",
"partner_id": "accounts/114063712393225091258/locations/74805271119400652054",
"author_name": "Castorche",
"date": "2017-07-01T16:10:23.156000+02:00",
"update_date": "2017-08-01T19:15:54.256000+02:00",
"rating": 3,
"content": "Magasin un peu vieillot , mais personnel très sympathique, nombreuses références en rayons , un très bon choix côté vin...",
"comments": [
{
"id": 82938,
"partner_id": "accounts/114063712393225091258/locations/74805271119400652054",
"created": "2019-08-01T19:15:54.256000+02:00",
"author_name": "Castorche",
"content": "Merci ❤️",
"date": "2017-08-01T19:15:54.256000+02:00",
"update_date": "2017-08-01T19:15:54.256000+02:00",
"can_edit": true,
"review_id": 34,
"user_id": "123456789abcdef2f60c42ff"
}
],
"tags": [
{
"id": 25,
"label": "food",
"color": "#808080"
}
],
"media_links": [
"https://lh3.googleusercontent.com/gpms...",
"https://lh3.googleusercontent.com/gpms-cs-s/AB8u6HYwO..."
]
}
}
}Response
Return a 200 status to indicate that the event was properly received
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.