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

# Every Telegram message that arrived, what it became, and what to do about the ones that became

> nothing.



## OpenAPI

````yaml /api-reference/openapi.json get /inbound_telegram
openapi: 3.0.0
info:
  description: ''
  title: >-
    The only schema PostgREST exposes. Reads are security_invoker views; writes
    are SECURITY DEFINER functions. Rebuilt wholesale on every deploy — it holds
    no data.
  version: 12.2.3
servers:
  - url: https://app.assetinfinity.ai/api
security: []
tags:
  - name: Signing in
  - name: Profile
  - name: Assets
  - name: Asset lifecycle
  - name: Work lifecycle
  - name: Maintenance
  - name: Inventory
  - name: Inventory detail
  - name: Procurement
  - name: Contracts
  - name: Workforce
  - name: Capacity
  - name: Dispatch
  - name: Tools
  - name: Inspections
  - name: Verification
  - name: Reliability
  - name: Parts demand
  - name: Sensors and meters
  - name: Map
  - name: Floor plans
  - name: Labels
  - name: Lost and found
  - name: Root cause analysis
  - name: Reports
  - name: Audit center
  - name: Activity
  - name: Notifications
  - name: Channels
  - name: Search
  - name: Copilot
  - name: Import
  - name: Files
  - name: Sync
  - name: Support
  - name: Admin
  - name: Access
  - name: Lookups
  - name: Read models
  - name: Branding
  - name: Custom fields
  - name: Form studio
  - name: Workflows
  - name: Workflow studio
  - name: Rules
  - name: Statuses and transitions
  - name: Currencies and locales
  - name: Work configuration
  - name: Asset configuration
  - name: Inventory configuration
  - name: Tool configuration
  - name: Workforce configuration
  - name: Vendor and contract configuration
  - name: Document configuration
  - name: Inspection configuration
  - name: Sites, locations and the organisation
  - name: Platform
  - name: Amendments
  - name: Asset clone
  - name: Asset components
  - name: Asset register
  - name: Asset transfer
  - name: Audit feed
  - name: Billing
  - name: Bookings
  - name: Budgets
  - name: Bulk jobs
  - name: Calibration history
  - name: Capex plans
  - name: Conversations
  - name: Costing
  - name: Currency
  - name: Dashboards
  - name: Directory sync
  - name: Document control
  - name: Document folders
  - name: Document tree
  - name: Documents
  - name: Energy
  - name: Extracts
  - name: Features
  - name: Feeds
  - name: File exchange
  - name: Filing exceptions
  - name: Finance
  - name: Inbound mail
  - name: Keys
  - name: Knowledge
  - name: Licence
  - name: List views
  - name: Locations
  - name: Mapping
  - name: Mcp
  - name: Mcp oauth
  - name: Mfa
  - name: Numbering
  - name: Permits
  - name: Readers
  - name: Reference
  - name: Reference columns
  - name: Reference entry
  - name: Release
  - name: Scim
  - name: Security streams
  - name: Self verification
  - name: Setup
  - name: Shutdown
  - name: Sso
  - name: Telegram
  - name: Tenant switch
  - name: The caller's own work
  - name: The checklist library
  - name: Tools on a job, and who has them out
  - name: Tray
  - name: Vendor spend forecast
  - name: Vendors and contracts
  - name: Visitors
  - name: Work order execution
  - name: Work sequencing
  - name: Workforce detail
externalDocs:
  description: PostgREST Documentation
  url: https://postgrest.org/en/v12/references/api.html
paths:
  /inbound_telegram:
    get:
      tags:
        - Telegram
      summary: >-
        Every Telegram message that arrived, what it became, and what to do
        about the ones that became
      description: nothing.
      parameters:
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.id'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.received_at'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.chat_id'
        - $ref: >-
            #/components/parameters/rowFilter.inbound_telegram.telegram_message_id
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.body_excerpt'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.status'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.refusal_reason'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.sender_user_id'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.sender_name'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.reply_status'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.reply_error'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.reply_language'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.attachments'
        - $ref: >-
            #/components/parameters/rowFilter.inbound_telegram.attachments_stored
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.attachment_detail'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.entity_type'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.entity_id'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.entity_reference'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.entity_title'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.remedy'
        - $ref: '#/components/parameters/rowFilter.inbound_telegram.holding'
        - $ref: '#/components/parameters/select'
        - $ref: '#/components/parameters/order'
        - $ref: '#/components/parameters/range'
        - $ref: '#/components/parameters/rangeUnit'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/preferCount'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/inbound_telegram'
                type: array
            application/vnd.pgrst.object+json:
              schema:
                items:
                  $ref: '#/components/schemas/inbound_telegram'
                type: array
            application/vnd.pgrst.object+json;nulls=stripped:
              schema:
                items:
                  $ref: '#/components/schemas/inbound_telegram'
                type: array
            text/csv:
              schema:
                items:
                  $ref: '#/components/schemas/inbound_telegram'
                type: array
          description: OK
        '206':
          description: Partial Content
