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

# Create a vertical (public, only one allowed)

> Bootstrap the single vertical record for this deployment. Public (no auth) because it runs once during initial install; returns 400 if a vertical already exists.



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/vertical
openapi: 3.0.3
info:
  title: Tether Relay and Tether API
  version: 1.0.0
  description: >-
    Route-derived OpenAPI contract generated from tether-relay backend sources.
    Regenerate with scripts/sync-openapi-from-backend.mjs.
servers:
  - url: https://your-instance.example.com
    description: Production
  - url: http://localhost:2212
    description: Local API service
security: []
tags:
  - name: AI
  - name: Applications
  - name: Approval
  - name: Auth
  - name: Automations
  - name: Calls
  - name: Campaigns
  - name: Contact Analytics
  - name: Contact Metrics
  - name: Contact Notes
  - name: Contacts
  - name: Conversation Monitor
  - name: Conversations
  - name: Departments
  - name: Email
  - name: Escalation Dashboard
  - name: Event Logs
  - name: Google Sheets
  - name: Marketplace
  - name: Messages
  - name: Notification Sounds
  - name: Notifications
  - name: Org Snapshots
  - name: Organizations
  - name: Outreach
  - name: Outreach Metrics
  - name: Outreach Sources
  - name: Pipelines
  - name: Processes
  - name: Prompts
  - name: Reminders
  - name: Sms
  - name: Templates
  - name: Traces
  - name: Training
  - name: Upload
  - name: User Snapshots
  - name: Users
  - name: Vertical
  - name: Webchats
  - name: Webhook
paths:
  /api/vertical:
    post:
      tags:
        - Vertical
      summary: Create a vertical (public, only one allowed)
      description: >-
        Bootstrap the single vertical record for this deployment. Public (no
        auth) because it runs once during initial install; returns 400 if a
        vertical already exists.
      operationId: post_vertical
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerticalCreateRequest'
      responses:
        '201':
          description: Vertical created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerticalMutationResponse'
        '400':
          description: Name is required or vertical already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerticalErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerticalErrorResponse'
components:
  schemas:
    VerticalCreateRequest:
      type: object
      properties:
        name:
          type: string
          description: >-
            Vertical display name (e.g. `Property Management`, `Auto Sales`);
            used to scope onboarding defaults.
      required:
        - name
      additionalProperties: false
      example:
        name: TetherAI
    VerticalMutationResponse:
      type: object
      description: Response from `POST /api/vertical`.
      properties:
        message:
          type: string
        vertical:
          $ref: '#/components/schemas/VerticalDto'
      required:
        - vertical
      additionalProperties: true
      example:
        message: Vertical created
        vertical:
          _id: 65b1f0a2c3d4e5f6a7b8c9d0
          name: TetherAI
          createdAt: '2026-05-18T12:00:00.000Z'
          updatedAt: '2026-05-18T12:00:00.000Z'
    VerticalErrorResponse:
      type: object
      description: Error envelope returned by vertical endpoints.
      properties:
        message:
          type: string
        error:
          type: string
      required:
        - message
      additionalProperties: true
      example:
        message: Vertical already exists
        error: CONFLICT
    VerticalDto:
      type: object
      description: >-
        The single vertical configured for this deployment. On the fallback path
        (no record exists yet) only `name` is populated.
      properties:
        _id:
          type: string
        name:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - name
      additionalProperties: true
      example:
        _id: 65b1f0a2c3d4e5f6a7b8c9d0
        name: TetherAI
        createdAt: '2026-01-12T09:15:00.000Z'
        updatedAt: '2026-04-04T17:42:00.000Z'

````