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

> 有効なWebhookのFAILEDイベントを1件再送信します。パスの数値eventIdは一覧項目のidであり、eventId UUIDではありません。重複配信に備え、本文のeventIdで重複を判定してください。



## OpenAPI

````yaml ja/api-reference/openapi.yaml POST /api/v3/orders/webhooks/{webhookId}/events/{eventId}/retry
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/{eventId}/retry:
    post:
      tags:
        - Webhooks
      summary: イベントを再送信 (v3)
      description: >-
        有効なWebhookのFAILEDイベントを1件再送信します。パスの数値eventIdは一覧項目のidであり、eventId
        UUIDではありません。重複配信に備え、本文のeventIdで重複を判定してください。
      operationId: retryWebhookEventV3
      parameters:
        - in: path
          name: webhookId
          required: true
          schema:
            type: integer
            minimum: 1
        - in: path
          name: eventId
          required: true
          schema:
            type: integer
            minimum: 1
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      event_id:
                        type: string
                        description: 元イベントのUUID
                      success:
                        type: boolean
                        description: 再送が成功したかどうか
                      status_code:
                        type: integer
                        description: Webhookエンドポイントからの HTTPレスポンスコード（successがtrueの場合）
                      status:
                        type: string
                        description: イベントステータス（再送失敗時）
                        example: FAILED
                      error:
                        type: string
                        description: エラーメッセージ（再送失敗時）
        '400':
          description: 再送できないイベント（FAILEDイベントのみ再送可能）
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                code: WEBHOOK_EVENT_NOT_RETRYABLE
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Webhookまたはイベントが見つかりません
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                webhookNotFound:
                  summary: Webhookエンドポイントが見つからないか、アクセスできません
                  value:
                    code: WEBHOOK_NOT_FOUND
                webhookEventNotFound:
                  summary: アクセス可能なWebhookエンドポイントにイベントがありません
                  value:
                    code: WEBHOOK_EVENT_NOT_FOUND
      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
  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.