components:
  parameters:
    rowFilter.inbound_telegram.id:
      in: query
      name: id
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.received_at:
      in: query
      name: received_at
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.chat_id:
      in: query
      name: chat_id
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.telegram_message_id:
      in: query
      name: telegram_message_id
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.body_excerpt:
      in: query
      name: body_excerpt
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.status:
      in: query
      name: status
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.refusal_reason:
      in: query
      name: refusal_reason
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.sender_user_id:
      in: query
      name: sender_user_id
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.sender_name:
      in: query
      name: sender_name
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.reply_status:
      in: query
      name: reply_status
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.reply_error:
      in: query
      name: reply_error
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.reply_language:
      in: query
      name: reply_language
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.attachments:
      in: query
      name: attachments
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.attachments_stored:
      in: query
      name: attachments_stored
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.attachment_detail:
      in: query
      name: attachment_detail
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.entity_type:
      in: query
      name: entity_type
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.entity_id:
      in: query
      name: entity_id
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.entity_reference:
      in: query
      name: entity_reference
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.entity_title:
      in: query
      name: entity_title
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.remedy:
      in: query
      name: remedy
      required: false
      schema:
        type: string
    rowFilter.inbound_telegram.holding:
      in: query
      name: holding
      required: false
      schema:
        type: string
    select:
      description: Filtering Columns
      in: query
      name: select
      required: false
      schema:
        type: string
    order:
      description: Ordering
      in: query
      name: order
      required: false
      schema:
        type: string
    range:
      description: Limiting and Pagination
      in: header
      name: Range
      required: false
      schema:
        type: string
    rangeUnit:
      description: Limiting and Pagination
      in: header
      name: Range-Unit
      required: false
      schema:
        default: items
        type: string
    offset:
      description: Limiting and Pagination
      in: query
      name: offset
      required: false
      schema:
        type: string
    limit:
      description: Limiting and Pagination
      in: query
      name: limit
      required: false
      schema:
        type: string
    preferCount:
      description: Preference
      in: header
      name: Prefer
      required: false
      schema:
        enum:
          - count=none
        type: string
  schemas:
    inbound_telegram:
      description: >-
        Every Telegram message that arrived, what it became, and what to do
        about the ones that became

        nothing.
      properties:
        attachment_detail:
          format: text
          type: string
        attachments:
          format: integer
          type: integer
        attachments_stored:
          format: integer
          type: integer
        body_excerpt:
          format: text
          type: string
        chat_id:
          format: character varying
          maxLength: 24
          type: string
        entity_id:
          format: uuid
          type: string
        entity_reference:
          format: text
          type: string
        entity_title:
          format: text
          type: string
        entity_type:
          format: character varying
          type: string
        holding:
          format: text
          type: string
        id:
          description: |-
            Note:
            This is a Primary Key.<pk/>
          format: uuid
          type: string
        received_at:
          format: timestamp with time zone
          type: string
        refusal_reason:
          format: character varying
          maxLength: 40
          type: string
        remedy:
          format: text
          type: string
        reply_error:
          format: text
          type: string
        reply_language:
          format: character varying
          maxLength: 100
          type: string
        reply_status:
          format: character varying
          maxLength: 20
          type: string
        sender_name:
          format: character varying
          maxLength: 200
          type: string
        sender_user_id:
          description: >-
            Note:

            This is a Foreign Key to `capex_invite_candidates.id`.<fk
            table='capex_invite_candidates' column='id'/>
          format: uuid
          type: string
        status:
          format: character varying
          maxLength: 20
          type: string
        telegram_message_id:
          format: bigint
          type: integer
      type: object

````