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

# フォローの確認

> アカウント間のフォローを確認します。User 1はフォロー対象、User 2は確認する側です。例：「Elon Musk（user_2）はSorsaApp（user_1）をフォローしているか」。両側ともリンク、ユーザー名、IDのうち1つだけを渡してください。関係があればfollow: true、確認対象が非公開ならuser_protected: trueを返します。



## OpenAPI

````yaml /openapi-ja.json post /check-follow
openapi: 3.0.3
info:
  contact: {}
  title: Sorsa.io API
  version: '3.0'
servers:
  - url: https://api.sorsa.io/v3
security: []
paths:
  /check-follow:
    post:
      tags:
        - アクションの確認
      summary: フォローの確認
      description: >-
        アカウント間のフォローを確認します。User 1はフォロー対象、User 2は確認する側です。例：「Elon
        Musk（user_2）はSorsaApp（user_1）をフォローしているか」。両側ともリンク、ユーザー名、IDのうち1つだけを渡してください。関係があればfollow:
        true、確認対象が非公開ならuser_protected: trueを返します。
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/verification.CheckFollowReq'
        description: project_handleまたはproject_idと、user_link、username、user_idのいずれか
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/verification.CheckFollowResp'
          description: 成功
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 不正なリクエスト
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 認証失敗
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: アクセス拒否
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 見つかりません
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: リクエスト過多
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/handler.ErrorResponse'
          description: 内部サーバーエラー
      security:
        - ApiKeyAuth: []
components:
  schemas:
    verification.CheckFollowReq:
      properties:
        user_id_1:
          example: '44196397'
          type: string
        user_id_2:
          example: '44196397'
          type: string
        user_link_1:
          example: https://twitter.com/elonmusk
          type: string
        user_link_2:
          example: https://twitter.com/elonmusk
          type: string
        username_1:
          example: elonmusk
          type: string
        username_2:
          example: elonmusk
          type: string
      type: object
    verification.CheckFollowResp:
      properties:
        follow:
          description: ユーザーが対象アカウントをフォローしていれば`true`。
          example: true
          type: boolean
        user_protected:
          description: 確認対象ユーザーが非公開なら`true`。
          example: false
          type: boolean
      type: object
    handler.ErrorResponse:
      properties:
        message:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: ApiKey
      type: apiKey

````