> ## 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 SMS status for all automations in user organization

> Return SMS-readiness status for every automation in the caller's organization. Used by the marketplace template-import flow to show which automations a template can be applied to.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/marketplace/automations/sms-status
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/marketplace/automations/sms-status:
    get:
      tags:
        - Marketplace
      summary: Get SMS status for all automations in user organization
      description: >-
        Return SMS-readiness status for every automation in the caller's
        organization. Used by the marketplace template-import flow to show which
        automations a template can be applied to.
      operationId: get_automations_sms_status
      responses:
        '200':
          description: Automation SMS statuses returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketplaceAutomationsSmsStatusResponse'
        '404':
          description: User not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketplaceErrorResponse'
        '500':
          description: Failed to fetch automation SMS status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MarketplaceErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    MarketplaceAutomationsSmsStatusResponse:
      type: array
      items:
        $ref: '#/components/schemas/MarketplaceAutomationSmsStatus'
      example:
        - automationId: 5f7b1c2e8a1d4e0012c3b4a5
          automationName: Inbound Support
          hasSmsEnabled: true
          phoneNumber: '+12362320246'
          message: SMS-ready
        - automationId: 6a8c2d3f9b1e5a0023d4c5b6
          automationName: Outreach Campaign
          hasSmsEnabled: false
          phoneNumber: ''
          message: No SMS number provisioned
    MarketplaceErrorResponse:
      type: object
      description: Generic error envelope returned by Marketplace endpoints.
      properties:
        error:
          type: string
        details:
          type: string
      required:
        - error
      additionalProperties: true
      example:
        error: Marketplace item not found
    MarketplaceAutomationSmsStatus:
      type: object
      properties:
        automationId:
          type: string
        automationName:
          type: string
        hasSmsEnabled:
          type: boolean
        phoneNumber:
          type: string
        message:
          type: string
      required:
        - automationId
        - automationName
        - hasSmsEnabled
      additionalProperties: true
      example:
        automationId: 5f7b1c2e8a1d4e0012c3b4a5
        automationName: Inbound Support
        hasSmsEnabled: true
        phoneNumber: '+12362320246'
        message: SMS-ready
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````