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

# Send a test event

> Dispatches a signed webhook.test envelope synchronously and reports the truthful outcome, including outcome_unknown when no response was observed after dispatch. Requires the manage:organization permission.



## OpenAPI

````yaml POST /api/v1/organization/webhooks/{endpointId}/test
openapi: 3.1.0
info:
  title: Weelkit Publishing Integrations API
  description: >-
    Public endpoints for organization custom article fields, API webhook
    destinations, and WordPress.com site discovery. All requests require a
    bearer token and an X-Org-Id organization header.
  version: 1.0.0
servers:
  - url: https://api.weelkit.com
security:
  - bearerAuth: []
paths:
  /api/v1/organization/webhooks/{endpointId}/test:
    post:
      summary: Send a test event
      description: >-
        Dispatches a signed webhook.test envelope synchronously and reports the
        truthful outcome, including outcome_unknown when no response was
        observed after dispatch. Requires the manage:organization permission.
      operationId: testWebhookEndpoint
      parameters:
        - name: X-Org-Id
          in: header
          required: true
          schema:
            type: string
            format: uuid
          description: The organization the request acts on.
        - name: endpointId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Success.
          content:
            application/json:
              schema:
                type: object
                required:
                  - deliveryId
                  - status
                properties:
                  deliveryId:
                    type: string
                    format: uuid
                  status:
                    type: string
                    enum:
                      - pending
                      - success
                      - failed
                      - outcome_unknown
                  statusCode:
                    type:
                      - integer
                      - 'null'
                  errorCategory:
                    type:
                      - string
                      - 'null'
                  receipt:
                    type:
                      - object
                      - 'null'
                    description: >-
                      Bounded typed receipt parsed from an allowlisted 2xx JSON
                      response; null means accepted-only.
                    properties:
                      status:
                        type: string
                        enum:
                          - accepted
                          - draft
                          - published
                          - rejected
                      remoteId:
                        type:
                          - string
                          - 'null'
                        maxLength: 256
                      remoteUrl:
                        type:
                          - string
                          - 'null'
                        format: uri
                      remoteVersion:
                        type:
                          - string
                          - 'null'
                        maxLength: 128
                      acceptedAtUtc:
                        type: string
                        format: date-time
                      message:
                        type:
                          - string
                          - 'null'
                        maxLength: 500
        '401':
          description: Missing or invalid authentication, or no organization context.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The caller lacks the manage:organization permission.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: The resource was not found in this organization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Stable error code, e.g. Validation, Conflict, NotFound, Forbidden.
        message:
          type: string
        errors:
          type:
            - array
            - 'null'
          items:
            type: object
            required:
              - field
              - message
            properties:
              field:
                type: string
              message:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Weelkit access token.

````

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