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

# Trigger a project webhook

> Receive a deployment webhook and trigger PR testing when configured.



## OpenAPI

````yaml /openapi.json post /v1/webhook/{webhookId}/{secret}
openapi: 3.0.0
info:
  title: TestArmy API
  version: 1.0.0
  description: >-
    AI-powered browser automation API for QA testing. Automate web testing
    workflows using natural language prompts.
servers:
  - url: https://tester.army/api
    description: Production API server
security: []
paths:
  /v1/webhook/{webhookId}/{secret}:
    post:
      tags:
        - Webhooks
      summary: Trigger a project webhook
      description: Receive a deployment webhook and trigger PR testing when configured.
      parameters:
        - schema:
            type: string
            format: uuid
            description: Webhook ID
          required: true
          description: Webhook ID
          name: webhookId
          in: path
        - schema:
            type: string
            description: Webhook secret
          required: true
          description: Webhook secret
          name: secret
          in: path
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                nullable: true
      responses:
        '200':
          description: Webhook accepted
          content:
            application/json:
              schema:
                type: object
                properties:
                  received:
                    type: boolean
                  ignored:
                    type: boolean
                  reason:
                    type: string
                  runId:
                    type: string
                    format: uuid
                  batchId:
                    type: string
                    format: uuid
                    deprecated: true
                    description: >-
                      First created batch only. Use batchIds, which covers every
                      PR test group.
                  batchIds:
                    type: array
                    items:
                      type: string
                      format: uuid
                    description: >-
                      One batch per selected PR test group started by this
                      delivery.
                required:
                  - received
        '400':
          description: Bad Request - Invalid input parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error code or type
                  message:
                    type: string
                    description: Human-readable error message
                required:
                  - error
                  - message
        '401':
          description: Unauthorized - Invalid or missing API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error code or type
                  message:
                    type: string
                    description: Human-readable error message
                required:
                  - error
                  - message
        '429':
          description: Too Many Requests - Usage limit exceeded
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error code or type
                  message:
                    type: string
                    description: Human-readable error message
                required:
                  - error
                  - message
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error code or type
                  message:
                    type: string
                    description: Human-readable error message
                required:
                  - error
                  - message
        '504':
          description: Gateway Timeout - Test execution exceeded time limit
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error code or type
                  message:
                    type: string
                    description: Human-readable error message
                required:
                  - error
                  - message

````