Die Suche lädt erst bei Nutzung. Durchsuche unten alle Kategorien.

Konten und Workspaces

Verbundene Konten auflisten

Liste die mit einem Workspace verbundenen Social-Media-Konten (Instagram, Threads, Facebook, YouTube) mit Verbindungszustand und Funktionsfakten auf. Nutze ihre ids beim Planen oder Kommentieren als social_account_id. Übergib workspace_id: Sobald ausdrückliche Zielangabe erzwungen wird, wird eine Anfrage ohne dieses Feld abgelehnt.

POST /identity-api/user/social-accounts/list

Vertrag geprüft: · sha256:563d2d581da0ad29

Überblick

Liste die mit einem Workspace verbundenen Social-Media-Konten (Instagram, Threads, Facebook, YouTube) mit Verbindungszustand und Funktionsfakten auf. Nutze ihre ids beim Planen oder Kommentieren als social_account_id. Übergib workspace_id: Sobald ausdrückliche Zielangabe erzwungen wird, wird eine Anfrage ohne dieses Feld abgelehnt.

Eine erfolgreiche HTTP-Antwort kann Annahme statt Abschluss bedeuten. Speichere bei Hintergrundarbeit die ID und prüfe dieselbe Operation bis zum Abschluss. Geplante oder angenommene Beiträge gelten erst nach Plattformbestätigung als veröffentlicht; ein Client-Timeout klärt das Ergebnis nicht.

Authentifizierung und Berechtigungen

Akzeptierte Zugangsdatenklassen
user_session, delegated_oauth, personal_access_token
Delegierte Funktion
agent:operate
Minimale Workspace-Rolle
Dieser Vertrag schreibt keine minimale Workspace-Rolle vor; Eigentums- und Berechtigungsprüfungen gelten weiterhin.
Zugriffsumfang
Ressourcen, auf die dieser Nutzer zugreifen darf
Zustimmung für alle Workspaces erforderlich
Nein
Ändert Zustand
Nein
Nach Abschluss der Operation
synchronous_http_response

Ein Token nutzt nur Eigentümerrechte. Jede Anfrage prüft Workspace-Mitgliedschaft, Ressourceneigentum, gewählte Workspaces und Funktionen. core und full ändern sichtbare Tools; sie erteilen keinen Zugriff.

Anfragefelder

Erforderlich bedeutet innerhalb des übergeordneten Objekts und gewählten Zweigs erforderlich. Ein erforderliches Kind macht kein optionales Elternobjekt erforderlich. Regeln und Feldnamen unten stammen aus dem Vertrag.

Anfragefelder
Feld / VarianteTyp / erforderlichEinschränkungen
$objectIm Elternobjekt erforderlich
  • additionalProperties: false
workspace_idstringOptional / Element
  • format: "uuid"
  • pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
include_authorization_grantbooleanOptional / Element—
Vollständiges JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "include_authorization_grant": {
      "type": "boolean"
    }
  },
  "additionalProperties": false
}

Antwort und Abschluss

HTTP-Erfolgsstatus: 200. Wenn die Operation abgeschlossen ist: synchronous_http_response.

Eine erfolgreiche HTTP-Antwort kann Annahme statt Abschluss bedeuten. Speichere bei Hintergrundarbeit die ID und prüfe dieselbe Operation bis zum Abschluss. Geplante oder angenommene Beiträge gelten erst nach Plattformbestätigung als veröffentlicht; ein Client-Timeout klärt das Ergebnis nicht.

Erforderlich bedeutet innerhalb des übergeordneten Objekts und gewählten Zweigs erforderlich. Ein erforderliches Kind macht kein optionales Elternobjekt erforderlich. Regeln und Feldnamen unten stammen aus dem Vertrag.

Antwort und Abschluss
Feld / VarianteTyp / erforderlichEinschränkungen
$objectIm Elternobjekt erforderlich—
accountsarrayIm Elternobjekt erforderlich—
accounts[]objectOptional / Element—
accounts[].idstringIm Elternobjekt erforderlich
  • format: "uuid"
  • pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
accounts[].platformstringIm Elternobjekt erforderlich
  • enum: ["instagram","threads","facebook","tiktok","linkedin","youtube","x"]
