Authentication
All team endpoints need a session token (Authorization: Bearer <token>, see Login).
The team object
Free list of equipment labels stored on the team. Managed equipment with status and quantity lives in Team equipment.
Returned by the list and get endpoints. Each member has
id, name, role, status, lat, lng and last_seen.List teams
Response 200
Get a team
Create a team
teams:manage.
201 with the team object (without members). wede sends the team.created webhook with { team_id, name, vertical }.
Update a team
teams:manage. Send only the fields you want to change: name, type, vertical, equipment, zone_id, status, with the same rules as on create. zone_id: null removes the team from its home zone. A body with no fields returns the team unchanged.
200 with the updated team object. wede sends the team.updated webhook with { team_id, fields }, where fields lists the names of the fields you sent.
Delete a team
teams:manage. Only a team that was never sent on a mission can be deleted; deleting it also deletes its members, equipment and vertical settings. A team with missions is kept as their history: the call returns 409 team_has_missions. Set it unavailable instead.
204 with no body. wede sends the team.deleted webhook with { team_id }.
Errors
SDKs
listTeams and getTeam in JavaScript, list_teams and get_team in Python.