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

# Start a workflow for an end user

> Start a workflow by heron_id for an end user, or start the default workflow if no workflow_heron_id provided



## OpenAPI

````yaml https://app.herondata.io/swagger post /api/workflow/start
openapi: 3.0.0
info:
  contact:
    email: support@herondata.io
    name: Support
  title: Heron Data API
  version: '2021-07-19'
servers:
  - description: Production
    url: https://app.herondata.io
security:
  - ApiKeyAuth:
      - key_XXX
externalDocs:
  description: Read Tutorial
  url: https://docs.herondata.io/
paths:
  /api/workflow/start:
    post:
      tags:
        - Workflows
      summary: Start a workflow for an end user
      description: >-
        Start a workflow by heron_id for an end user, or start the default
        workflow if no workflow_heron_id provided
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowStartRequestSchema'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowStartResponseSchema'
          description: Workflow started successfully
        '404':
          description: End user or workflow not found
      security:
        - ApiKeyAuth: []
components:
  schemas:
    WorkflowStartRequestSchema:
      properties:
        end_user_heron_id:
          type: string
        silent_run:
          default: false
          type: boolean
        trigger_id:
          description: Trigger node ID on the resolved workflow version.
          nullable: true
          type: string
        trigger_payload:
          additionalProperties: {}
          description: JSON payload validated against the trigger node schema when present.
          type: object
        workflow_heron_id:
          nullable: true
          type: string
        workflow_parameters:
          additionalProperties: {}
          default: {}
          type: object
        workflow_version_number:
          nullable: true
          type: integer
      required:
        - end_user_heron_id
      type: object
    WorkflowStartResponseSchema:
      properties:
        action:
          readOnly: true
          type: string
        status:
          readOnly: true
          type: string
        workflow_execution_id:
          readOnly: true
          type: string
        workflow_id:
          readOnly: true
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````