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

# Trigger webhook

> Backdoor for testing webhooks

<Note>This only works in our development environment</Note>


## OpenAPI

````yaml post /api/ext/v1/backdoor/webhook
openapi: 3.0.1
info:
  title: Covver External API docs
  description: Covver External API docs
  version: 0.1.0
servers:
  - url: https://staging-api.covver.io
    description: Covver Staging Server
  - url: https://api.covver.io
    description: Covver Production Server
  - url: http://localhost:8080
    description: Covver Local Server
security:
  - BearerAuth: []
tags:
  - name: Auth
    description: Authentication endpoints
  - name: Products
    description: Product endpoints
  - name: People
    description: People endpoints
  - name: Orders
    description: Orders endpoints
  - name: Reports
    description: Report endpoints
externalDocs:
  url: https://swagger.io
  description: Find more info here
paths:
  /api/ext/v1/backdoor/webhook:
    post:
      tags:
        - backdoor/webhooks
      description: Backdoor for testing webhooks
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - additionalProperties: false
                  type: object
                  properties:
                    webhookEventType:
                      enum:
                        - OrderConfirmed
                        - OrderFulfilled
                        - OrderPlaced
                    orderId:
                      type: string
                  required:
                    - webhookEventType
                    - orderId
                - additionalProperties: false
                  type: object
                  properties:
                    webhookEventType:
                      enum:
                        - ProductCreated
                        - ProductHidden
                        - ProductShown
                        - ProductUpdated
                    productId:
                      type: string
                  required:
                    - webhookEventType
                    - productId
                - additionalProperties: false
                  type: object
                  properties:
                    webhookEventType:
                      enum:
                        - CollectionCreated
                        - CollectionDeleted
                        - CollectionUpdated
                    collectionId:
                      type: string
                  required:
                    - webhookEventType
                    - collectionId
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                required:
                  - success
                nullable: true
        4XX:
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  errorCode:
                    type: string
                  error: {}
                  statusCode:
                    type: number
                required:
                  - message
                  - errorCode
                  - statusCode
        5XX:
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  errorCode:
                    type: string
                  error: {}
                  statusCode:
                    type: number
                required:
                  - message
                  - errorCode
                  - statusCode
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````