> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/business-management/marketing/social-media/account-v1/introduction.md

## Article Content:

# About the Accounts API

The Accounts API lets you retrieve a site's connected social channel accounts and check whether those connections are still valid. An account represents a channel the site owner has connected in the dashboard, such as an Instagram business account or a Facebook page. You need an account's `id` when you create or publish items to that channel.

With the Accounts API, you can:

- List connected accounts for one or more channels.
- Check whether a channel's access token is still valid.
- Update account settings, such as the default account for a channel.

## Before you begin

It's important to note the following points before starting to code:

- A site owner connects social channels in the site's dashboard. The public API reads connected accounts but does not connect or disconnect channels programmatically. See [Connecting to your social media accounts](https://support.wix.com/en/article/social-media-marketing-connect-to-your-social-media-accounts).
- If [Get Long Lived Token Status](https://dev.wix.com/docs/api-reference/business-management/marketing/social-media/account-v1/get-long-lived-token-status.md) shows that a token is invalid, the site owner must reconnect the channel in the dashboard before you can publish to it.

## Use cases

- [Create and publish a post](https://dev.wix.com/docs/api-reference/business-management/marketing/social-media/account-v1/sample-flows.md#create-and-publish-a-post).

## Terminology

- **Account**: A social channel connection on a site, such as an Instagram business account or a Facebook page. Items are published to an account.
- **Channel**: The social network an account belongs to, such as Instagram, Facebook, or TikTok.

## See also

- [About the Items API](https://dev.wix.com/docs/api-reference/business-management/marketing/social-media/item-v1/introduction.md).
- [Publisher API sample flows](https://dev.wix.com/docs/api-reference/business-management/marketing/social-media/account-v1/sample-flows.md).

@sdk_package_setup