> ## 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.

# 引用・リツイートの確認

> ユーザーが対象ツイートを引用またはリツイートしたか確認します。`status`は`quoted`、`retweet`、`not_found`のいずれかです。見つかった場合はアクションの日時と、該当する場合は引用本文も返します。ユーザーは`username`、`user_link`、`user_id`で指定します。



## OpenAPI

````yaml /openapi-ja.json post /check-quoted
openapi: 3.0.3
info:
  contact: {}
  title: Sorsa.io API
  version: '3.0'
servers:
  - url: https://api.sorsa.io/v3
security: []
paths:
  /check-quoted:
    post:
      tags:
        - アクションの確認
      summary: 引用・リツイートの確認
      description: >-
        ユーザーが対象ツイートを引用またはリツイートしたか確認します。`status`は`quoted`、`retweet`、`not_found`のいずれかです。見つかった場合はアクションの日時と、該当する場合は引用本文も返します。ユーザーは`username`、`user_link`、`user_id`で指定します。
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/verification.CheckQuotedReq'
        description: ツイートリンクと、ユーザーリンク、username、user_idのいずれか
        required: true
        x-originalParamName: payload
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/verification.CheckQuotedResp'
          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.CheckQuotedReq:
      properties:
        tweet_link:
          example: https://twitter.com/TweetScout_io/status/1782368585664626774
          type: string
        user_id:
          example: '44196397'
          type: string
        user_link:
          example: https://twitter.com/elonmusk
          type: string
        username:
          example: elonmusk
          type: string
      type: object
    verification.CheckQuotedResp:
      properties:
        date:
          description: アクションの日時（見つかった場合）。
          example: '2024-04-27 06:43:09'
          type: string
        status:
          description: アクションの種類：`quoted`、`retweet`、`not_found`。
          example: quoted
          type: string
        text:
          description: 引用ツイートの本文（状態が`quoted`の場合）。
          example: Quote text
          type: string
        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

````