List connected platform accounts
list_platform_connectionsList the organization's connected social accounts, including any that are out of service. Use the returned connection IDs as platformConnectionIds when creating or updating a post — but not where health is INACTIVE, DISCONNECTED or EXPIRED — those need the account owner to reconnect first and the api rejects a post targeting them. EXPIRING is fine to post to: it means the authorization lapses within a few days and cannot renew itself, so the account owner should reconnect soon. PostRite renews every other connection's authorization automatically — HEALTHY and DEGRADED need nothing from the user, so do not warn about token expiry unless health says EXPIRING or EXPIRED. Instagram and TikTok connections carry metadata.authMethod, the way the account was connected (Instagram: instagram_login or facebook_login; TikTok: login_kit, or business_api for TikTok Business, which an absent value also means as login_kit) — it decides what a post to that account may use, e.g. TikTok drafts and a separate cover image exist only on business_api. X connections carry metadata.subscriptionType, the account's X subscription as X reports it (absent until PostRite has read it): Basic, Premium, PremiumPlus let a post to that account run past 280 characters, up to 25000 (see the X long-post rule in create_post).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_platform_connections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organizationId | No | Organization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connections | No |