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

# Convert multiple markdown strings to rich text JSON

> Batch variant of `/markdown-to-rich-text`. Accepts an array of markdown strings and returns their rich text JSON in the same order.



## OpenAPI

````yaml /openapi/customer-api.json post /convert/markdown-to-rich-text/batch
openapi: 3.0.0
info:
  contact: {}
  description: >-
    Flow customer API reference. Start with the [quickstart](/api/quickstart)
    and [authentication guide](/api/authentication).
  title: Customer API
  version: 1.0.0
servers:
  - description: Flow API
    url: https://backend.branch.flowengineering.com
security: []
tags:
  - name: Automations
  - name: Branches
  - name: Comments
  - name: Convert
  - name: Data Model
  - name: Diagrams
  - name: Entities
  - name: Files
  - name: Import
  - name: Notifications
  - name: Projects
  - name: ReqIF
  - name: ReqIF Import
  - name: Shared Access Grants
  - name: User Groups
  - name: Users
paths:
  /convert/markdown-to-rich-text/batch:
    post:
      tags:
        - Convert
      summary: Convert multiple markdown strings to rich text JSON
      description: >-
        Batch variant of `/markdown-to-rich-text`. Accepts an array of markdown
        strings and returns their rich text JSON in the same order.
      operationId: ConvertController_batchMarkdownToRichText
      parameters:
        - description: Workspace identifier
          in: header
          name: customer
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchMarkdownToRichTextDto'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  richText:
                    items:
                      type: array
                    type: array
                type: object
          description: Array of rich text JSON arrays, one per input markdown string
      security:
        - api-key: []
        - bearer: []
components:
  schemas:
    BatchMarkdownToRichTextDto:
      properties:
        markdown:
          description: Markdown strings to convert. Order is preserved in the response.
          items:
            type: string
          type: array
      required:
        - markdown
      type: object
  securitySchemes:
    api-key:
      in: header
      name: X-API-Key
      type: apiKey
    bearer:
      bearerFormat: JWT
      scheme: bearer
      type: http

````