question.published
A customer's question on your page on Agoo Reviews appeared, after the same checks as reviews. Answer it on agoo.reviews: answers are attributed and checked too.
Agoo sends this as a signed POST to every enabled endpoint subscribed to question.published (or *). Verify
the signature, return any 2xx within 15 seconds, and de-duplicate on webhook-id. A business on Agoo Reviews on
its own gets business_id in place of organisation_id.
webhook-id*stringThe event's ID. It is the same on every attempt and redelivery, so use it to de-duplicate.
^evt_[0-7][0-9a-hjkmnp-tv-z]{25}$"evt_01m4ww0ezgf2bryg9gxb2gbewx"webhook-timestamp*stringWhen this attempt was signed, in Unix seconds. Reject the request if it is more than 5 minutes from your clock.
^[0-9]+$webhook-signature*stringOne or more space-separated signatures, each v1,<base64>: the base64 HMAC-SHA256 of
{webhook-id}.{webhook-timestamp}.{raw body}, keyed with the base64-decoded part of your whsec_ secret.
During a secret rotation there are two. Accept the request if any one matches.
application/json- body
An event about a question on your page on Agoo Reviews.
id*EventIdThe event's ID. Webhook deliveries send it as webhook-id.
^evt_[0-7][0-9a-hjkmnp-tv-z]{25}$"evt_01m4ww0ezgf2bryg9gxb2gbewx"created_at*stringWhen the event happened.
date-timeorganisation_id*OrganisationIdAn organisation ID (TypeID with the org prefix).
^org_[0-7][0-9a-hjkmnp-tv-z]{25}$"org_01kjpsrza0etzb0a4vf72x8ang"livemode*booleanfalse for events in test mode.
type*string"question.published""question.answered"data*Return any 2xx status within 15 seconds to acknowledge the event. Agoo ignores the response body, so
acknowledge first and do slow work afterwards.
Example Requests
/question.publishedreview.replied Webhook
Your organisation's reply to a review appeared, or a changed reply did. Only for your organisation's own page on Agoo Reviews. Agoo sends this as a signed `POST` to every enabled endpoint subscribed to `review.replied` (or `*`). Verify the signature, return any `2xx` within 15 seconds, and de-duplicate on `webhook-id`.
question.answered Webhook
An answer to a question on your page appeared (yours or a reader's), or a changed one did. `data.object` is the question with its published answers. Agoo sends this as a signed `POST` to every enabled endpoint subscribed to `question.answered` (or `*`). Verify the signature, return any `2xx` within 15 seconds, and de-duplicate on `webhook-id`.