accounts[].handlestring | nullIm Elternobjekt erforderlich—
accounts[].handleanyOf 1stringIm Elternobjekt erforderlich—
accounts[].handleanyOf 2nullIm Elternobjekt erforderlich—
accounts[].statusstringIm Elternobjekt erforderlich
  • enum: ["valid","expiring_soon","expired","disconnected"]
accounts[].expires_atstring | nullIm Elternobjekt erforderlich—
accounts[].expires_atanyOf 1stringIm Elternobjekt erforderlich—
accounts[].expires_atanyOf 2nullIm Elternobjekt erforderlich—
accounts[].created_atstringIm Elternobjekt erforderlich—
accounts[].avatar_urlstring | nullOptional / Element—
accounts[].avatar_urlanyOf 1stringOptional / Element—
accounts[].avatar_urlanyOf 2nullOptional / Element—
accounts[].follower_countinteger | nullOptional / Element—
accounts[].follower_countanyOf 1integerOptional / Element
  • minimum: 0
  • maximum: 9007199254740991
accounts[].follower_countanyOf 2nullOptional / Element—
accounts[].post_countinteger | nullOptional / Element—
accounts[].post_countanyOf 1integerOptional / Element
  • minimum: 0
  • maximum: 9007199254740991
accounts[].post_countanyOf 2nullOptional / Element—
accounts[].auto_sync_enabledbooleanOptional / Element—
accounts[].last_synced_atstring | nullOptional / Element—
accounts[].last_synced_atanyOf 1stringOptional / Element—
accounts[].last_synced_atanyOf 2nullOptional / Element—
accounts[].workspace_idstring | nullOptional / Element—
accounts[].workspace_idanyOf 1stringOptional / Element
  • format: "uuid"
  • pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
accounts[].workspace_idanyOf 2nullOptional / Element—
accounts[].platform_user_idstring | nullOptional / Element—
accounts[].platform_user_idanyOf 1stringOptional / Element
  • minLength: 1
accounts[].platform_user_idanyOf 2nullOptional / Element—
accounts[].instagram_login_modestring | nullOptional / Element—
accounts[].instagram_login_modeanyOf 1stringOptional / Element
  • enum: ["instagram_login","facebook_login"]
accounts[].instagram_login_modeanyOf 2nullOptional / Element—
accounts[].facebook_page_idstring | nullOptional / Element—
accounts[].facebook_page_idanyOf 1stringOptional / Element
  • minLength: 1
accounts[].facebook_page_idanyOf 2nullOptional / Element—
accounts[].blocked_untilstring | nullOptional / Element—
accounts[].blocked_untilanyOf 1stringOptional / Element—
accounts[].blocked_untilanyOf 2nullOptional / Element—
accounts[].block_reasonstring | nullOptional / Element—
accounts[].block_reasonanyOf 1stringOptional / Element
  • enum: ["transient","account_block","auth_invalid","permanent"]
accounts[].block_reasonanyOf 2nullOptional / Element—
accounts[].block_subcodeinteger | nullOptional / Element—
accounts[].block_subcodeanyOf 1integerOptional / Element
  • minimum: -9007199254740991
  • maximum: 9007199254740991
accounts[].block_subcodeanyOf 2nullOptional / Element—
accounts[].block_countintegerOptional / Element
  • minimum: 0
  • maximum: 9007199254740991
accounts[].last_block_atstring | nullOptional / Element—
accounts[].last_block_atanyOf 1stringOptional / Element—
accounts[].last_block_atanyOf 2nullOptional / Element—
accounts[].health_statestringIm Elternobjekt erforderlich
  • enum: ["ready","action_required","temporarily_unavailable","publishing_restricted","disconnected","unknown"]
accounts[].health_messagestringIm Elternobjekt erforderlich
  • minLength: 1
  • maxLength: 500
accounts[].health_observed_atstring | nullIm Elternobjekt erforderlich—
accounts[].health_observed_atanyOf 1stringIm Elternobjekt erforderlich—
accounts[].health_observed_atanyOf 2nullIm Elternobjekt erforderlich—
accounts[].authorization_grantobjectOptional / Element—
accounts[].authorization_grantoneOf 1objectOptional / Element—
accounts[].authorization_grant.granted_permissionsoneOf 1arrayIm Elternobjekt erforderlich—
accounts[].authorization_grant.granted_permissions[]oneOf 1stringOptional / Element
  • minLength: 1
