Teams API
The Teams API lets you programmatically retrieve the teams in your Bilanc organisation along with their members. This is useful for syncing your org structure into other systems, reporting on team composition, or feeding team data into your own dashboards and automations.Only the
GET /teams endpoint is available via API key. Creating, updating, and deleting teams remains available exclusively through the Bilanc dashboard.Base URL
Authentication
All Teams API requests require an API key in theAuthorization header:
List Teams
Retrieve all teams in your organisation, including each team’s name, department, and the onboarded members assigned to it.Parameters
This endpoint does not require any request body or query parameters.Example
Response
Response Fields
The endpoint returns an array of team objects, each containing:string
Unique identifier for the team in Bilanc.
string
The team’s display name.
string
The department the team belongs to. May be
null if no department has been set.array
List of onboarded users assigned to the team, each containing:
merged_user_id— Unique identifier for the user in Bilancname— The user’s display name
null for teams that have no onboarded members. Only onboarded users are included.Error Responses
The Teams API returns standard HTTP error codes:Example Error Response
Common Use Cases
- Sync org structure: Mirror your Bilanc team and membership data into an internal data warehouse or HR system
- Team-level reporting: Combine the
memberslist with the metric endpoints to build per-team performance reports - Automations: Drive Slack workflows or scheduled jobs that need an up-to-date view of which engineers belong to which teams

