short_link.updated
A short link changed: its destination, schedule, scan cap or campaign. Printed codes follow the new destination at once.
Agoo sends this as a signed POST to every enabled endpoint subscribed to short_link.updated (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
An event about an organisation's Agoo Links short link.
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*string"short_link.created""short_link.updated""short_link.state_changed"data*Any 2xx acknowledges it.
Example Requests
/short_link.updatedshort_link.created Webhook
An Agoo Links short link was made. Agoo sends this as a signed `POST` to every enabled endpoint subscribed to `short_link.created` (or `*`). Verify the signature, return any `2xx` within 15 seconds, and de-duplicate on `webhook-id`.
short_link.state_changed Webhook
A short link was paused, resumed or revoked. Agoo sends this as a signed `POST` to every enabled endpoint subscribed to `short_link.state_changed` (or `*`). Verify the signature, return any `2xx` within 15 seconds, and de-duplicate on `webhook-id`.