Skip to main content
Members are the people of a team. Their status and reported location feed the dispatch score.

Authentication

All member endpoints need a session token (Authorization: Bearer <token>).
The integration API key (x-wede-api-key) has no teams:* permission. Calls with an API key return 403 forbidden.

Add a member

string
required
Team UUID.
string
required
2 to 100 characters.
string
required
Your own role label, 2 to 50 characters, for example PARAMEDIC.
string
default:"available"
available, on_mission or offline.
number
Initial latitude.
number
Initial longitude.
string
UUID of a wede user of your tenant to link to this member.
If you send no coordinates and the team has a home zone, the member starts at the centre of that zone.
Response 201

Remove a member

Returns 204 with no body.

Change member status

string
required
available, on_mission or offline.
Also sets the member’s last_seen to now.
Response 200

Links a wede user account of your tenant to the member. Sending a new user_id replaces the previous link.
string
required
UUID of the user.
Response 200

Update member location

Reports the current position of a member. Sets lat, lng and last_seen. A field_operator (no teams:view) can update only the member linked to their own user account; any other member returns 403 forbidden. Use the intervals from Location config to decide how often to send it.
number
required
Latitude, from -90 to 90.
number
required
Longitude, from -180 to 180.
Response 200

Errors on every member endpoint

SDKs

updateMemberLocation in JavaScript, update_member_location in Python.