---
title: "Connected accounts, with their zone and what the plan allows"
method: GET
path: "/oauth/accounts"
tags: ["Accounts"]
---

# Connected accounts, with their zone and what the plan allows

`GET /oauth/accounts`

## Request

- Base URL: `https://preflight.social/v1`
- URL: `https://preflight.social/v1/oauth/accounts`
- Auth: HTTP bearer

Accounts are connected and disconnected in the app, not over the API. Scope posts:read.

## Response `200`

Accounts.

- object
  - `data` Account[]
    - `id` string, uuid
    - `platform` 'youtube' | 'tiktok' | 'instagram' | 'facebook' | 'threads' | 'twitter' | 'linkedin' | 'pinterest' | 'bluesky' | 'mastodon' | 'telegram' | 'discord' | 'tumblr': A network's name. twitter (X) is text-only and not offered to new accounts.
    - `username` string, nullable
    - `displayName` string, nullable
    - `avatarUrl` string, nullable
    - `connection` string, nullable: Instagram: direct or via_page.
    - `canDeleteRemote` boolean
    - `needsReconnect` boolean
    - `paused` boolean: Connected, but beyond what the plan covers.
    - `timezone` string, nullable: IANA zone the channel's schedule is read in.

## Other responses

- `401`: Missing, expired or unrecognised key.

---

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