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

# Telegram bot webhook

> Receives incoming updates from Telegram via webhook. Each integration has a unique webhook URL including the integration ID. Parses /start <token> messages to pair chats.



## OpenAPI

````yaml /api-reference/openapi.json post /api/integrations/telegram/webhook/{integrationId}
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/integrations/telegram/webhook/{integrationId}:
    post:
      tags:
        - Integrations
      summary: Telegram bot webhook
      description: >-
        Receives incoming updates from Telegram via webhook. Each integration
        has a unique webhook URL including the integration ID. Parses /start
        <token> messages to pair chats.
      operationId: IntegrationsController_telegramWebhook
      parameters:
        - name: integrationId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    AppResponseSerialization:
      type: object
      properties: {}

````