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

# Send test webhook event

> Sends a sample event of the given type to the webhook once and returns the endpoint's status code, response time, content type and response size. Test events are signed like real ones, are never retried, and share a limit of 10 per webhook per minute with redeliveries.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/workspace/webhooks/{webhook_id}/test
openapi: 3.1.0
info:
  title: Threetone API
  description: >-
    APIs for the Threetone Agents Platform and shared workspace resources.
    Authenticate programmatic requests with an API key in the x-api-key header.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/workspace/webhooks/{webhook_id}/test:
    post:
      tags:
        - workspace
      summary: Send test webhook event
      description: >-
        Sends a sample event of the given type to the webhook once and returns
        the endpoint's status code, response time, content type and response
        size. Test events are signed like real ones, are never retried, and
        share a limit of 10 per webhook per minute with redeliveries.
      operationId: send_test_webhook_event_route
      parameters:
        - name: webhook_id
          in: path
          required: true
          schema:
            type: string
            title: Webhook Id
            description: The ID of the webhook.
          description: The ID of the webhook.
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/Body_Send_test_webhook_event_v1_workspace_webhooks__webhook_id__test_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookSendResultResponseModel'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    Body_Send_test_webhook_event_v1_workspace_webhooks__webhook_id__test_post:
      properties:
        webhook_type:
          $ref: '#/components/schemas/WebhookTypes'
          description: The event type to send a sample of.
      type: object
      required:
        - webhook_type
      title: >-
        Body_Send_test_webhook_event_v1_workspace_webhooks__webhook_id__test_post
    WebhookSendResultResponseModel:
      properties:
        delivery_id:
          type: string
          title: Delivery Id
          description: >-
            The delivery ID, also sent in the Threetone-Webhook-Delivery-Id
            header.
        outcome:
          $ref: '#/components/schemas/WebhookOutcome'
          description: What happened to this attempt.
        response_code:
          anyOf:
            - type: integer
            - type: 'null'
          title: Response Code
          description: The HTTP status your endpoint returned, if it answered.
        latency_ms:
          anyOf:
            - type: integer
            - type: 'null'
          title: Latency Ms
          description: How long your endpoint took to answer, in milliseconds.
        response_content_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Response Content Type
          description: The Content-Type your endpoint answered with, if it answered.
        response_body_bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Response Body Bytes
          description: >-
            The size of your endpoint's response body in bytes, if it answered.
            The body itself is never stored or returned.
        failure_origin:
          anyOf:
            - type: string
            - type: 'null'
          title: Failure Origin
          description: >-
            Where a failure came from: recipient, configuration,
            external_transport or timeout.
      type: object
      required:
        - delivery_id
        - outcome
        - response_code
        - latency_ms
        - response_content_type
        - response_body_bytes
        - failure_origin
      title: WebhookSendResultResponseModel
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WebhookTypes:
      type: string
      enum:
        - project_conversion_status
        - chapter_conversion_status
        - post_call_transcription
        - post_call_transcription_otel
        - post_call_audio
        - post_call_unredacted_transcription
        - post_call_unredacted_transcription_otel
        - post_call_unredacted_audio
        - post_call_analysis
        - call_initiation_failure
        - conversation_initiation_client_data
        - answering_machine_detection
        - voice_removal_notice
        - voice_removal_notice_withdrawn
        - voice_removed
        - speech_to_text_transcription
        - webhook_error
        - speech_to_text_batch
        - agent_qa_evaluation_completed
        - convai_alerting_notification
        - flows_generation
        - flows_template_run
        - dubbing_project_ready
        - dubbing_project_failed
        - dubbing_language_completed
        - dubbing_language_failed
        - support_ticket_message_added
      title: WebhookTypes
    WebhookOutcome:
      type: string
      enum:
        - delivered
        - failed_retry_scheduled
        - failed_exhausted
        - failed_no_retry
        - failed_retry_error
        - dropped_queue_full
        - dropped_payload_too_large
        - skipped_disabled
        - not_sent_configuration
      title: WebhookOutcome
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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