> ## Documentation Index
> Fetch the complete documentation index at: https://docs.postinger.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Accounts

> The social accounts a workspace posts to.

An **account** is a social profile connected to a workspace: an Instagram professional account, a Facebook Page, a TikTok profile or a YouTube channel. Accounts are connected in the app; the API, the CLI and MCP use the ones already connected.

```bash theme={"system"}
curl https://api.postinger.dev/v1/accounts -H "Authorization: Bearer $POSTINGER_API_KEY"
```

Each account has an `id`, used as `socialAccountId` when you post, and a `platform`: `instagram`, `facebook`, `tiktok` or `youtube`.

## Reconnecting

Platforms expire access from time to time. An account that needs reconnecting can't be scheduled to, and posts due on it fail with the `reconnect_required` code. Reconnect it in the app, then [retry](https://docs.postinger.dev/guides/retry-failed-posts.md).

Subscribe to the [`account.disconnected`](https://docs.postinger.dev/api-reference/webhooks/events) webhook to hear about it right away.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.