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

# Create Workflow

> Creates a new workflow in the authenticated workspace.



## OpenAPI

````yaml POST /v1/workflows
openapi: 3.1.0
info:
  title: Impresiv API
  description: API for managing Impresiv workflows and receiving execution webhooks.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.impresivai.com
security:
  - bearerAuth: []
paths:
  /v1/workflows:
    post:
      summary: Create workflow
      description: Creates a new workflow in the authenticated workspace.
      requestBody:
        description: Workflow payload
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWorkflowRequest'
        required: true
      responses:
        '201':
          description: Workflow created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workflow'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreateWorkflowRequest:
      required:
        - name
      type: object
      properties:
        name:
          type: string
          example: Send AI Summary to Slack
        description:
          type: string
          nullable: true
        isActive:
          type: boolean
          default: false
    Workflow:
      required:
        - id
        - name
        - status
        - createdAt
      type: object
      properties:
        id:
          description: Workflow identifier
          type: string
        name:
          description: Workflow name
          type: string
        description:
          description: Workflow description
          type: string
          nullable: true
        status:
          $ref: '#/components/schemas/WorkflowStatus'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
          nullable: true
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: string
          example: invalid_request
        message:
          type: string
    WorkflowStatus:
      type: string
      enum:
        - draft
        - published
        - archived
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````