Authentication
All team endpoints need a session token (Authorization: Bearer <token>, see Login).
The team object
string
Team UUID.
string
Tenant that owns the team.
string | null
UUID of the team’s home zone.
string
Team name, unique within your tenant.
string
Your own team type label, for example
ADVANCED_LIFE_SUPPORT.string
Primary vertical of the team, for example
healthcare.string[]
Free list of equipment labels stored on the team. Managed equipment with status and quantity lives in Team equipment.
string
available, on_mission or offline.object[]
Returned by the list and get endpoints. Each member has
id, name, role, status, lat, lng and last_seen.string
ISO 8601 timestamp.
string
ISO 8601 timestamp.
List teams
Response 200
Get a team
string
required
Team UUID.
Create a team
teams:manage.
string
required
2 to 100 characters. Must be unique within your tenant.
string
required
2 to 50 characters.
string
required
2 to 50 characters.
string[]
Equipment labels.
string
UUID of an existing zone.
string
default:"available"
available, on_mission or offline.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. A body with no fields returns the team unchanged.
string
required
Team UUID.
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.