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

# Get Live Update

> Retrieve details of a specific live update including its history. Only accessible to users within the same team.




## OpenAPI

````yaml /openapi.yaml get /live-updates/{id}
openapi: 3.0.0
info:
  title: Answering Agent API
  description: API for Answering Agent platform
  version: 1.0.0
servers:
  - url: https://answeringagent.com/api/v1
    description: Production API
  - url: https://playground.answeringagent.com/api/v1
    description: Playground API
security: []
paths:
  /live-updates/{id}:
    get:
      tags:
        - Live Updates
      summary: Get Live Update
      description: >
        Retrieve details of a specific live update including its history. Only
        accessible to users within the same team.
      operationId: getLiveUpdate
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: integer
          description: The ID of the live update
      responses:
        '200':
          description: Live update details retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/LiveUpdateWithHistory'
                  message:
                    type: string
                    example: Live update retrieved successfully
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: Access denied - update belongs to different team
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: This action is unauthorized.
        '404':
          description: Live update not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Live update not found
      security:
        - BearerAuth: []
components:
  schemas:
    LiveUpdateWithHistory:
      allOf:
        - $ref: '#/components/schemas/LiveUpdate'
        - type: object
          properties:
            history:
              type: array
              description: Change history for this live update
              items:
                type: object
                properties:
                  id:
                    type: integer
                    description: History entry ID
                  action:
                    type: string
                    description: Type of action performed
                    enum:
                      - created
                      - updated
                      - cancelled
                      - restored
                  changes:
                    type: object
                    description: Details of what changed
                    nullable: true
                  created_at:
                    type: string
                    format: date-time
                    description: When this change occurred
                  user:
                    type: object
                    description: User who made the change
                    properties:
                      id:
                        type: integer
                      name:
                        type: string
                      email:
                        type: string
    LiveUpdate:
      type: object
      properties:
        id:
          type: integer
          description: Unique identifier for the live update
          example: 1
        title:
          type: string
          description: Title of the live update
          example: Temporary System Maintenance
          maxLength: 255
        message:
          type: string
          description: Detailed message for the live update
          example: >-
            We are currently performing system maintenance. Expected completion
            time is 2 PM.
          maxLength: 2000
        link:
          type: string
          format: uri
          nullable: true
          description: >-
            Optional URL for Flash Sale updates. Active Flash Sale links are
            available as text links.
          example: https://example.com/weekend-sale
          maxLength: 500
        type:
          type: string
          description: Type of live update
          enum:
            - announcement
            - wait_time
            - flash_sale
            - closure
            - schedule_change
          example: announcement
        starts_at:
          type: string
          format: date-time
          description: When the live update becomes active (ISO 8601 format)
          example: '2025-07-25T14:00:00Z'
        expires_at:
          type: string
          format: date-time
          nullable: true
          description: When the live update expires (null for no expiration)
          example: '2025-07-25T16:00:00Z'
        is_cancelled:
          type: boolean
          description: Whether the live update has been cancelled
          example: false
        created_at:
          type: string
          format: date-time
          description: When the live update was created
          example: '2025-07-25T10:30:00Z'
        updated_at:
          type: string
          format: date-time
          description: When the live update was last modified
          example: '2025-07-25T11:45:00Z'
        phone_numbers:
          type: array
          description: >-
            Phone numbers/locations this update applies to (empty array means
            all locations)
          items:
            type: object
            properties:
              id:
                type: integer
                description: Phone number ID
                example: 1
              name:
                type: string
                description: Location name
                example: Main Office
              phone_number:
                type: string
                description: Phone number in E.164 format
                example: '+1234567890'
        created_by:
          type: object
          description: User who created this live update
          properties:
            id:
              type: integer
              example: 1
            name:
              type: string
              example: John Doe
            email:
              type: string
              example: john@example.com
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: API key is required
                enum:
                  - API key is required
                  - Invalid credentials
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````