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

# Send team inbound event

> Requires a team API key (`bzy_team_*`) or internal auth. Dispatches matching team-scoped event automations. Include `project_id` only when sending a project-scoped event trigger.



## OpenAPI

````yaml /openapi/v1.json post /teams/{id}/webhooks/events
openapi: 3.1.0
info:
  title: Bugzy API
  description: >-
    Programmatic access to Bugzy's QA automation capabilities. Trigger test
    runs, query results, manage schedules, and configure event triggers.
  version: 1.0.0
  contact:
    name: Bugzy Support
    url: https://www.bugzy.ai
servers:
  - url: https://bugzy.ai/api/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /teams/{id}/webhooks/events:
    post:
      tags:
        - Team Webhooks
      summary: Send team inbound event
      description: >-
        Requires a team API key (`bzy_team_*`) or internal auth. Dispatches
        matching team-scoped event automations. Include `project_id` only when
        sending a project-scoped event trigger.
      operationId: sendTeamWebhookEvent
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                event_type:
                  type: string
                  example: test_results.received
                provider:
                  type: string
                  example: generic
                  default: generic
                connection_id:
                  type: string
                  example: generic-team-connection
                id:
                  type: string
                  description: Optional event id. Generated when omitted.
                source:
                  type: string
                  description: Optional CloudEvents source. Defaults to provider://teamId.
                subject:
                  type: string
                time:
                  type: string
                  format: date-time
                metadata:
                  type: object
                data:
                  type: object
                project_id:
                  type: string
                  format: uuid
                  description: Optional project id for project-scoped event triggers.
              required:
                - event_type
      responses:
        '200':
          description: >-
            Event accepted, dispatched, or filtered by matching
            automations/triggers
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Project API key (bzy_proj_*) for project routes or team API key
        (bzy_team_*) for selected team routes.

````