Christmas: 15% off

Developer platform

Build on your Telegram pipeline

A versioned REST API, a hosted MCP server for AI tools, and signed webhooks. Everything you can do in the app, you can do from your code, with scoped, revocable access.

Getting started

The TeleBoost API is available on every paid plan, from Solo. Create a key under Settings → Developers → API keys: it's shown once, so copy it then. All requests use HTTPS and return JSON.

curl https://teleboost.app/api/v1/contacts \
  -H "Authorization: Bearer tb_live_your_key_here"

List endpoints return { "data": [...], "next_cursor": "...", "has_more": true }. Pass next_cursor back as ?cursor= to page.

Authentication & scopes

Two mechanisms, one scope model. Use an API key (Authorization: Bearer tb_live_…) for scripts and automation, or OAuth 2.1 for AI apps connecting over MCP. Keys are workspace-scoped: a key is bound to your solo data or one team at creation. Each area has a read and a write scope; messages.send is separate, so a credential can read and draft without ever sending. In a team, a credential also inherits its member's account restrictions and page permissions.

ScopeGrants
workspace.readRead workspace metadata, team members, plan usage and quotas
accounts.writeUpdate connected account settings such as daily sending quotas and the auto-delete timer for new chats
contacts.readRead leads/contacts, custom fields, notes, statuses and engagement scores
contacts.writeCreate and update contacts, custom fields, notes and pipeline stages
lists.readRead lists and their members
lists.writeCreate lists, add or remove contacts from lists
segments.readRead dynamic segments, their definitions, counts and matching contacts
segments.writeCreate, update and archive dynamic segments
groups.readRead saved Telegram groups (targets for scraping and campaigns)
groups.writeAdd and delete saved Telegram groups
inbox.readRead conversations and message history across connected accounts
inbox.writeAssign conversations, change their work state (snooze, resolve...) and schedule follow-ups
messages.sendSend and forward messages from connected Telegram accounts and set conversation auto-delete timers (respects account quotas)
custom_fields.readRead the custom fields defined on contacts, tickets and conversations
custom_fields.writeCreate, rename, reorder and delete custom fields
campaigns.readRead DM and group campaigns, their stats and delivery logs
campaigns.writeCreate, start and pause DM and group campaigns
templates.readRead message templates and AI personalities (campaign building blocks)
templates.writeCreate message templates and AI personalities
tickets.readRead tickets, statuses, priorities and SLA state
tickets.writeCreate and update tickets and reminders
links.readRead tracked links, click stats and the attribution of a click
links.writeCreate, update and archive tracked links
outcomes.readRead recorded outcomes, revenue and configurable outcome types
outcomes.writeRecord and reverse outcomes (idempotent, append-only)
analytics.readRead aggregated analytics and dashboard metrics
automations.readRead automation rules, their catalog and execution history
automations.writeCreate, edit, enable, disable and delete automation rules
playbooks.readRead conversation playbooks, their runs and step analytics
playbooks.writeStart, advance and end a playbook on a conversation
sales.readRead paid offers, purchases and offer performance
sales.writeCreate, edit and archive paid offers
sourcing.readRead lead sourcing jobs (group scrapes, imports) and their budgets
sourcing.writeStart and cancel lead sourcing jobs from saved Telegram groups
stories.readRead the stories of connected accounts, their stats and who viewed them
stories.writePost, schedule, edit and delete stories on connected accounts
notifications.readRead the in-app notifications of the connected user
notifications.writeMark notifications as read

API resources

All paths are relative to https://teleboost.app/api/v1. A selection is shown below: the full, always-current reference of every endpoint is the OpenAPI spec.

MethodPathDescriptionScope
GET/accountsList connected accounts (status only)workspace.read
PATCH/accounts/{id}/quotaUpdate an account's sending quotaaccounts.write
GET/contactsList and search contactscontacts.read
POST/contactsCreate a contactcontacts.write
PATCH/contacts/{id}Update status, custom fieldscontacts.write
GET/listsBrowse lists with countslists.read
POST/lists/{id}/contactsAdd contacts to a listlists.write
GET/groupsList saved Telegram groupsgroups.read
GET/conversationsList inbox conversationsinbox.read
GET/conversations/{id}/messagesMessage historyinbox.read
POST/messagesSend a message (to a conversation_id, contact or @username)messages.send
POST/messages/forwardForward messages to other chats of the accountmessages.send
PUT/conversations/{id}/auto-deleteSet a conversation's auto-delete timermessages.send
PUT/accounts/{id}/auto-deleteDefault auto-delete timer for new chatsaccounts.write
GET/campaigns/dmList DM campaignscampaigns.read
POST/campaigns/dm/{id}/startStart / resume a DM campaigncampaigns.write
POST/campaigns/groupCreate a group campaigncampaigns.write
GET/templatesList message templatestemplates.read
GET/personalitiesList AI personalitiestemplates.read
GET/ticketsList ticketstickets.read
POST/ticketsCreate a tickettickets.write
POST/remindersCreate a remindertickets.write
GET/analytics/summaryAggregated KPIsanalytics.read
GET/analytics/activity7×24 inbound activity heatmapanalytics.read
GET/workspace/usagePlan usage and API quotasworkspace.read
GET/custom-fieldsList custom fieldscustom_fields.read
POST/custom-fieldsCreate a custom fieldcustom_fields.write
PATCH/notes/{id}Edit or pin a notecontacts.write
GET/conversations/queuesShared Inbox queue countsinbox.read
POST/conversations/{id}/assignAssign a conversationinbox.write
POST/conversations/{id}/stateSnooze, resolve or reopeninbox.write
POST/conversations/{id}/followupsSchedule a follow-upinbox.write
POST/conversations/{id}/playbookStart a playbookplaybooks.write
GET/tickets/{id}/commentsInternal ticket commentstickets.read
GET/offersList paid offerssales.read
GET/offers/{id}/statsOffer conversion and revenuesales.read
POST/automationsCreate an automation (disabled)automations.write
POST/automations/{id}/dry-runPreview a rule on one contactautomations.read
POST/sourcing/group-scrapesCollect members of public groupssourcing.write
GET/notificationsIn-app notificationsnotifications.read

