Area updated
Area changed. The body carries its full current state; treat it as an upsert (a reactivated entity arrives as updated).
Headers
X-Crehana-Event-Id
Event id. The same event keeps it on every attempt: deduplicate by it.
X-Crehana-Delivery-Attempt
Attempt number, starting at 1.
X-Crehana-Timestamp
Unix time (seconds) used in the signature.
X-Crehana-Signature
t=<timestamp>,v1=<hex HMAC-SHA256 of "<t>.<raw body>">. During a secret rotation it carries one v1 per active secret.
Payload
The payload of this webhook request is an object.
area_id
Area id (same as level_N_id in user events)
area_level_id
Id of the area level
centralized_organization_id
Organization id in Crehana.
event
Event type.
event_id
Stable event id, also sent in X-Crehana-Event-Id.
is_active
False once the area was removed
level_sequence
Level number of the area, 1 is the top
name
Area name
occurred_at
When it happened (UTC).
organization_slug
Current organization slug (informative).
parent_id
Parent area id; null at the top level
Response
200
200 confirms the delivery. Answer within 10 seconds.
201
201 confirms the delivery. Answer within 10 seconds.
202
202 confirms the delivery. Answer within 10 seconds.
204
204 confirms the delivery. Answer within 10 seconds.
