Skip to main content
wede stores two location reporting intervals per tenant: one for when a device has internet, one for when it does not. Your field apps read them and send member location updates at that pace. wede does not enforce the intervals on incoming updates.

Get location config

Authentication

Session token (Authorization: Bearer <token>) with teams:view. Tenant roles with it: company_admin, company_tech, operational_supervisor, corporate_client.
Response 200
integer
Seconds between location updates while the device has internet.
integer
Seconds between location updates while the device is offline.
A tenant that never set its intervals gets 60 and 300.

Update location config

Authentication

Session token with teams:manage. Tenant roles with it: company_admin, company_tech.

Body

integer
From 10 to 3600.
integer
From 30 to 7200.
The first time your tenant sets its intervals, send both fields. After that you can send one, and the omitted field keeps its current value.
Returns 200 with { online_interval_sec, offline_interval_sec }.
The integration API key (x-wede-api-key) has no teams:* permission. Calls with an API key return 403 forbidden.

Errors