accounts[].authorization_grant.inventory_sourceoneOf 1stringIm Elternobjekt erforderlich
  • enum: ["oauth_token_response","provider_token_debug","provider_permissions_endpoint"]
accounts[].authorization_grant.inventory_exactoneOf 1booleanIm Elternobjekt erforderlich
  • const: true
accounts[].authorization_grant.observed_atoneOf 1stringIm Elternobjekt erforderlich
  • minLength: 1
accounts[].authorization_grant.provider_api_versiononeOf 1stringIm Elternobjekt erforderlich
  • minLength: 1
  • maxLength: 40
accounts[].authorization_grant.oauth_provideroneOf 1stringIm Elternobjekt erforderlich
  • enum: ["instagram","threads","meta","google"]
accounts[].authorization_grant.oauth_subject_idoneOf 1stringIm Elternobjekt erforderlich
  • minLength: 1
accounts[].authorization_grantoneOf 2objectOptional / Element—
accounts[].authorization_grant.granted_permissionsoneOf 2arrayIm Elternobjekt erforderlich
  • minItems: 0
  • maxItems: 0
accounts[].authorization_grant.granted_permissions[]oneOf 2any JSON valueOptional / Element—
accounts[].authorization_grant.inventory_sourceoneOf 2stringIm Elternobjekt erforderlich
  • const: "unavailable"
accounts[].authorization_grant.inventory_exactoneOf 2booleanIm Elternobjekt erforderlich
  • const: false
accounts[].authorization_grant.observed_atoneOf 2nullIm Elternobjekt erforderlich—
accounts[].authorization_grant.provider_api_versiononeOf 2nullIm Elternobjekt erforderlich—
accounts[].authorization_grant.oauth_provideroneOf 2string | nullIm Elternobjekt erforderlich—
accounts[].authorization_grant.oauth_provideroneOf 2 / anyOf 1stringIm Elternobjekt erforderlich
  • enum: ["instagram","threads","meta","google"]
accounts[].authorization_grant.oauth_provideroneOf 2 / anyOf 2nullIm Elternobjekt erforderlich—
accounts[].authorization_grant.oauth_subject_idoneOf 2string | nullIm Elternobjekt erforderlich—
accounts[].authorization_grant.oauth_subject_idoneOf 2 / anyOf 1stringIm Elternobjekt erforderlich
  • minLength: 1
accounts[].authorization_grant.oauth_subject_idoneOf 2 / anyOf 2nullIm Elternobjekt erforderlich—
accounts[].current_capability_snapshot_idstring | nullIm Elternobjekt erforderlich—
accounts[].current_capability_snapshot_idanyOf 1stringIm Elternobjekt erforderlich
  • format: "uuid"
  • pattern: "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
accounts[].current_capability_snapshot_idanyOf 2nullIm Elternobjekt erforderlich—
accounts[].capability_factsarrayIm Elternobjekt erforderlich—
accounts[].capability_facts[]objectOptional / Element—
accounts[].capability_facts[].capabilitystringIm Elternobjekt erforderlich
  • enum: ["can_publish_text","can_publish_image","can_publish_video","can_publish_reel","can_publish_carousel","can_publish_first_comment","can_publish_topic_tag","can_publish_link","can_upload_video","can_set_title","can_set_description","can_set_thumbnail","can_set_privacy_status","can_publish_story","can_invite_collaborators","can_tag_products","can_publish_trial_reel","can_publish_partnership","can_delete_media","can_publish_reply","can_quote_post","can_repost","can_publish_poll","can_publish_gif","can_publish_text_attachment","can_publish_ghost_post","can_tag_location","can_crossshare_to_instagram","can_auto_publish_text","can_delete_post","can_publish_multi_image","can_target_post","can_backdate_post","can_manage_native_schedule","can_update_video","can_delete_video","can_set_brand_partner"]
accounts[].capability_facts[].observed_allowedboolean | nullIm Elternobjekt erforderlich—
accounts[].capability_facts[].observed_allowedanyOf 1booleanIm Elternobjekt erforderlich—
accounts[].capability_facts[].observed_allowedanyOf 2nullIm Elternobjekt erforderlich—
accounts[].capability_facts[].availabilitystringIm Elternobjekt erforderlich
  • enum: ["available","unavailable","unknown","documented_ambiguous"]
