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

# Create Tool

> Create a new module instance



## OpenAPI

````yaml POST /module/instance
openapi: 3.1.0
info:
  title: Aidan API
  description: API for managing AI agents (chatbots and voicebots) on the Outbox platform
  version: 1.0.0
servers:
  - url: https://api.callaidan.com
security: []
tags:
  - name: Webhooks
    description: >-
      **Inbound notifications.** After a voice call ends, Aidan POSTs JSON to
      the Webhook URL on your agent (Voice Agents settings or `webhook_url`).
      Your server receives these requests — they are not calls *to*
      `api.callaidan.com`. The documented path `/_reference/webhooks/...` exists
      only in this spec so the payload schema can appear in the API Reference;
      it is not callable on the production API.
paths:
  /module/instance:
    post:
      summary: Create Module Instance
      description: Create a new module instance
      requestBody:
        description: Module instance creation details
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModuleInstanceCreate'
      responses:
        '201':
          description: Module instance created successfully
        '400':
          description: Bad Request - Missing required fields
        '401':
          description: Unauthorized - Invalid or missing API key
        '403':
          description: Forbidden - Insufficient permissions (requires level 3)
      security:
        - CompanyApiKey: []
components:
  schemas:
    ModuleInstanceCreate:
      type: object
      required:
        - module_id
      properties:
        module_id:
          type: string
          description: ID of the module to create an instance from
        instance_name:
          type: string
          description: Name for the instance (defaults to module name if not provided)
  securitySchemes:
    CompanyApiKey:
      type: apiKey
      in: header
      name: Authorization
      description: Company API Key

````