asset.assigned
An asset was issued to a person, a site, a team or a pool. Never a value.
Agoo sends this as a signed POST to every enabled endpoint subscribed to asset.assigned (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 asset. It carries its id, tag and status, and who holds it: never a value.
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"asset.assigned""asset.returned""asset.lost"data*Any 2xx acknowledges it.
Example Requests
/asset.assignedperson.job_changed Webhook
A change to a person's job takes effect: their job title, grade, department, position, line manager, sites, employment type, contract or contracted hours. It fires when the change is applied: at once when it's for today or earlier, otherwise on its date, whether HR or your system made it or an approver approved a line manager's proposal. `fields` names what changed; the rest is their job as it now stands. Agoo sends this as a signed `POST` to every enabled endpoint subscribed to `person.job_changed` (or `*`). Verify the signature, return any `2xx` within 15 seconds, and de-duplicate on `webhook-id`.
asset.returned Webhook
An asset came back. Never a value. Agoo sends this as a signed `POST` to every enabled endpoint subscribed to `asset.returned` (or `*`). Verify the signature, return any `2xx` within 15 seconds, and de-duplicate on `webhook-id`.