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

# Test webhook by sending sample data



## OpenAPI

````yaml post /profile/test-webhook
openapi: 3.0.0
info:
  title: ClearTalk API
  description: The ClearTalk API Documentation
  version: '1.0'
  contact:
    name: Developer Support
    email: devsupport@cleartalk.ai
servers:
  - url: https://api.cleartalk.ai
    description: ClearTalk AI API Server
security: []
tags: []
paths:
  /profile/test-webhook:
    post:
      tags:
        - profile
      summary: Test webhook by sending sample data
      operationId: ProfileController_testWebhook
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookTestRequestDto'
      responses:
        '200':
          description: Webhook test successful
        '500':
          description: Failed to send data to webhook
      security:
        - apiKey: []
components:
  schemas:
    WebhookTestRequestDto:
      type: object
      properties:
        webhookUrl:
          type: string
      required:
        - webhookUrl
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````