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

# Start workflow

> Starts a workflow by its ID.



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/samplehc/openapi.documented.yml post /api/v1/workflows/{workflowId}/start
openapi: 3.0.3
info:
  title: Sample Healthcare API
  description: API for Sample Healthcare
  version: 1.0.0
servers: []
security: []
paths:
  /api/v1/workflows/{workflowId}/start:
    post:
      tags:
        - v1
      summary: Start workflow
      description: Starts a workflow by its ID.
      parameters:
        - schema:
            type: string
          in: path
          name: workflowId
          required: true
          description: The unique identifier of the workflow definition to start.
      requestBody:
        content:
          application/json:
            schema: {}
      responses:
        '200':
          description: >-
            Workflow initiated successfully, returning the ID for the run
            instance.
          content:
            application/json:
              schema:
                type: object
                properties:
                  workflowRunId:
                    type: string
                    description: >-
                      The unique identifier for this specific execution of the
                      workflow.
                required:
                  - workflowRunId
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: The error message.
                  message:
                    type: string
                    description: The message.
                  statusCode:
                    type: number
                    description: The status code.
                  details:
                    type: object
                    additionalProperties: {}
                    description: The details of the error
                additionalProperties: true
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Error message if workflow not found
                required:
                  - error
                additionalProperties: false

````