Authentication
Session token (Authorization: Bearer <token>) with the zones:manage permission: company_admin, company_tech or country_admin. The integration API key and other roles receive 403 forbidden.
Shared zones
A zone can be linked to more than one tenant. Its common data (name, region, lat_center, lng_center and boundary) is then shared, and a tenant cannot change it: the request returns 403 shared_zone. On a shared zone you can still change your own connectivity_state and verticals_active. A zone linked only to your tenant accepts every field.
Path parameters
string
required
Code of a zone linked to your tenant.
Body
All fields are optional. Send only what you want to change.string
Display name.
string
Region or district.
number
Latitude of the zone centre.
number
Longitude of the zone centre.
object[]
Zone outline as a list of
{ "lat": number, "lng": number } points. Send [] to clear it.string[]
Verticals your tenant runs in this zone. Replaces the current list. Each must be a vertical registered in wede.
string
online, degraded, sms_only, voice_only or offline.Connectivity webhooks
Whenconnectivity_state changes, wede notifies your tenant:
Changes between two non-online states (for example
degraded to offline) send no webhook. The webhook data is { zone_id, previous_state, state, detected_at }, where zone_id is the zone code.
