Automattic · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Telegram Bot API
9 actions
9 updates
phrasing
extends
openapi/automattic-telegram-bot-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Automattic's API. It is a proposal applied on top of the contract, not a document Automattic publishes.
What the actions change
x-apievangelist-phrasing
Targets 9
$.info
$.paths['/wpcom/v2/telegram-bot/assistant-webhook/{assistant_bot}'].post
$.paths['/wpcom/v2/telegram-bot/connect'].post
$.paths['/wpcom/v2/telegram-bot/connect-via-token'].post
$.paths['/wpcom/v2/telegram-bot/disconnect'].post
$.paths['/wpcom/v2/telegram-bot/local-agent-poll'].get
$.paths['/wpcom/v2/telegram-bot/local-agent-respond'].post
$.paths['/wpcom/v2/telegram-bot/status'].get
$.paths['/wpcom/v2/telegram-bot/webhook/{bot}'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Telegram Bot API
version: 1.0.0
extends: openapi/automattic-telegram-bot-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-12-02'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 8
- target: $.paths['/wpcom/v2/telegram-bot/assistant-webhook/{assistant_bot}'].post
update:
x-apievangelist-phrasing:
intent: Set a Telegram webhook for an assistant bot
effect: write
questions:
- How do I point a Telegram bot at the WordPress.com assistant webhook?
- Can I set a webhook for an assistant bot by its assistant bot ID?
instructions:
- text: Set the Telegram webhook for assistant bot {assistant_bot}.
slots:
assistant_bot: path.assistant_bot
- text: Point assistant bot {assistant_bot} at its webhook endpoint.
slots:
assistant_bot: path.assistant_bot
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/telegram-bot/connect'].post
update:
x-apievangelist-phrasing:
intent: Connect a Telegram user to WordPress.com
effect: write
questions:
- How do I link a Telegram user to my WordPress.com site?
- What Telegram data does the connect call need, like auth date and hash?
instructions:
- text: Connect Telegram user {id} with auth date {auth_date} and hash {hash}.
slots:
id: requestBody.id
auth_date: requestBody.auth_date
hash: requestBody.hash
- text: Link Telegram user {id} named {first_name} {last_name} with hash {hash} and auth date {auth_date}.
slots:
id: requestBody.id
first_name: requestBody.first_name
last_name: requestBody.last_name
hash: requestBody.hash
auth_date: requestBody.auth_date
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/telegram-bot/connect-via-token'].post
update:
x-apievangelist-phrasing:
intent: Connect a Telegram user by token
effect: write
questions:
- Can I connect a Telegram user using a token instead of a hash?
- What token and timestamp do I send to link a Telegram user?
instructions:
- text: Connect Telegram user {telegram_id} with token {token} and timestamp {ts}.
slots:
telegram_id: requestBody.telegram_id
token: requestBody.token
ts: requestBody.ts
- text: Link Telegram user {telegram_id} to bot {bot} using token {token} and timestamp {ts}.
slots:
telegram_id: requestBody.telegram_id
bot: requestBody.bot
token: requestBody.token
ts: requestBody.ts
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/telegram-bot/disconnect'].post
update:
x-apievangelist-phrasing:
intent: Disconnect the Telegram user
effect: destructive
questions:
- How do I unlink the Telegram user from WordPress.com?
- Can I disconnect the Telegram user from my site?
instructions:
- text: Disconnect the Telegram user.
- text: Unlink my Telegram account from WordPress.com.
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/telegram-bot/local-agent-poll'].get
update:
x-apievangelist-phrasing:
intent: Poll the local Telegram agent
effect: read
questions:
- How do I poll the local Telegram agent for messages?
- Can my bot fetch Telegram messages from the local agent?
instructions:
- text: Poll the local Telegram agent.
- text: Fetch pending Telegram messages from the local agent.
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/telegram-bot/local-agent-respond'].post
update:
x-apievangelist-phrasing:
intent: Respond to a Telegram message
effect: write
questions:
- How do I reply to a Telegram message from the local agent?
- Can I send a captioned reply to a Telegram message?
instructions:
- text: Respond to Telegram message {message_id} in chat {chat_id} with {text}.
slots:
message_id: requestBody.message_id
chat_id: requestBody.chat_id
text: requestBody.text
- text: Send a captioned reply {caption} to Telegram message {message_id} in chat {chat_id}.
slots:
caption: requestBody.caption
message_id: requestBody.message_id
chat_id: requestBody.chat_id
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/telegram-bot/status'].get
update:
x-apievangelist-phrasing:
intent: Check the Telegram bot status
effect: read
questions:
- Is the Telegram bot connected and online?
- What is the current status of my Telegram bot?
instructions:
- text: Get the Telegram bot status.
- text: Check whether the Telegram bot is connected.
method: generated
generated: '2026-12-02'
- target: $.paths['/wpcom/v2/telegram-bot/webhook/{bot}'].post
update:
x-apievangelist-phrasing:
intent: Set a Telegram bot webhook
effect: write
questions:
- How do I send my WordPress.com site's Telegram bot a webhook URL?
- Can I point a Telegram bot at a callback URL?
instructions:
- text: Set the Telegram bot webhook {bot}.
slots:
bot: path.bot
- text: Point Telegram bot {bot} at my callback URL.
slots:
bot: path.bot
method: generated
generated: '2026-12-02'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/automattic-telegram-bot-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.