> ## 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 new application management configuration

> Create an application-management configuration for the caller's organization. `configurationName` must be unique per-org; `defaultStatus` selects the status applied to new applications when none is provided.



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/application-management
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/application-management:
    post:
      tags:
        - ApplicationConfigs
      summary: Create a new application management configuration
      description: >-
        Create an application-management configuration for the caller's
        organization. `configurationName` must be unique per-org;
        `defaultStatus` selects the status applied to new applications when none
        is provided.
      operationId: post_application_config
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateApplicationConfigRequest'
      responses:
        '201':
          description: Configuration created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationConfigResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationManagementErrorResponse'
        '500':
          description: Failed to create configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationManagementErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    CreateApplicationConfigRequest:
      type: object
      properties:
        configurationName:
          type: string
          description: >-
            Internal identifier shown in the Applications management list
            (unique per org).
        name:
          type: string
          description: Display name surfaced on the Application record.
        description:
          type: string
          description: Free-text note explaining what this configuration is used for.
        source:
          type: string
          default: Any
          description: Origin label (e.g. `Zillow`, `Encompass`) used to attribute leads.
        defaultStatus:
          type: string
          description: Initial status applied to new Applications created with this config.
        allowRecontact:
          type: boolean
          default: false
          description: >-
            When true, the same contact can produce additional Applications even
            if a prior one exists.
        status:
          type: string
          enum:
            - active
            - inactive
          default: active
          description: >-
            Lifecycle state of the config itself: `active` makes it selectable,
            `inactive` retires it.
      required:
        - configurationName
        - defaultStatus
      additionalProperties: true
      example:
        configurationName: Mortgage CRM Webhook
        name: mortgage-crm
        description: Maps applications from Encompass CRM
        source: Encompass
        defaultStatus: new
        allowRecontact: false
        status: active
    ApplicationConfigResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
          additionalProperties: true
      additionalProperties: true
      example:
        success: true
        message: Configuration created
        data:
          _id: 66c0a0b0c0d0e0f0a0b0c0d0
          configurationName: Mortgage CRM Webhook
          source: Encompass
          defaultStatus: new
          status: active
          organizationId: 65a0e0e0e0e0e0e0e0e0e0e0
    ApplicationManagementErrorResponse:
      type: object
      description: >-
        Error envelope for `/api/application-management` endpoints. Most
        failures only set `error`; mutating endpoints occasionally surface a
        `success:false` + `message` pair.
      properties:
        error:
          type: string
        message:
          type: string
        success:
          type: boolean
          enum:
            - false
      required:
        - error
      additionalProperties: true
      example:
        error: Application management entry not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````