KEZAYO Meet
PricingSolutionsEnterpriseResourcesDownload
JoinSign inStart Free
JoinSign inStart Free
Developers

KEZAYO Bots

A bot is a KEZAYO chat account run by your program. People find it by its @username, open a chat, and your bot answers through a simple HTTPS API.

On this page

  1. 1. Make a bot
  2. 2. The Bot API
  3. 3. Updates
  4. 4. Buttons and commands
  5. 5. Webhooks
  6. 6. Limits and errors
  7. 7. Rules

1. Make a bot

  1. Sign in to KEZAYO Chat and search @botmaker_bot.
  2. Send /newbot, accept the rules, then choose a name and a username that ends in bot (5–30 characters, for example TaxHelperBot).
  3. You get a token like 123:AbC…. Treat it as a password. The message deletes itself after 10 minutes; if you lose the token, send /newtoken @yourbot (the old one stops working).

Other commands: /mybots, /setdescription @yourbot, /deletebot @yourbot, /cancel. You can have up to 5 bots.

Bots never message anyone first and only write in chats a person opened. A person can block a bot. Your bot sees the person’s display name, @username (if they have one) and a code that identifies them to your bot only — never their e-mail, phone number or KEZAYO account id.

2. The Bot API

Base URL: https://kezayo.com/botapi/<token>/<method>. Use POST with a JSON body (or GET with a query string). Every reply is { "ok": true, "result": … } or { "ok": false, "error_code": 403, "description": "…" }.

MethodParametersWhat it does
getMe—The bot’s id, name and username.
sendMessagechat_id, text (up to 4096 characters), reply_to_message_id?, client_msg_id?Sends a message. The same client_msg_id is sent only once.
editMessageTextchat_id, message_id, textEdits a message the bot sent.
deleteMessagechat_id, message_idDeletes a message the bot sent.
getUpdatesoffset?, limit? (up to 100), timeout? (seconds, up to 25)Messages people sent. Pass offset = last update_id + 1 to confirm the earlier ones.
setWebhookurl (https), secret_token?Send updates to your server instead of waiting for getUpdates.
setMyCommandscommands: [{command, description}] (up to 50)The “/” menu people see in your chat. getMyCommands and deleteMyCommands read and clear it.
editMessageReplyMarkupchat_id, message_id, reply_markup?Change the buttons of a message (leave reply_markup out to remove them).
answerCallbackQuerycallback_query_id, text?Acknowledge a button tap. (The text is shown to the person in a later release.)
deleteWebhook / getWebhookInfo—Remove the webhook / see it and the number of waiting updates.

A small bot that repeats what people write (Node 18 or newer):

const API = `https://kezayo.com/botapi/${process.env.BOT_TOKEN}`;
const call = (m, b) => fetch(`${API}/${m}`, {
  method: 'POST', headers: { 'content-type': 'application/json' }, body: JSON.stringify(b),
}).then((r) => r.json());

let offset = 0;
for (;;) {
  const { result = [] } = await call('getUpdates', { offset, timeout: 25 });
  for (const u of result) {
    offset = u.update_id + 1;
    if (u.message?.text) await call('sendMessage', { chat_id: u.message.chat.id, text: `You said: ${u.message.text}` });
  }
}

3. Updates

Each message a person sends arrives as an update. chat.id is what you pass back as chat_id. Only text messages are delivered for now.

{ "update_id": 42,
  "message": { "message_id": 7,
    "chat": { "id": "<chat id>", "type": "private" },
    "from": { "id": "u3f9a…", "first_name": "Asha", "username": "asha", "is_bot": false },
    "date": 1795000000, "text": "/start" } }

Updates wait up to 24 hours. getUpdates and a webhook cannot be used at the same time (409).

4. Buttons and commands

Buttons. sendMessage and editMessageText accept reply_markup:

{ "chat_id": "<chat id>", "text": "Continue?",
  "reply_markup": { "inline_keyboard": [
    [ { "text": "Yes", "callback_data": "yes" }, { "text": "No", "callback_data": "no" } ],
    [ { "text": "Read the guide", "url": "https://kezayo.com/developers/bots" } ] ] } }

Up to 6 rows of 1–4 buttons (20 in all); button text up to 64 characters; each button has either callback_data (up to 64 bytes) or an https url. When a person taps a callback button your bot gets an update with callback_query:

{ "update_id": 43,
  "callback_query": { "id": "<id>", "data": "yes",
    "from": { "id": "u3f9a…", "first_name": "Asha", "is_bot": false },
    "message": { "message_id": 7, "chat": { "id": "<chat id>", "type": "private" }, "text": "Continue?" } } }

editMessageText without reply_markup removes the buttons.

Commands menu. Call setMyCommands with { "commands": [{ "command": "start", "description": "Begin" }] }. People see a / button in your chat; choosing a command sends /command as a normal text message.

5. Webhooks

Set setWebhook to an https address. Your server gets a POST with the update as JSON and must answer 2xx within 10 seconds. Updates arrive in order; a failure is retried after 5 s, 10 s, 20 s … up to 1 hour. The header X-Kezayo-Bot-Secret carries your secret_token, so you can check the call is ours. Addresses on private or internal networks are refused.

6. Limits and errors

  • Up to 20 messages per second across all chats (bursts of 30), and 1 per second in one chat (bursts of 20). A 429 reply tells you how long to wait (parameters.retry_after).
  • 401 wrong or replaced token · 403 the person blocked the bot, the bot is not in that chat, or it was disabled · 404 unknown method · 409 a webhook is set · 413 too large · 429 slow down.

7. Rules

  • No spam. People must choose to chat with your bot.
  • Do not pretend to be KEZAYO, a person or a company.
  • Collect only what your bot needs, and keep it safe.
  • Nothing illegal, harmful or deceptive.
  • You are responsible for your bot. KEZAYO may disable any bot that breaks these rules. Questions: [email protected].
KEZAYO Meet

Chat. Meet. Present. Teach. Hire. Go live.
One platform for HD video meetings, webinars, whiteboards and a creator marketplace — by BIDUA Industries Pvt Ltd.

Support: Send a message · [email protected]

𝕏in▶⌨

Product

  • Features
  • Meetings
  • Webinars
  • Meeting Reports
  • Live Captions
  • Helpdesk
  • Hire a Creator
  • Pricing
  • Download

Solutions

  • For Business
  • For Creators
  • For Educators
  • For Startups
  • Security & Privacy
  • Enterprise

Resources

  • Help Center
  • Blog
  • About
  • Contact
  • Partners
  • Refer & Earn
  • Helpdesk guide & API
  • Partner API

Legal

  • Terms
  • Privacy
  • Acceptable Use
  • Community Guidelines
  • Refund Policy
  • Referral Programme Terms
  • Cookie Policy
  • Data Retention
  • Copyright & Takedown

Trust & Safety

  • Security & Encryption
  • Report Abuse
  • Grievance Officer
  • Child Safety
  • Law Enforcement
  • Delete Account

© 2026 BIDUA Industries Pvt Ltd. All rights reserved.

🇮🇳 Proudly made in India

Developed and operated by BIDUA Industries Pvt Ltd. Payments and billing are provided by BIDUA Industries Pvt Ltd. Marketing partner: Ramaera Industries Ltd. Terms and Conditions apply.