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

# Trigger a workflow via webhook with applicationId

> Webhook variant that ties the run to a specific Application via the path parameter — the application is loaded and made available to workflow nodes alongside the supplied payload. Auth is the same as the unscoped webhook endpoint.



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/workflows/webhook/{applicationId}
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/workflows/webhook/{applicationId}:
    post:
      tags:
        - Workflows
      summary: Trigger a workflow via webhook with applicationId
      description: >-
        Webhook variant that ties the run to a specific Application via the path
        parameter — the application is loaded and made available to workflow
        nodes alongside the supplied payload. Auth is the same as the unscoped
        webhook endpoint.
      operationId: post_workflows_webhook_application
      parameters:
        - in: path
          name: applicationId
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowWebhookRequest'
      responses:
        '200':
          description: Webhook processed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowWebhookIngressLegacyResponse'
        '400':
          description: webhookId is required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowsErrorResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowsErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    WorkflowWebhookRequest:
      type: object
      properties:
        webhookId:
          type: string
          description: >-
            Must match a `WebhookTrigger.data.webhookId` in the caller's org;
            everything else in the body is forwarded as the trigger payload.
        payload:
          type: object
          description: >-
            Arbitrary trigger payload exposed verbatim to the `WebhookTrigger`
            node's output and downstream nodes' input.
          additionalProperties: true
      required:
        - webhookId
      additionalProperties: true
      example:
        webhookId: wh_64d2f9c5e8a1d4e001a0b1c3
        payload:
          source: zillow
          lead:
            name: Alex Nguyen
            email: alex.nguyen@example.com
            phone: '+14155551234'
    WorkflowWebhookIngressLegacyResponse:
      type: object
      description: >-
        Returned by the legacy workflow-webhook ingress family
        (`/api/workflows/webhook`, `/{applicationId}`,
        `/{applicationId}/{status}`). For the newer matched-count semantics see
        `/api/webhook/workflow` and `WorkflowWebhookIngressResponse`.
      properties:
        success:
          type: boolean
          enum:
            - true
        message:
          type: string
      required:
        - success
      additionalProperties: true
      example:
        success: true
        message: Webhook processed successfully
    WorkflowsErrorResponse:
      type: object
      description: Standard error envelope for Workflows endpoints.
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
      required:
        - success
      additionalProperties: true
      example:
        success: false
        message: Workflow not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````