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

# Fire a synthetic test delivery to the partner's subscribed endpoints

> Emit a synthetic ``crew.status.changed`` event into the outbound rail.

Creates a real delivery (and enqueues it) for every endpoint the partner has
subscribed to that event, so an operator can prove a webhook is wired without
waiting for a live change. A no-op (``emitted: 0``) if no endpoint subscribes.



## OpenAPI

````yaml /api-reference/openapi.json post /api/v2/admin/partners/{partner_id}/webhook-test
openapi: 3.1.0
info:
  title: crewpass-api-v2
  description: >-
    CrewPass V2 Partner API — a scope-gated, consent-intersected, multi-tenant
    front door onto existing CrewPass crew/vessel/compliance data.
  version: 0.1.0
servers: []
security: []
paths:
  /api/v2/admin/partners/{partner_id}/webhook-test:
    post:
      tags:
        - admin
      summary: Fire a synthetic test delivery to the partner's subscribed endpoints
      description: >-
        Emit a synthetic ``crew.status.changed`` event into the outbound rail.


        Creates a real delivery (and enqueues it) for every endpoint the partner
        has

        subscribed to that event, so an operator can prove a webhook is wired
        without

        waiting for a live change. A no-op (``emitted: 0``) if no endpoint
        subscribes.
      operationId: fire_test_webhook_api_v2_admin_partners__partner_id__webhook_test_post
      parameters:
        - name: partner_id
          in: path
          required: true
          schema:
            type: string
            title: Partner Id
        - name: X-Internal-Auth
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Internal-Auth
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Fire Test Webhook Api V2 Admin Partners  Partner Id 
                  Webhook Test Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````