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

# Test webhook endpoint

> Send a test webhook to verify endpoint configuration



## OpenAPI

````yaml /swagger.json post /v1/apps/{app_id}/webhooks/{id}/test
openapi: 3.0.1
info:
  title: Scute API
  version: v1
  description: API for managing users in Scute applications
servers:
  - url: https://{defaultHost}
    variables:
      defaultHost:
        default: api.scute.io
  - url: http://localhost:3333
    description: Development server
security:
  - apiSecret: []
    userAccess: []
paths:
  /v1/apps/{app_id}/webhooks/{id}/test:
    parameters:
      - name: app_id
        in: path
        description: Application ID
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: Webhook endpoint ID
        required: true
        schema:
          type: string
    post:
      tags:
        - Webhooks
      summary: Test webhook endpoint
      description: Send a test webhook to verify endpoint configuration
      operationId: testWebhookEndpoint
      responses:
        '200':
          description: successful
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Success message
                    example: Test webhook dispatched
                  event_id:
                    type: string
                    description: ID of the test event created
        '404':
          description: not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message
                  error_code:
                    type: string
                    description: Error code
      security:
        - apiSecret: []
          userAccess: []
components:
  securitySchemes:
    apiSecret:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API Secret token
    userAccess:
      type: apiKey
      name: X-Authorization
      in: header
      description: User Access token

````