---
title: "Get your teams"
method: GET
path: "/teams"
tags: ["Team"]
---

# Get your teams

`GET /teams`

## Request

- Base URL: `https://socialbu.com/api/v1`
- URL: `https://socialbu.com/api/v1/teams`
- Auth: HTTP bearer

Returns a paginated list of teams. Use the `type` parameter to filter between teams you created and teams you have joined.

## Query parameters

- `type` string[]

## Response `200`

Teams

- object
  - `items` object[]: An array of data objects (Teams).
  - `currentPage` integer: The current page number of the paginated results.
  - `lastPage` integer: The last page number of the paginated results.
  - `nextPage` integer: The next page number, or null if this is the last page.
  - `total` integer: Total number of items.

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/socialbu/apis/socialbu-api.md) · [All operations](https://skmtc.dev/socialbu/apis/socialbu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/socialbu/apis/socialbu-api/revisions/841b3ab0f671?raw)