MCP server

TeleBoost runs a hosted MCP server so any MCP-compatible AI: Claude, ChatGPT, Cursor, Zed, and automation tools like n8n and Make: can work with your pipeline directly.

MCP endpoint:  https://mcp.teleboost.app/mcp

1. Copy the URL from Settings → Developers → Connected AI apps
2. Add it as a custom connector in your AI tool
3. Authorize via the TeleBoost consent screen (OAuth 2.1 + PKCE)

The server exposes 128 tools that call the same services as the API, grouped below by area. A tool whose scope the connection was not granted answers with an explicit “missing scope” error, so the assistant can tell you what to enable. The descriptions of each tool are on the MCP overview.

AreaTools
Find and capture leadslist_groups, add_group, delete_group, start_group_scrape, import_usernames, list_sourcing_jobs, get_sourcing_budgets, cancel_sourcing_job
Contacts and Contact 360search_contacts, get_contact, get_contact_profile, create_contact, update_contact, add_note, list_notes, update_note, delete_note, get_contact_consent, record_contact_consent
Custom fieldslist_custom_fields, create_custom_field, update_custom_field, delete_custom_field
Lists and segmentslist_lists, create_list, add_to_list, remove_from_list, get_list_members, list_segments, get_segment, preview_segment, create_segment, update_segment, get_segment_contacts, review_segment_audience
Pipelineslist_pipelines, get_pipeline, get_pipeline_board, move_contact_to_stage, get_contact_stage_history
Inbox and messaginglist_conversations, get_conversation, send_message, forward_messages, set_conversation_auto_delete, set_account_auto_delete, list_accounts, set_account_quota
Storieslist_stories, create_story, delete_story, get_story_viewers
Shared Inbox operationsget_inbox_queues, get_conversation_assignment, assign_conversation, set_conversation_state, list_followups, schedule_followup, cancel_followup, list_workspace_members
Playbookslist_playbooks, get_playbook, get_playbook_analytics, get_conversation_playbook, start_playbook, update_playbook_run
Campaignslist_campaigns, get_dm_campaign, get_campaign_stats, get_campaign_variant_stats, get_campaign_performance, create_dm_campaign, create_group_campaign, start_campaign, pause_campaign, start_group_campaign, pause_group_campaign
Content librarylist_templates, create_template, search_library, get_content_item, update_content_item, list_personalities, create_personality
Sellinglist_offers, get_offer, get_offer_stats, list_purchases, create_offer, update_offer, archive_offer
Outcomes and revenuelist_outcome_types, list_outcomes, get_outcome, record_outcome, reverse_outcome, suggest_outcome_attribution, get_outcome_analytics
Tracked linkslist_tracked_links, get_tracked_link, create_tracked_link, update_tracked_link, get_link_stats, get_contact_clicks, get_click_attribution
Tickets and reminderslist_tickets, get_ticket, create_ticket, update_ticket, list_ticket_comments, add_ticket_comment, get_ticket_stats, set_reminder, list_reminders
Automationsget_automation_catalog, list_automations, get_automation, create_automation, update_automation, delete_automation, test_automation, list_automation_runs
Analytics, workspace and notificationsget_analytics_summary, get_activity_heatmap, get_response_metrics, get_workspace_usage, list_notifications, mark_notifications_read

Keeping a connection current

OAuth access tokens are short-lived. When one expires or is revoked, the MCP endpoint answers 401 with WWW-Authenticate: Bearer error="invalid_token", and MCP clients refresh it on their own with the refresh token. Nothing to reconnect.

New tools ship regularly. To pick them up without a new consent, grant Full access, including permissions added later on the consent screen or on an API key: the credential then follows the scope catalog as it grows. With a hand-picked set, enable a new scope under Settings → Developers → Connected AI apps → Edit permissions. It applies to the next call.

GET /workspace returns the scopes a credential holds and includes_future_scopes, so an integration can check what it may do before trying.

Webhooks

Register an HTTPS endpoint under Settings → Developers → Webhooks. Each delivery carries an X-TeleBoost-Signature header: an HMAC-SHA256 of the body with your endpoint secret. Verify it before trusting the payload.

import hmac, hashlib

def verify(body: bytes, header: str, secret: str) -> bool:
    expected = "sha256=" + hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, header)

Deliveries retry with exponential backoff for up to 24 hours; endpoints that keep failing are auto-disabled with an alert. message.received and message.sent fire for every private message of your connected accounts, whoever sent it (contact, teammate, API or the Telegram app), with its conversation_id: reply with POST /messages and that id. Available events:

message.receivedmessage.sentcontact.createdcontact.updatedcontact.stage_changedcontact.consent_changedticket.createdticket.updatedcampaign.startedcampaign.completedsegment.updatedoutcome.recordedoutcome.reversedlink.clickedautomation.triggeredreminder.dueaccount.status_changed

Rate limits

Limits are per plan and returned on every response via X-RateLimit-* headers. A 429 includes Retry-After.

PlanPer minutePer daySends / hour
Solo12010,00030
Team, Agency30050,000100

Message sends also respect each account's own safety quota: the hourly API cap is in addition to, not instead of, those limits. Replies to a contact who wrote to the account in the last 24 hours don't count toward the hourly cap; they still count toward the per-minute and daily limits.

Share