journal.posted
A journal entered the books, from its source document or as a reviewed manual journal.
Agoo sends this as a signed POST to every enabled endpoint subscribed to journal.posted (or *).
Verify the signature, return any 2xx within 15 seconds, and de-duplicate on webhook-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
A journal entered the books. Posting is the books' own; this only tells you it happened.
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.
schema_version?integerThe layout of data.object for this type. It changes only with a new major version; new fields can arrive at any time.
1 <= valueoccurred_at?stringWhen it happened. Usually the same as created_at; earlier for something recorded after the fact.
date-timerecorded_at?stringWhen Agoo recorded it.
date-timeresource_version?integerThe object's version after this event. When events arrive out of order, keep the higher one.
int64legal_entity_id?stringThe legal entity the object belongs to, for the books.
correlation_id?stringThe request that caused it, to match your logs with Agoo support.
type*"journal.posted""journal.posted"data*Any 2xx acknowledges it.
Example Requests
/journal.postedextension.uninstalled Webhook
An extension stopped for good here: removed, or its publisher withdrew the version installed. Its own webhook stops before this is sent, so only your other endpoints hear it. Agoo sends this as a signed `POST` to every enabled endpoint subscribed to `extension.uninstalled` (or `*`). Verify the signature, return any `2xx` within 15 seconds, and de-duplicate on `webhook-id`.
visit.created Webhook
A visit is created: an invitation or pre-registration (from the API, the console or the Workspace app), a walk-in at the kiosk, or a confirmed in-person booking. `data.object.source` tells you which. Agoo sends this as a signed `POST` to every enabled endpoint subscribed to `visit.created` (or `*`). Verify the signature, return any `2xx` within 15 seconds, and de-duplicate on `webhook-id`.