accounts[].capability_facts[].reason_codestringIm Elternobjekt erforderlich
  • pattern: "^[a-z0-9_]+$"
accounts[].capability_facts[].observed_atstringIm Elternobjekt erforderlich—
accounts[].capability_facts[].valid_untilstringIm Elternobjekt erforderlich—
accounts[].capability_facts[].provider_api_versionstringIm Elternobjekt erforderlich
  • minLength: 1
  • maxLength: 40
accounts[].capability_facts[].required_permissionsarrayIm Elternobjekt erforderlich—
accounts[].capability_facts[].required_permissions[]stringOptional / Element
  • minLength: 1
accounts[].capability_facts[].granted_permissionsarrayIm Elternobjekt erforderlich—
accounts[].capability_facts[].granted_permissions[]stringOptional / Element
  • minLength: 1
accounts[].capability_facts[].account_eligibilityobjectIm Elternobjekt erforderlich
  • additionalProperties: {}
accounts[].capability_facts[].account_eligibility.*any JSON valueOptional / Element—
Vollständiges JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "accounts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          "platform": {
            "type": "string",
            "enum": [
              "instagram",
              "threads",
              "facebook",
              "tiktok",
              "linkedin",
              "youtube",
              "x"
            ]
          },
          "handle": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "valid",
              "expiring_soon",
              "expired",
              "disconnected"
            ]
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "type": "string"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "follower_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "post_count": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "auto_sync_enabled": {
            "type": "boolean"
          },
          "last_synced_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "workspace_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "platform_user_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "instagram_login_mode": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "instagram_login",
                  "facebook_login"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "facebook_page_id": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "blocked_until": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "block_reason": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "transient",
                  "account_block",
                  "auth_invalid",
                  "permanent"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "block_subcode": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "block_count": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "last_block_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "health_state": {
            "type": "string",
            "enum": [
              "ready",
              "action_required",
              "temporarily_unavailable",
              "publishing_restricted",
              "disconnected",
              "unknown"
            ]
          },
          "health_message": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "health_observed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "authorization_grant": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "granted_permissions": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1
                    }
                  },
                  "inventory_source": {
                    "type": "string",
                    "enum": [
                      "oauth_token_response",
                      "provider_token_debug",
                      "provider_permissions_endpoint"
                    ]
                  },
                  "inventory_exact": {
                    "type": "boolean",
                    "const": true
                  },
                  "observed_at": {
                    "type": "string",
                    "minLength": 1
                  },
                  "provider_api_version": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 40
                  },
                  "oauth_provider": {
                    "type": "string",
                    "enum": [
                      "instagram",
                      "threads",
                      "meta",
                      "google"
                    ]
                  },
                  "oauth_subject_id": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "required": [
                  "granted_permissions",
                  "inventory_source",
                  "inventory_exact",
                  "observed_at",
                  "provider_api_version",
                  "oauth_provider",
                  "oauth_subject_id"
                ]
              },
              {
                "type": "object",
                "properties": {
                  "granted_permissions": {
                    "minItems": 0,
                    "maxItems": 0,
                    "type": "array",
                    "items": {
                      "not": {}
                    }
                  },
                  "inventory_source": {
                    "type": "string",
                    "const": "unavailable"
                  },
                  "inventory_exact": {
                    "type": "boolean",
                    "const": false
                  },
                  "observed_at": {
                    "type": "null"
                  },
                  "provider_api_version": {
                    "type": "null"
                  },
                  "oauth_provider": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "instagram",
                          "threads",
                          "meta",
                          "google"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "oauth_subject_id": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "granted_permissions",
                  "inventory_source",
                  "inventory_exact",
                  "observed_at",
                  "provider_api_version",
                  "oauth_provider",
                  "oauth_subject_id"
                ]
              }
            ]
          },
          "current_capability_snapshot_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid",
                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
              },
              {
                "type": "null"
              }
            ]
          },
          "capability_facts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "capability": {
                  "type": "string",
                  "enum": [
                    "can_publish_text",
                    "can_publish_image",
                    "can_publish_video",
                    "can_publish_reel",
                    "can_publish_carousel",
                    "can_publish_first_comment",
                    "can_publish_topic_tag",
                    "can_publish_link",
                    "can_upload_video",
                    "can_set_title",
                    "can_set_description",
                    "can_set_thumbnail",
                    "can_set_privacy_status",
                    "can_publish_story",
                    "can_invite_collaborators",
                    "can_tag_products",
                    "can_publish_trial_reel",
                    "can_publish_partnership",
                    "can_delete_media",
                    "can_publish_reply",
                    "can_quote_post",
                    "can_repost",
                    "can_publish_poll",
                    "can_publish_gif",
                    "can_publish_text_attachment",
                    "can_publish_ghost_post",
                    "can_tag_location",
                    "can_crossshare_to_instagram",
                    "can_auto_publish_text",
                    "can_delete_post",
                    "can_publish_multi_image",
                    "can_target_post",
                    "can_backdate_post",
                    "can_manage_native_schedule",
                    "can_update_video",
                    "can_delete_video",
                    "can_set_brand_partner"
                  ]
                },
                "observed_allowed": {
                  "anyOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "availability": {
                  "type": "string",
                  "enum": [
                    "available",
                    "unavailable",
                    "unknown",
                    "documented_ambiguous"
                  ]
                },
                "reason_code": {
                  "type": "string",
                  "pattern": "^[a-z0-9_]+$"
                },
                "observed_at": {
                  "type": "string"
                },
                "valid_until": {
                  "type": "string"
                },
                "provider_api_version": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 40
                },
                "required_permissions": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "granted_permissions": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "account_eligibility": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                }
              },
              "required": [
                "capability",
                "observed_allowed",
                "availability",
                "reason_code",
                "observed_at",
                "valid_until",
                "provider_api_version",
                "required_permissions",
                "granted_permissions",
                "account_eligibility"
              ]
            }
          }
        },
        "required": [
          "id",
          "platform",
          "handle",
          "status",
          "expires_at",
          "created_at",
          "health_state",
          "health_message",
          "health_observed_at",
          "current_capability_snapshot_id",
          "capability_facts"
        ]
      }
    }
  },
  "required": [
    "accounts"
  ]
}

