株式会社キャリースルー Connections API

SNS アカウント連携の管理

GitHub OpenAPI

Operations 1

GET /connections 連携一覧を取得 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/post-mesh-com:post-mesh-com-connections-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

post-mesh-com-connections-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ポストメッシュ Connections API
  description: 'ポストメッシュは、複数のSNSプラットフォームに同時投稿できるサービスです。

    この API を使って、SNS アカウントの連携管理、メディアのアップロード、投稿の作成・管理を行えます。


    ## 対応プラットフォーム


    YouTube / TikTok / Instagram / Threads / X (Twitter) / Facebook


    ## 認証


    すべての API エンドポイントには、`Authorization` ヘッダーに Bearer トークン(API キー)が必要です。


    ```

    Authorization: Bearer YOUR_API_KEY

    ```


    API キーはポストメッシュダッシュボードから発行できます。


    ## 共通仕様


    - リクエスト・レスポンスのフィールド名はすべて **snake_case** です。

    - タイムスタンプはすべて **ISO 8601** 形式(例: `2026-02-17T10:00:00.000Z`)です。

    - 投稿一覧エンドポイントはページネーション付きで結果を返します。'
  version: 1.0.0
servers:
- url: https://post-mesh.com/api/v1
  description: 本番環境
security:
- apiKey: []
tags:
- name: Connections
  description: SNS アカウント連携の管理
paths:
  /connections:
    get:
      tags:
      - Connections
      summary: 連携一覧を取得
      description: チームに紐づくすべての有効な SNS アカウント連携を返します。
      operationId: listConnections
      parameters:
      - name: platform
        in: query
        description: プラットフォームでフィルタ
        required: false
        schema:
          $ref: '#/components/schemas/Platform'
      responses:
        '200':
          description: 連携一覧
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Connection'
              example:
                data:
                - id: conn_abc123
                  platform: youtube
                  account_name: My Channel
                  icon_url: https://storage.googleapis.com/...
                  connected_at: '2026-01-15T08:30:00.000Z'
                - id: conn_def456
                  platform: tiktok
                  account_name: '@myaccount'
                  icon_url: null
                  connected_at: '2026-02-01T12:00:00.000Z'
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    Error:
      type: object
      description: エラーレスポンス
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: 'エラーコード。


                - `VALIDATION_ERROR`(400)— リクエストのバリデーションに失敗

                - `TIKTOK_PRIVACY_LEVEL_UNAVAILABLE`(400)— `POST /posts`で、そのTikTokアカウントでは選べない`tiktok_privacy_level`を指定した

                - `UNAUTHORIZED`(401)— API キーが未指定・無効・失効済み

                - `SUBSCRIPTION_REQUIRED`(403)— 有効なサブスクリプションが必要

                - `NOT_FOUND`(404)— リソースが見つからない

                - `INSIGHTS_NOT_AVAILABLE`(403)— アナリティクス機能の利用資格が無い

                - `ANALYTICS_NOT_AVAILABLE`(403)— `GET /analytics/posts`で、プロプランでない組織から呼び出した

                - `POSTING_READINESS_RECONNECT_REQUIRED`(409)— `POST /posts`で、投稿先のSNS連携が切れており再連携が必要

                - `POSTING_READINESS_UNAVAILABLE`(409)— `POST /posts`で、SNS側の一時的なエラーにより投稿準備を確認できなかった

                - `X_MONTHLY_POST_LIMIT_REACHED`(409)— `POST /posts`で、投稿予定月のXへの投稿がプランの月間上限(スタータープラン月30件、プロプラン月300件)か、プロプランのリンク付き投稿の上限(月50件)を超える(1件はXへの1ポスト。Xアカウントごと、スレッドはポストごとに数え、日本時間の月で区切る)

                - `CONFLICT`(409)— `DELETE /posts/{id}`で、処理中・キャンセル済みなどでキャンセルできない

                - `INTERNAL_ERROR`(500)— 内部サーバーエラー

                '
              enum:
              - VALIDATION_ERROR
              - TIKTOK_PRIVACY_LEVEL_UNAVAILABLE
              - UNAUTHORIZED
              - SUBSCRIPTION_REQUIRED
              - NOT_FOUND
              - INSIGHTS_NOT_AVAILABLE
              - ANALYTICS_NOT_AVAILABLE
              - POSTING_READINESS_RECONNECT_REQUIRED
              - POSTING_READINESS_UNAVAILABLE
              - X_MONTHLY_POST_LIMIT_REACHED
              - CONFLICT
              - INTERNAL_ERROR
            message:
              type: string
              description: エラーの詳細メッセージ
          required:
          - code
          - message
      required:
      - error
    Platform:
      type: string
      enum:
      - youtube
      - tiktok
      - instagram
      - threads
      - x
      - facebook
      description: SNS プラットフォーム
    Connection:
      type: object
      description: SNS アカウント連携
      properties:
        id:
          type: string
          description: 連携 ID
        platform:
          $ref: '#/components/schemas/Platform'
        account_name:
          type:
          - string
          - 'null'
          description: 連携アカウントの表示名
        icon_url:
          type:
          - string
          - 'null'
          description: 連携アカウントのプロフィールアイコン URL
        connected_at:
          type: string
          format: date-time
          description: 連携日時
      required:
      - id
      - platform
      - account_name
      - icon_url
      - connected_at
  responses:
    InternalError:
      description: 内部サーバーエラー
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INTERNAL_ERROR
              message: An unexpected error occurred
    ValidationError:
      description: リクエストのバリデーションに失敗しました
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: VALIDATION_ERROR
              message: targets must be a non-empty array
    Unauthorized:
      description: API キーが未指定または無効です
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: UNAUTHORIZED
              message: Missing or invalid Authorization header
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: 'API キーを Bearer トークンとして送ります。API キーはポストメッシュダッシュボードの「API キー」画面から発行できます。


        ```

        Authorization: Bearer YOUR_API_KEY

        ```

        '