# Teams API

> List and retrieve a tenant's teams.

List and retrieve a tenant's teams.

Base URL: `https://mpp-api-mybusinessapp-san.azure-api.net/v2`

API version: `3.55.133`

## Endpoints

### GET /teams

List teams

Returns the teams in the tenant identified by the API key. Paginated: use `page`/`limit` or `paginate=false`. To count without fetching rows, request `limit=1` and read `metadata.total`. Related: `Retrieve a team by id`.

Parameters:

- `Ocp-Apim-Subscription-Key` (header), required — Azure API Management subscription key (public: 4fb0f9a3b14a44e98698e80cef2aebeb)
- `X-MBA-Application-ID` (header), optional — Optional. Target another application's stamp; only a Studio key may target a different tenant
- `X-MBA-Application-Type` (header), optional — Optional. Application type paired with X-MBA-Application-ID
- `page` (query), optional — Page number for pagination
- `limit` (query), optional — Number of items per page
- `paginate` (query), optional — Enable or disable pagination
- `teamType` (query), optional — Filter teams by team type

Reference: https://mybusinessapp.co.za/developers/api/team#tag/Team/get_all_teams

### GET /teams/{id}

Retrieve a team by id

Returns the team with the given `id`. Related: `List teams`.

Parameters:

- `Ocp-Apim-Subscription-Key` (header), required — Azure API Management subscription key (public: 4fb0f9a3b14a44e98698e80cef2aebeb)
- `X-MBA-Application-ID` (header), optional — Optional. Target another application's stamp; only a Studio key may target a different tenant
- `X-MBA-Application-Type` (header), optional — Optional. Application type paired with X-MBA-Application-ID
- `id` (path), required — ID of the team resource

Reference: https://mybusinessapp.co.za/developers/api/team#tag/Team/get_single_team

---

[Rendered page](https://mybusinessapp.co.za/developers/api/team)

© MyBusinessApp (Pty) Ltd. Proprietary documentation — do not republish.
