> ## 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.

# Get application by id

> Returns a single Application with `contactId` and `userId` populated as partial documents (firstName/lastName/phoneNumber/email and fullName/email respectively). Scoped to the caller organization.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/applications/{id}
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/applications/{id}:
    get:
      tags:
        - Applications
      summary: Get application by id
      description: >-
        Returns a single Application with `contactId` and `userId` populated as
        partial documents (firstName/lastName/phoneNumber/email and
        fullName/email respectively). Scoped to the caller organization.
      operationId: get_application_by_id
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Application returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationSingleResponse'
        '404':
          description: Application not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationsErrorResponse'
        '500':
          description: Failed to fetch application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationsErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    ApplicationSingleResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          $ref: '#/components/schemas/ApplicationDocument'
      required:
        - success
        - data
      additionalProperties: true
      example:
        success: true
        data:
          _id: 64d2f9c5e8a1d4e001a0b1c2
          name: Maple Court — Unit 412
          organizationId: 64a1b2c3d4e5f60012345678
          status: in_progress
          pipelineId: 64a1b2c3d4e5f6001234567a
          pipelineStage: Tour scheduled
          createdAt: '2026-04-12T14:22:10.000Z'
          updatedAt: '2026-04-22T10:14:00.000Z'
    ApplicationsErrorResponse:
      type: object
      description: Standard error envelope for Applications endpoints (CRUD + list).
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
        error:
          description: >-
            Optional error detail (string or structured object on validation
            failures).
      required:
        - success
      additionalProperties: true
      example:
        success: false
        message: Application not found
    ApplicationDocument:
      type: object
      description: >-
        An `Application` document. Populated fields (`contactId`, `userId`) may
        be either an ObjectId string or a partial subset of the related
        document.
      properties:
        _id:
          type: string
        name:
          type: string
        organizationId:
          type: string
        contactId:
          description: >-
            ObjectId or populated Contact subset (firstName, lastName,
            phoneNumber, email).
        userId:
          description: ObjectId or populated User subset (fullName, email).
        status:
          type: string
        pipelineId:
          type: string
          nullable: true
        pipelineStage:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      additionalProperties: true
      example:
        _id: 64d2f9c5e8a1d4e001a0b1c2
        name: Maple Court — Unit 412
        organizationId: 64a1b2c3d4e5f60012345678
        contactId:
          _id: 64b2c3d4e5f60012345678aa
          firstName: Alex
          lastName: Nguyen
          phoneNumber: '+14155551234'
          email: alex.nguyen@example.com
        userId:
          _id: 64a1b2c3d4e5f60012345679
          fullName: Jordan Lee
          email: jordan@maplegroup.example
        status: in_progress
        pipelineId: 64a1b2c3d4e5f6001234567a
        pipelineStage: Tour scheduled
        createdAt: '2026-04-12T14:22:10.000Z'
        updatedAt: '2026-04-22T10:14:00.000Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````