People · Developer account
unblockBot
Unblock a bot
This method authenticates with your developer account. The easiest way to call it is the dashboard, which signs the request for you. Direct calls need a dashboard session cookie.
Unblocks the bot for the caller. Queues a my_chat_member update in each env (old 'kicked' -> new 'member').
Request
curl https://api.sprintelex.com/unblockBot \
# authenticated with your dashboard session \
-H "Content-Type: application/json" \
-d '{"bot_id":"<bot-id>"}'Parameters
| Name | Type | Required | Rules |
|---|---|---|---|
| bot_id | string | Yes | - |
Response
{ ok: true, result: { blocked: false } }Rate limit: none in code
Errors
| Status | Error | When |
|---|---|---|
| 400 | bot_id is required | missing bot_id |
| 404 | bot not found | no such bot or deleted |
| 500 | could not unblock bot | DB delete failed |