---
title: "Get social accounts"
method: GET
path: "/accounts"
tags: ["Accounts"]
---

# Get social accounts

`GET /accounts`

## Request

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

Returns a paginated list of all social media accounts accessible to the authenticated user, including accounts shared via teams.

## Query parameters

- `type` string[]

## Response `200`

Social accounts

- object
  - `items` unknown[]: User's social media accounts.
    - unknown
  - `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 results.

## Other responses

- `422`: The given data was invalid.

---

[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)
