API
Build on LanaChat: endpoints, webhooks and the MCP connector for AI assistants.
13 articles
LanaChat API: quick start, authentication and errorsEverything your team does in the Console, your code can do too. The LanaChat API reads and changes your whole workspace: creators, Telegram accounts, AI…
API quick recipes: copy, paste, runEight complete recipes for the jobs agencies automate first. Each one is ready to copy, in cURL and in JavaScript (Node 20 or later, no library). Set…
API: creators, identity and personaA creator is a person your agency runs on Telegram. She has an identity (who she is), a persona (how she talks, in eight pages) and links to her Telegram…
API: Telegram accounts, pools and storiesA Telegram account is one account of a creator, connected to LanaChat through a business connection (a bot she adds in her Telegram settings). Accounts…
API: AI Brains, drafts and the PlaygroundAn AI Brain holds how the AI sells for a creator: its sales phases, rules and settings. You change a draft, test it in the Playground, then publish it…
API: scripts, steps and foldersA script is a fixed sequence of steps for one creator: each step is a text, optional media from the Vault, a price in Stars and a wait before the next…
API: Vault media and signed uploadsThe Vault holds a creator's photos, videos and voice notes, sorted in folders. Each item is Free, Teaser or Paid with a Stars price. Files never travel…
API: fans, conversations and messagesA fan is a Telegram user who wrote to one of your creators. A conversation is the chat between that fan and one Telegram account. Messages are sent by…
API: tracking links, domains, pixels and statsA tracking link sends a visitor to a creator on Telegram and counts what follows: clicks, conversations, first messages, buyers and revenue. Links can…
API: balance, licences, withdrawals and invoicesLanaChat is paid from one prepaid balance in US dollars: licences (one per Telegram account, 30 days) and a commission on net sales are taken from it…
API: team members, roles and access tokensYour team is the people who work in the workspace. Each member has a role (built-in or custom) that sets what they can do, the creators they work on, and…
API: webhooks, events and signaturesA webhook sends an HTTPS POST to your server when something happens in the workspace: a new conversation, a sale, a media ready, an account that lost its…
API & MCP: connect an AI assistantAPI & MCP (in Users, at the bottom of the sidebar) lets you connect an AI assistant, such as Claude or another MCP client, to set up and manage your…