Teams
The Teams endpoints manage organisational teams, groups of users that can be scoped to specific customers, sites, or other entities. Teams enable access control and filtered views across the platform.
These server-to-server endpoints are part of the VH3 AI Intelligence API.
Use the base URL https://api.vh3connect.io/api:kP8T1CK7 and send
company_id + tenant api_key in the JSON body for writes or as query
parameters for reads.
Keep the tenant api_key in server-side environment variables. Use VH3
Connect for interactive Team administration; signed-in users authenticate
there without exposing the key.Use only the base URL above for Teams. Never send api_key from browser or
mobile code.
GET /teams/list
List all teams for your company.
Query parameters:
POST /teams/create
Create a new team.
Request body:
GET /teams/{team_id}
Retrieve a specific team with its members and linked entities.
PATCH /teams/{team_id}
Update team details.
Request body:
GET /teams/{team_id}/members
List all members of a team.
POST /teams/{team_id}/members
Add a member to a team.
Request body:
DELETE /teams/{team_id}/members/{membership_id}
Remove a member from a team.
GET /teams/{team_id}/entities
List all entities linked to a team.
Query parameters:
POST /teams/{team_id}/entities
Link an entity (customer, site, job type) to a team.
Request body:
DELETE /teams/{team_id}/entities/{link_id}
Unlink an entity from a team.
GET /teams/search
Search teams by name or description.
Query parameters:
GET /entities/{entity_type}/{entity_id}/teams
Find which teams a given entity belongs to (reverse lookup).
GET /users/{user_id}/teams
Get all teams a specific user belongs to.