---
title: "List connected social accounts (in the key's workspace)"
method: GET
path: "/accounts"
tags: ["Accounts"]
---

# List connected social accounts (in the key's workspace)

`GET /accounts`

## Request

- Base URL: `https://api.posteahora.com/functions/v1/api`
- URL: `https://api.posteahora.com/functions/v1/api/accounts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/posteahora/apis/posteahora-public-api/docs/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

Call this first — publishing needs each account's id. Tokens are never returned.

## Response `200`

OK

- object
  - `accounts` Account[]
    - `id` string, uuid
    - `platform` string
    - `platform_username` string
    - `platform_account_id` string
    - `is_connected` boolean
    - `requires_reauth` boolean
    - `profile_image_url` string, uri, nullable
    - `connected_at` string, date-time

## Other responses

- `401`: Missing or invalid API key
- `403`: Key lacks the required scope (or viewer-role key attempting a write)

---

[API](https://skmtc.dev/posteahora/apis/posteahora-public-api.md) - [All operations](https://skmtc.dev/posteahora/apis/posteahora-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/posteahora/apis/posteahora-public-api/revisions/552a8eb6c30f?raw)
