Skip to main content

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.
This endpoint requires an Organisation API Key. To generate one, click your name in the bottom-left corner of the Bilanc app, select Account Settings, then navigate to Organisation API Keys. If you don’t see this page, contact an owner in your organisation.
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 the Authorization 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 Bilanc
  • name — The user’s display name
Will be null for teams that have no onboarded members. Only onboarded users are included.
Use the merged_user_id values to join team membership with data from other Bilanc endpoints, such as the metric endpoints, which accept merged_user_id for filtering and grouping.

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 members list 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