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

# Create prompt

> Creates a new prompt template



## OpenAPI

````yaml POST /prompts
openapi: 3.1.0
info:
  title: Kakiyo API
  description: API for automating LinkedIn outreach campaigns with AI-powered conversations
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.kakiyo.com/v1
security:
  - bearerAuth: []
paths:
  /prompts:
    post:
      summary: Create Prompt
      description: Creates a new prompt template
      operationId: createPrompt
      requestBody:
        description: Prompt to create
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePromptRequest'
        required: true
      responses:
        '201':
          description: Prompt created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Prompt created successfully
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    CreatePromptRequest:
      type: object
      required:
        - name
        - model
        - type
      properties:
        name:
          type: string
          minLength: 3
          example: Sales Outreach Sequence
        model:
          type: string
          description: >-
            The ID of the AI model to use for this prompt. You can retrieve
            available model IDs from your dashboard.
          example: model_claude3
        type:
          type: string
          enum:
            - Messages
            - Comment
          description: >-
            The prompt type. `Messages` is used for direct LinkedIn message
            outreach. `Comment` is reserved for an upcoming feature that will
            enable AI-powered engagement on prospects' LinkedIn posts.
          example: Messages
    Error:
      type: object
      properties:
        error:
          type: string
          example: validation_error
        message:
          type: string
          example: The request parameters failed validation
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
                example: name
              message:
                type: string
                example: The name field is required
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````