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

# Resend Webhook

> Manually trigger a webhook notification for a specific document and status.

**Use Cases:**
- Client missed a webhook due to downtime
- Need to re-process a webhook after fixing endpoint issues
- Testing webhook integration

**Behavior:**
- Creates a new delivery attempt for the specified document/status
- If webhook_config_id is not provided, sends to all active configs subscribed to the status
- Previous failed deliveries are not affected (new delivery record is created)



## OpenAPI

````yaml POST /v1/webhooks/resend
openapi: 3.1.0
info:
  title: Beltic Document API
  version: 1.0.0
  description: >-
    # The Beltic Document API provides a comprehensive solution for document
    processing with AI-powered data extraction and fraud detection capabilities.


    ## Key Features


    - **Template-Based Processing**: Create reusable document templates with
    predefined schemas and processing configurations

    - **Ad-Hoc Processing**: Process documents without templates using custom
    configurations

    - **AI Data Extraction**: Intelligent document data extraction powered by AI

    - **Fraud Detection**: Document authenticity verification and fraud analysis

    - **Secure File Handling**: Pre-signed URLs for secure file uploads


    ## Workflow


    1. **Create a Document Template**: Define a template with extraction schema
    and fraud detection settings

    2. **Create a Document**: Initialize a document with either a template
    reference or ad-hoc configuration

    3. **Upload File**: Use the pre-signed URL to upload your document file

    4. **Automatic Processing**: Once uploaded, the document is automatically
    processed with extraction and fraud detection

    5. **Retrieve Results**: Fetch the document to access extracted data and
    fraud analysis results


    ## Authentication


    All endpoints require authentication. Include your API key in the
    `X-Api-Key` header:

    ```

    X-Api-Key: YOUR_API_KEY

    ```


    ## Response Format


    All responses follow the JSON:API specification for consistent data
    structures.
  contact:
    name: Beltic API Support
    email: engineering@beltic.com
servers:
  - url: https://api.beltic.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Document Templates
    description: >-
      Manage document templates for repeatable processing workflows. Templates
      define the structure and processing configuration for documents including
      JSON schemas for data extraction and fraud detection settings.
  - name: Documents
    description: >-
      Create and manage documents for processing. Documents can be associated
      with a template for standardized processing, or configured ad-hoc with
      custom settings. The workflow involves creating a document record,
      uploading the file via pre-signed URL, and automatically processing the
      document with AI-powered extraction and fraud detection. Documents track
      their processing status and store extracted data and fraud analysis
      results.
  - name: Webhooks
    description: >-
      Configure webhook endpoints to receive real-time notifications when
      document status changes. Webhooks support automatic retries with
      exponential backoff and provide options for manual resend and DLQ
      reprocessing.
externalDocs:
  description: Beltic Platform Documentation
  url: https://docs.beltic.com
paths:
  /v1/webhooks/resend:
    post:
      tags:
        - Webhooks
      summary: Resend webhook
      description: >-
        Manually trigger a webhook notification for a specific document and
        status.


        **Use Cases:**

        - Client missed a webhook due to downtime

        - Need to re-process a webhook after fixing endpoint issues

        - Testing webhook integration


        **Behavior:**

        - Creates a new delivery attempt for the specified document/status

        - If webhook_config_id is not provided, sends to all active configs
        subscribed to the status

        - Previous failed deliveries are not affected (new delivery record is
        created)
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - webhook_resend
                    attributes:
                      type: object
                      properties:
                        document_id:
                          type: string
                          format: uuid
                          description: Document ID to resend webhook for
                          example: 123e4567-e89b-12d3-a456-426614174000
                        webhook_config_id:
                          type: string
                          format: uuid
                          description: >-
                            Specific webhook config to resend to (optional - if
                            not provided, sends to all active configs)
                          example: 123e4567-e89b-12d3-a456-426614174000
                      required:
                        - document_id
                  required:
                    - type
                    - attributes
              required:
                - data
      responses:
        '202':
          description: Webhook delivery queued
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    type: object
                    properties:
                      message:
                        type: string
                    required:
                      - message
                required:
                  - meta
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        status:
                          type: string
                        title:
                          type: string
                        detail:
                          type: string
                      required:
                        - status
                        - title
                        - detail
                required:
                  - errors
        '404':
          description: Document or webhook config not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        status:
                          type: string
                        title:
                          type: string
                        detail:
                          type: string
                      required:
                        - status
                        - title
                        - detail
                required:
                  - errors
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
      description: |-
        API key for authentication.
        Access https://console.beltic.com/ to obtain your API key.

````