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

# Update outreach close stages

> Replaces the list of pipeline stage names that count as "closed" for outreach metrics. Admin-only (own org for Admin; any org for SuperAdmin). Body must contain a stages array of strings.



## OpenAPI

````yaml /api-reference/openapi.yaml put /api/organizations/{organizationId}/outreach-close-stages
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/organizations/{organizationId}/outreach-close-stages:
    put:
      tags:
        - Organizations
      summary: Update outreach close stages
      description: >-
        Replaces the list of pipeline stage names that count as "closed" for
        outreach metrics. Admin-only (own org for Admin; any org for
        SuperAdmin). Body must contain a stages array of strings.
      operationId: put_organizations_organizationId_outreach_close_stages
      parameters:
        - in: path
          name: organizationId
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOutreachCloseStagesRequest'
      responses:
        '200':
          description: Close stages updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OutreachCloseStagesResponse'
        '400':
          description: '"stages" must be an array of strings'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationStatusErrorResponse'
        '403':
          description: Admin access required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationStatusErrorResponse'
        '500':
          description: Error updating close stages
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationStatusErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateOutreachCloseStagesRequest:
      type: object
      properties:
        stages:
          type: array
          items:
            type: string
          description: >-
            Pipeline stage names treated as "closed" outcomes (e.g. "Closed
            Won", "Funded") for outreach conversion/ROI metrics.
      required:
        - stages
      additionalProperties: true
      example:
        stages:
          - Closed Won
          - Funded
    OutreachCloseStagesResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - true
        data:
          type: array
          items:
            type: string
      additionalProperties: true
      example:
        success: true
        data:
          - Closed Won
          - Funded
    OrganizationStatusErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
      additionalProperties: true
      example:
        success: false
        message: Access denied
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````