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

# 失敗イベントを一括再送信 (v3)

> FAILEDイベントを最大50件再送信します。YYYY-MM-DD形式のUTC日付で開始日と終了日を含む最大7日間を指定してください。



## OpenAPI

````yaml ja/api-reference/openapi.yaml POST /api/v3/orders/webhooks/{webhookId}/events/retry-failed
openapi: 3.0.0
info:
  title: ContentCare API
  version: 2.0.0
  description: >-
    ContentCare API は、デジタルコンテンツ保護のための4つのコアサービスを提供します:

    - **Anti-AI**: 画像をAI学習から保護

    - **Watermark Embed**: 画像に不可視のデジタル watermark を埋め込み

    - **Watermark Extract**: 画像から watermark を抽出・検証

    - **AI Detection**: 画像がAI生成かどうかを検知

    - **テストAPIキー**: `sk_test_`
    プレフィックスのキーは同じBearer認証を使用し、実際の処理サービスの実行やクレジットの消費なしに注文ライフサイクルを検証できます。テストアップロードの内容は破棄され、結果ファイルは作成されません
  contact:
    name: ContentCare サポート
    email: support@contentcare.ai
  license:
    name: Proprietary
    url: https://docs.contentcare.ai/legal/terms
servers:
  - url: https://api.bizmori.com
    description: 本番環境
security: []
tags:
  - name: Anti-AI
    description: Anti-AI画像保護の注文
  - name: Watermark Embed
    description: watermark 埋め込みの注文
  - name: Watermark Extract
    description: watermark 抽出の注文
  - name: AI Detection
    description: AI生成画像検知の注文
  - name: Orders
    description: 注文の照会と管理
  - name: Webhooks
    description: Webhookの設定とイベント
  - name: Reports
    description: watermark 抽出・AI Detection 注文の PDF 分析レポート
paths:
  /api/v3/orders/webhooks/{webhookId}/events/retry-failed:
    post:
      tags:
        - Webhooks
      summary: 失敗イベントを一括再送信 (v3)
      description: FAILEDイベントを最大50件再送信します。YYYY-MM-DD形式のUTC日付で開始日と終了日を含む最大7日間を指定してください。
      operationId: retryFailedWebhookEventsV3
      parameters:
        - in: path
          name: webhookId
          required: true
          schema:
            type: integer
            minimum: 1
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - fromDate
                - toDate
              properties:
                fromDate:
                  type: string
                  format: date
                  description: '開始日（ISO 8601形式、例: 2026-01-01）'
                  example: '2026-01-01'
                toDate:
                  type: string
                  format: date
                  description: '終了日（ISO 8601形式、例: 2026-01-07）。fromDateから7日以内である必要があります。'
                  example: '2026-01-07'
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      total:
                        type: integer
                        description: 期間内に見つかった失敗イベントの総数
                      succeeded:
                        type: integer
                        description: 再送に成功したイベント数
                      failed:
                        type: integer
                        description: 再送に失敗したイベント数
        '400':
          description: リクエスト本文または期間が無効です（日付の欠落・形式誤り、終了日が開始日より前、7日超過）
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                code: VALIDATION_FAILED
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/WebhookNotFound'
      security:
        - BearerAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
          description: エラーコード
  responses:
    Unauthorized:
      description: 認証失敗
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: AUTH_NOT_AUTHENTICATED
    Forbidden:
      description: APIキーに要求されたモードを使用する権限がありません
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: AUTH_FORBIDDEN
    WebhookNotFound:
      description: Webhookエンドポイントが見つからないか、このAPIキーではアクセスできません
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: WEBHOOK_NOT_FOUND
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        外部クライアントアクセス用のBearer APIキー。本番キーは `sk_` プレフィックスを使用し、テストキーは `sk_test_`
        プレフィックスを使用して、処理やクレジット消費なしに注文ライフサイクルを検証します。

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.