Docs
list_channel_accounts
List the social accounts connected to a workspace (X, LinkedIn, Threads, Bluesky, Instagram, Facebook Pages, TikTok, YouTube, and Sandbox test accounts) with their status; the id is the channelAccountId for creating or validating posts. status 'reconnect_required': a person must reconnect it before posts can go out; access 'pending_review': posts go to a post kit for manual posting; 'private_only': posts are published privately for now. Disconnected accounts are hidden unless includeDisconnected is true. Never returns tokens.
List the social accounts connected to a workspace (X, LinkedIn, Threads, Bluesky, Instagram, Facebook Pages, TikTok, YouTube, and Sandbox test accounts) with their status; the id is the channelAccountId for creating or validating posts. status 'reconnect_required': a person must reconnect it before posts can go out; access 'pending_review': posts go to a post kit for manual posting; 'private_only': posts are published privately for now. Disconnected accounts are hidden unless includeDisconnected is true. Never returns tokens.
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"platform": {
"enum": [
"x",
"linkedin",
"threads",
"bluesky",
"instagram",
"facebook",
"tiktok",
"youtube",
"sandbox"
],
"type": "string"
},
"includeDisconnected": {
"default": false,
"type": "boolean"
}
},
"required": [
"workspaceId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"channelAccounts": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"workspaceId": {
"format": "uuid",
"type": "string"
},
"platform": {
"enum": [
"x",
"linkedin",
"threads",
"bluesky",
"instagram",
"facebook",
"tiktok",
"youtube",
"sandbox"
],
"type": "string"
},
"externalId": {
"type": "string"
},
"handle": {
"type": [
"string",
"null"
]
},
"displayName": {
"type": [
"string",
"null"
]
},
"avatarUrl": {
"type": [
"string",
"null"
]
},
"accountType": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"active",
"reconnect_required",
"disconnected"
],
"type": "string"
},
"statusReason": {
"type": [
"string",
"null"
]
},
"scopes": {
"items": {
"type": "string"
},
"type": "array"
},
"tokenExpiresAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"lastHealthCheckAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"metadata": {
"type": "object"
},
"createdByAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"createdByAgentClientId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"updatedAt": {
"format": "date-time",
"type": "string"
},
"platformLabel": {
"type": "string"
},
"access": {
"enum": [
"available",
"pending_review",
"private_only"
],
"type": "string"
},
"feedUrl": {
"type": [
"string",
"null"
]
},
"emulates": {
"anyOf": [
{
"enum": [
"x",
"linkedin",
"threads",
"bluesky",
"instagram",
"facebook",
"tiktok",
"youtube"
],
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspaceId",
"platform",
"externalId",
"handle",
"displayName",
"avatarUrl",
"accountType",
"status",
"statusReason",
"scopes",
"tokenExpiresAt",
"lastHealthCheckAt",
"metadata",
"createdByAccountId",
"createdByAgentClientId",
"createdAt",
"updatedAt",
"platformLabel",
"access",
"feedUrl",
"emulates"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"channelAccounts"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "List channel accounts"
}