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

# Transcoding Webhook

> Triggered automatically during the video transcoding process to notify your system about status updates.
Sends video details such as ID, processing status, duration, and file sizes for real-time tracking or post-processing actions.



## OpenAPI

````yaml https://raw.githubusercontent.com/vidinfra/open-api-docs/refs/heads/main/openapi.json post /webhooks/transcoding/vidinfra
openapi: 3.0.1
info:
  title: Default module
  description: ''
  version: 1.0.0
servers:
  - url: https://api.tenbyte.io/v1/vidinfra
    description: Production server
security:
  - bearer: []
tags:
  - name: Library
  - name: Folder
  - name: Video
  - name: Subtitle
  - name: Video Thumbnails
  - name: Transcoding Profiles
  - name: Player Themes
  - name: Video Chapter
  - name: Webhook Endpoints
  - name: Webhook Deliveries
  - name: Security
  - name: Video Multipart Upload
  - name: Webhook
  - name: Migration Jobs
paths:
  /webhooks/transcoding/vidinfra:
    post:
      tags:
        - Webhook
      summary: Transcoding Webhook
      description: >-
        Triggered automatically during the video transcoding process to notify
        your system about status updates.

        Sends video details such as ID, processing status, duration, and file
        sizes for real-time tracking or post-processing actions.
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                video_id:
                  type: string
                  description: Unique identifier of the video that is being transcoded.
                id:
                  type: string
                  description: Unique identifier of the transcoding job or process.
                status:
                  type: string
                  description: >-
                    Current status of the transcoding process (e.g., 'queued',
                    'processing', 'completed', 'failed').
                duration:
                  type: integer
                  description: Total duration of the transcoded video in seconds.
                size:
                  type: integer
                  description: Size of the final transcoded video file in bytes.
                raw_size:
                  type: integer
                  description: >-
                    Size of the original source video file in bytes before
                    transcoding.
            example:
              video_id: 38dc2a4b-b2fe-46cf-ad7f-ee33a001ce49
              id: a7f590b4-3fd7-42a4-82bb-a7cfa6aa9d04
              status: processing
              duration: 1265
              size: 54321065
              raw_size: 98765465
      responses:
        '202':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
              example:
                message: transcoding webhook accepted
          headers: {}
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  success:
                    type: boolean
                required:
                  - message
                  - success
              example:
                message: Invalid Request
                success: false
          headers: {}
        '401':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  message:
                    type: string
                  success:
                    type: boolean
                required:
                  - code
                  - message
                  - success
              example:
                code: auth_type_not_found
                message: >-
                  Could not determine authentication type from request. Please
                  provide a valid Authorization header or X-API-Key header.
                success: false
          headers: {}
        '404':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  success:
                    type: boolean
                required:
                  - message
                  - success
              example:
                message: Resource not found
                success: false
          headers: {}
        '422':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                        code:
                          type: string
                        message:
                          type: string
                  success:
                    type: boolean
                required:
                  - message
                  - errors
                  - success
              example:
                message: Invalid Request
                errors:
                  - field: field_name
                    code: validation_required
                    message: This field is required
                success: false
          headers: {}
        '500':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  success:
                    type: boolean
                required:
                  - message
                  - success
              example:
                message: Internal server error
                success: false
          headers: {}
      deprecated: false
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````