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

# Connecting accounts

> Which accounts each platform accepts, how an account is connected, and how slots are paid for.

`manage_social_accounts` reads and manages the workspace's connected accounts. In the app the same accounts are under Publish, Accounts.

## Reading

`list` returns each account with its `status`, which is `needs_reconnect` when its sign-in expired. It also returns `slots`, the paid slots for accounts, X and ad accounts with `caller_is_owner`, and `agents`, the workspace's rules for agents described in [Approval and what agents can do](https://docs.eversince.ai/publish/approval.md). When the platforms do not answer, the accounts come back as last read, with a note.

## Connecting

`connect` with a `platform` returns a `url`. The user opens it and signs in on the platform, and `list` shows the account once it is connected. For ChatGPT Ads (`openaiads`) the user pastes the ad account's API key at that address instead of signing in. The result includes `needs`, what the account has to be for the platform to accept it.

| Platform | `platform` | Account it accepts |
| - | - | - |
| Instagram | `instagram` | A Business or Creator account. A personal account cannot be connected. |
| TikTok | `tiktok` | |
| YouTube | `youtube` | A YouTube channel. An unverified channel uploads videos up to 15 minutes. |
| X | `twitter` | |
| LinkedIn | `linkedin` | A personal profile or a company page. A company page has fuller analytics and its comments. |
| Facebook | `facebook` | A Facebook Page, as its admin or editor. A personal profile cannot be connected. |
| Threads | `threads` | A Threads profile on an Instagram Business or Creator account. |
| Pinterest | `pinterest` | A Pinterest account with at least one board. |
| Meta Ads | `metaads` | A Meta business with an ad account and a Facebook Page. |
| TikTok Ads | `tiktokads` | A TikTok Ads Manager account. |
| LinkedIn Ads | `linkedinads` | A LinkedIn ad account and a company page, as its admin. |
| Google Ads | `googleads` | A Google Ads account. |
| Pinterest Ads | `pinterestads` | A Pinterest business account with an ad account. |
| X Ads | `xads` | The X account connected here first, and an X Ads account on it. |
| Reddit Ads | `redditads` | A Reddit Ads account with its pixel and a Reddit profile already made on Reddit. |
| ChatGPT Ads | `openaiads` | An API key from Settings in ChatGPT Ads Manager. |

## Slots and prices

Each connected account holds a slot, billed monthly to the workspace owner: $6 for a social account, $10 for an X account, \$10 for an ad account.

* With no slot of that kind bought yet, `connect` returns a `checkout_url`. The user pays for the first slot there, and `connect` is called again.
* With every slot in use, the owner's `connect` raises the subscription by one. The result's `charged` says whether it did.
* Adding a slot is the owner's call. The owner can also settle the subscription in the app under Settings, Usage & billing.

`add_ad_pack` with `packs` adds packs of 500 ads running at once, at \$10 a month each. It is the owner's call, and with no pack bought yet it returns a `checkout_url`. [Ads](https://docs.eversince.ai/publish/ads.md) covers the running-ads allowance.

`buy_replies` returns a `url` where the owner pays once for 2,500 automatic replies at \$8 (`packs` buys several). They are kept until used; [Inbox and automatic replies](https://docs.eversince.ai/publish/inbox.md) covers that allowance.

## When a payment does not go through

Each kind of slot is paid on its own: connected accounts, the X account, ad accounts. When a payment for one does not go through, what that kind includes per use pauses at once: direct messages and automatic replies for connected accounts, posting to X for the X account, and making ads, starting ads and enabling ad rules for ad accounts. Connecting another account of that kind is paused too. Posting to the other platforms and reading continue.

Scheduled posts that go to an X account are kept as `held` posts on their calendar cards, and a person approves them once the payment is settled. The accounts stay connected for 3 days from the failed payment and then disconnect. In those days `list` carries the date as `disconnectsAt` on that kind in `slots`. The workspace owner settles the payment in the app under Settings, Usage & billing.

## Reconnecting and disconnecting

`reconnect` with an `account_id` from `list` returns a `url` that renews the account on its own slot. `disconnect` ends the connection. The account's posts stay on the platform.


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