# Using the conversation API for telegram

You can use a custom backend and forward the entire webhook payload to your integration using the FlowBridge conversation API for your integration. Read more about using the API on [Custom integration through API](/documentation/advanced-use-cases/custom-integration-through-api.md)

## Telegram Specifics

In the case of Telegram; Telegram will send a  [Telegram Update](https://core.telegram.org/bots/api#update) within the backend of your application. You can then send over the entire payload to FlowBridge to process it and send out the response to the user.&#x20;

1. Go to Client Integrations and click on the integration you created for Telegram
2. Here you can find a button called “Integration Info”, click on it\
   ![](/files/w1QI3dbTBmbasn5sIVZM)
3. This will open a modal which contains the specific webhook URL for the integration
4. There is also a “Telegram Verification Token”. This ensures the webhook is coming from the correct place. You will need to supply a custom Header with the `POST` request to the endpoint called `X-Telegram-Bot-Api-Secret-Token` where the value of it is the verification token
5. Make sure the payload to the endpoint is the exact payload that is sent by Telegram
6. Once the API endpoint is hit, FlowBridge will take care of the rest and use the Telegram bot API to send responses from Voiceflow to the chat which is provided by the [telegram update payload](https://core.telegram.org/bots/api#update)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flowbridge.app/documentation/social-integrations/telegram/using-the-conversation-api-for-telegram.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