Fehler und sichere Wiederholungen

Prüfe HTTP-Status und Antwortinhalt. Ein 400-Validierungsfehler kann einen ZodError enthalten; Handler-Fehler verwenden die Felder error, message und code. Bewahre request_id oder x-request-id zur Diagnose ohne Zugangsdaten auf. Behebe 401/403-Zugriffsfehler vor einem erneuten Versuch und beachte Retry-After bei 429. Ist ein Schreibvorgang ungewiss oder liefert 5xx, lies zuerst das bestehende Ergebnis. Verwende einen Idempotenzschlüssel nur wieder, wo dies unterstützt wird; Wiederholungen unterscheiden sich je nach Operation und garantieren keine genau einmalige Zustellung.

Anleitung zur Fehlerbehebung

Beispiele

Diese Beispiele nutzen anhand der Schemas geprüfte fiktive Werte. Ersetze IDs durch autorisierte IDs, Medien durch bereite Assets und Daten durch bestätigte Veröffentlichungszeiten. Prüfe Kontoeignung vor Schreibvorgängen. Diese Seite sendet keine API-Anfragen.

Setze SOSOAPI_ACCESS_TOKEN auf deinem Server auf akzeptierte Zugangsdaten dieser Operation und halte es aus Browsercode heraus. Für Agenten nutze sosoapi auth login zur Browseranmeldung und lass die CLI Zugangsdaten erneuern.

request.json

{}

cURL

curl --request POST \
  "https://gqeshlawtcexsapabaui.supabase.co/functions/v1/identity-api/user/social-accounts/list" \
  -H "Authorization: Bearer $SOSOAPI_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @request.json

JavaScript

// Server-side JavaScript. Do not print tokens or credential-bearing responses.
const token = process.env.SOSOAPI_ACCESS_TOKEN;
if (!token) throw new Error("Set an accepted credential for this operation");
const response = await fetch("https://gqeshlawtcexsapabaui.supabase.co/functions/v1/identity-api/user/social-accounts/list", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: "Bearer " + token },
  body: JSON.stringify({})
});
const result = await response.json();
// Check response.ok, the operation-specific body and completion state before continuing.

CLI

npx sosoapi api post /identity-api/user/social-accounts/list < request.json

Synthetisches Antwortbeispiel

{
  "accounts": []
}

MCP: sosoapi_list_connected_accounts