# BlazeChats > BlazeChats is a WhatsApp Business Platform (Cloud API) app for Indian businesses and agencies. Connect your own WhatsApp number through Meta, chat with customers from a shared team inbox, manage contacts and message templates, and send broadcasts. Meta's per-message charges are passed through with 0% markup; BlazeChats charges only the plan. Operated by BlazeChats, . Website: https://blazechats.yoorie.com/ · Pricing: https://blazechats.yoorie.com/pricing · Docs: https://blazechats.yoorie.com/docs · Sign up: https://blazechats.yoorie.com/signup · Contact: hello@example.com ## Available now - Connect WhatsApp: your own number through Meta's Embedded Signup (official WhatsApp Cloud API). - Team inbox: one shared inbox for all customer chats, with text, media and template replies, unread/closed filters and the 24-hour customer service window shown per chat. - Contacts: added automatically when customers message you, by hand, or by CSV import; tags and opt-out state (custom attributes through the API). - Templates: create WhatsApp message templates, submit them to Meta for approval and track their status. - Campaigns (broadcasts): send an approved template to all contacts, a tag or a list, personalised with {{name}} and {{phone}}, paced by a rate-limited queue; opted-out contacts are skipped. - Opt-outs: customers who reply STOP or UNSUBSCRIBE are opted out of templates and broadcasts. - Flows: a visual chatbot and automation builder. Triggers: keyword, new contact, button reply, opt-in and webhook. Steps: send text, template, media, buttons and lists; ask a question and save the answer to a contact field; conditions; delays; tag/untag; assign to a teammate; AI reply; HTTP request. Live/paused state, run history with step logs, and starter templates. Included from Starter. - AI agent: answers WhatsApp messages in Hindi, English or Hinglish from your knowledge base (FAQs, web pages, PDF and text files), with persona and tone, business hours, handoff to a person (trigger words, reply limit, when unsure) and a test chat. Included on Free, Growth, Pro and Agency; AI replies per month are set by the plan. Starter can use its AI replies in a flow's AI reply step, but not the auto-reply agent. - Notifications: in-app bell and email for assigned chats, finished campaigns, template reviews, number health, billing and a daily summary, chosen per person. - Team roles: owner, admin and agent. - Commerce (Starter and up): product catalog with CSV import and Meta catalog sync, product and multi-product messages, orders from WhatsApp carts, Shopify, WooCommerce and the API, Razorpay payment links and abandoned-cart reminder templates. - WhatsApp calls (Growth and up): answer customers' WhatsApp voice calls in the browser, calling settings and hours per number, call buttons in templates and chats, and a call log. - Analytics: sent, delivered, read and replied counts, response times, team performance, campaign results, contact growth and estimated Meta charges per conversation category, with date ranges and CSV export. - Integrations: Shopify, WooCommerce, Razorpay, Google Sheets, HubSpot, Meta Ads (Click-to-WhatsApp leads), Zapier, Make, a generic incoming webhook and signed outgoing webhooks. - Developers (Pro and Agency plans): REST API with scoped workspace API keys, signed webhooks (messages, orders, carts and calls) and a remote MCP server for AI assistants. ## On the roadmap Shown as "Soon" in the app and not available yet: . ## Plans Prices in INR, excluding 18% GST. Plan features that depend on roadmap items become usable as those launch. - Free (Try it out): free. 1 number, Team inbox, Hinglish AI agent, 100 AI replies. Contacts: 1,000, seats: 1, WhatsApp numbers: 1. - Starter (Small businesses): ₹999/month, or ₹799/month billed yearly, 14-day trial. 10k broadcasts, 3 seats, 500 AI replies. Contacts: 10,000, seats: 3, WhatsApp numbers: 1. - Growth (Growing brands): ₹2,499/month, or ₹1,999/month billed yearly, 14-day trial. Unlimited broadcasts, Flow builder, Hinglish AI agent, 2,000 AI replies. Contacts: 50,000, seats: 5, WhatsApp numbers: 1. - Pro (Scaling teams): ₹5,999/month, or ₹4,799/month billed yearly, 14-day trial. API & webhooks, Unlimited seats, 8,000 AI replies. Contacts: 2,00,000, seats: Unlimited, WhatsApp numbers: 3. - Agency (Agencies): ₹9,999/month, or ₹7,999/month billed yearly, 14-day trial. 10 client workspaces, Agency console, +₹699 per extra. Contacts: Unlimited, seats: Unlimited, WhatsApp numbers: 10. WhatsApp (Meta) charges, India, per delivered message, excluding GST, billed by Meta: marketing ₹0.8631, utility ₹0.115, authentication ₹0.115. Replies inside the 24-hour customer service window are free. --- # Docs: Getting started > Set up BlazeChats, connect your WhatsApp Business number and send your first message. Source: https://blazechats.yoorie.com/docs ## What it does BlazeChats runs your business on the official WhatsApp Business Platform (Cloud API). You connect your own number through Meta, then use one workspace to chat with customers from a shared inbox, keep a contact list, manage message templates and send broadcasts. Developers can do the same through the [REST API](https://blazechats.yoorie.com/docs/api) and receive events through [webhooks](https://blazechats.yoorie.com/docs/webhooks). ## Set up in five steps 1. **Create your account** at [/signup](https://blazechats.yoorie.com/signup). You get a workspace and become its owner. 2. **Connect WhatsApp.** Open `WhatsApp number` in the sidebar and press `Connect WhatsApp`. Meta's sign-up window takes about two minutes. See [Connect WhatsApp](https://blazechats.yoorie.com/docs/whatsapp). 3. **Add contacts.** Anyone who messages your number is added automatically. You can also add people one by one or [import a CSV](https://blazechats.yoorie.com/docs/contacts). 4. **Get a template approved.** Business-started conversations need a Meta-approved template. Create one in `Templates`; most are reviewed within minutes. See [Templates](https://blazechats.yoorie.com/docs/templates). 5. **Start talking.** Reply from the [Inbox](https://blazechats.yoorie.com/docs/inbox), or reach many contacts at once with a [broadcast](https://blazechats.yoorie.com/docs/broadcasts). ## Key ideas | Term | Meaning | | --- | --- | | Workspace | Your business on this platform: numbers, contacts, conversations, templates, team and API keys. | | 24-hour window | After a customer messages you, you can reply freely for 24 hours. Outside it, only approved templates can be sent. | | Template | A message format Meta has approved, with optional {{1}} style variables. Required to start conversations. | | Opt-out | A contact who replied STOP. They are skipped by every broadcast and template send. | --- # Docs: Connect WhatsApp > Connect a WhatsApp Business number with Meta Embedded Signup, register it and keep it healthy. Source: https://blazechats.yoorie.com/docs/whatsapp ## Before you start - A phone number that can receive an SMS or voice call for verification. For `New number (Cloud API)` it must not be in use on WhatsApp. Already using the WhatsApp Business app? Pick `Keep WhatsApp Business app` instead. See [WhatsApp Business app (coexistence)](https://blazechats.yoorie.com/docs/whatsapp-business-app). - A Facebook account that can create or manage your Meta Business portfolio. - Owner or admin role in your workspace. ## Connect your number 1. Go to `WhatsApp number` in the app sidebar and press `Connect WhatsApp`. 2. In Meta's window, pick or create your business portfolio and WhatsApp Business Account. 3. Add your number, set the display name customers will see, and verify it with the code Meta sends. 4. When the window closes, The app stores the connection, subscribes to your number's webhooks and syncs your templates. > **Your account stays yours** The WhatsApp Business Account is created in your own Meta Business portfolio. The app stores an access token for it encrypted and never shows it again. ## Register the number If the number card shows `Registered: No`, enter a 6-digit PIN and press `Register`. If the number already has two-step verification, use that PIN; otherwise the digits you choose become its PIN. Registration turns the number on for the Cloud API. ## Quality and messaging limits Each number card shows what Meta reports, refreshed every 6 hours and whenever Meta sends an update. Press Sync to refresh now. | Field | What it means | | --- | --- | | Quality | High, Medium or Low, based on how customers react to your messages (blocks, reports). Low quality can lower your limit. | | Messaging limit | How many unique customers you can start conversations with in 24 hours, from 250 up to unlimited. Meta raises it as you send good-quality messages. | | Display name | Meta's review status for the name shown to customers. | | Webhooks | Whether Meta is sending this number's messages and status updates to the app. | ## Disconnect Owners and admins can disconnect a number from its card. Conversations and contacts stay in the app; sending from that number stops. You can also remove this app's access from Meta Business settings, and the app marks the number as disconnected when Meta tells it. --- # Docs: WhatsApp Business app (coexistence) > Keep using the WhatsApp Business app on your phone while this app runs the inbox, campaigns and automation on the same number. Source: https://blazechats.yoorie.com/docs/whatsapp-business-app ## What it is Meta lets one number work on the WhatsApp Business app and the Cloud API at the same time (often called coexistence). You keep chatting 1:1 from your phone; this app gets the same conversations in the team inbox and can send campaigns, flows and AI replies. Messages you send from the phone appear in the app marked `Phone app`. ## Connect 1. Update the WhatsApp Business app to version 2.24.17 or newer. 2. In the app open `WhatsApp number` and press `Connect existing app number`. 3. In Meta's window choose to connect your existing WhatsApp Business app and enter its number. 4. On your phone, open the message from Facebook Business, tap `Connect to the Business Platform`, choose whether to share chat history, then paste the code shown in the window. 5. Keep the app open for a few minutes while the app imports your contacts and history. ## Contacts and chat history Right after you connect, the app asks Meta for your contacts and up to 180 days of 1:1 chat history (if you chose to share it). Meta allows this once, within 24 hours of connecting; if it didn't start, press `Sync chats` on the number card in time. The card shows the import progress. Imported chats arrive as Resolved, so they don't flood your Open tab. Media is only included for the last 14 days. > **The 24-hour window still applies here** Replies from the app follow the normal rules: free-form within 24 hours of the customer's last message, templates otherwise. Messages sent from the phone app are free and don't open or extend that window. ## What isn't synced | Feature | With coexistence | | --- | --- | | 1:1 chats | Synced both ways (last 6 months of history) | | Contacts | Synced, including later changes in the app | | Group chats | Not synced; stay in the app | | Broadcast lists | Become read-only in the app. Use in-app broadcasts instead | | Disappearing, view-once and live location messages | Turned off for 1:1 chats | | Voice and video calls, catalog, status, channels | Stay in the app only | | Throughput | Fixed at 20 messages per second | | Linked devices | Unlinked once; re-link them (WhatsApp for Windows and WearOS aren't supported) | ## Disconnecting - From the phone: WhatsApp Business app → Settings → Account → Business Platform → `Disconnect account`. The app marks the number as disconnected. - Meta also disconnects numbers whose app wasn't opened for about 14 days, or that move to another phone. You'll get a notification with the reason. - Pressing Disconnect in the app stops it receiving messages, but the number stays on the Cloud API until you disconnect in the app. See [Connect WhatsApp](https://blazechats.yoorie.com/docs/whatsapp). ## For platform admins In the Meta App Dashboard → WhatsApp → Configuration, subscribe the app to these webhook fields: `messages`, `account_update`, `history`, `smb_app_state_sync` and `smb_message_echoes`. Your Embedded Signup configuration must use session logging; the app launches it with `featureType: whatsapp_business_app_onboarding` (Embedded Signup v4). --- # Docs: Team inbox > Reply to customers from a shared team inbox: assignment, notes, quick replies, labels, templates and live updates. Source: https://blazechats.yoorie.com/docs/inbox ## Conversations and filters Each contact has one conversation per number. New messages, delivery ticks (sent, delivered, read, failed), reactions, edits and deletions appear live without reloading. Opening a conversation clears its unread count and sends blue ticks to the customer. - Status tabs: `Open`, `Pending`, `Snoozed`, `Resolved` and `All`, each with a count. - Assignee: `Mine`, `Unassigned` or everyone. Filter by label, unread only, or search by name, number or last message. ## The 24-hour window WhatsApp lets you reply freely for 24 hours after the customer's last message. The header shows a live countdown (for example `Window 5h 12m`). When it's closed, the composer switches to approved templates: pick one, see its preview, fill each variable and send. You can also send a template while the window is open. ## Replying - Enter sends, Shift+Enter adds a line. Attach images, video, audio or documents up to 16 MB; the text becomes the caption. - Type `/` to insert a quick reply by its shortcut (for example `/price`). Manage them under `Inbox → Quick replies`. `{{name}}` is replaced with the contact's name. - Use the emoji button, react to a customer message, or press Reply on a message to quote it. - While you type, the customer sees a typing indicator. ## Assign, notes and mentions - Assign a chat to any teammate from the header. They get an in-app (and optional email) notification. - Turn on `Auto-assign` in Quick replies & routing to share new chats round robin between agents (or admins and owners too). - Switch the composer to `Note` for an internal note the customer never sees. Mention teammates with `@name` to notify them. ## Open, pending, snoozed, resolved Mark a chat `Pending` while you wait on something, `Snooze` it for an hour, until tomorrow or next week, or `Resolve` it. Any new customer message moves it back to Open. Labels help you sort chats (for example `vip` or `refund`). ## Contact panel The side panel shows the contact's name, email, tags, custom attributes, opt-out, block, and history (first seen, messages, templates and campaigns received). Blocking stops automation for that contact and blocks them on WhatsApp too when Meta allows it. ## AI agent and suggestions If the [AI agent](https://blazechats.yoorie.com/docs/ai-agent) is on, the header shows who's answering. Press `Take over` to reply yourself, or hand it back. `Suggest reply` drafts an answer from your knowledge base for you to edit; suggestions don't count toward your AI reply quota. ## Keyboard shortcuts | Keys | Action | | --- | --- | | Alt + ↓ / Alt + ↑ | Next / previous conversation | | Ctrl/⌘ + K | Search conversations | | Alt + N | Switch between reply and note | | Alt + R | Resolve or reopen | | Esc | Back to the list (mobile) | | ? | Show shortcuts | --- # Docs: Contacts & CSV import > Keep one contact list per workspace: automatic capture, manual adds, tags and CSV import. Source: https://blazechats.yoorie.com/docs/contacts ## Where contacts come from - Automatically, when someone messages your number (with their WhatsApp profile name). - Added by hand in `Contacts` > `Add contact`. - Imported from a CSV file. - Created through the [API](https://blazechats.yoorie.com/docs/api#createContact). A phone number identifies a contact, so the same number is never stored twice in a workspace. Numbers are saved in international format without the plus sign, e.g. 919876543210. ## Tags and editing Tags are lowercase labels such as `vip` or `diwali-sale`. Use them to filter the list and to target broadcasts. Click a contact's tags to edit them in place, or open the contact to change name, email, tags and opt-out. ## Import a CSV 1. Prepare a CSV (up to 5 MB) with a header row. The app recognises these columns: `phone` (also `mobile`, `whatsapp`, `number`), `name`, `email` and `tags`. Separate several tags with commas, semicolons or pipes inside the cell. 2. In `Contacts` > `Import CSV`, choose the file. Optionally add a tag for everyone in this import and a default country code (91 if empty) for 10-digit numbers. 3. Press Import. Existing contacts are updated: new names and emails fill in, tags are merged. contacts.csv: ```csv phone,name,email,tags +91 98765 43210,Asha Verma,asha@example.com,vip;diwali 9876501234,Ravi Kumar,,lead ``` > Without a header row, column 1 is read as the phone number and column 2 as the name. Rows with invalid numbers are skipped and counted in the result message. ## Delete contacts Owners and admins can select contacts and delete them. Their conversations are removed from the inbox too. --- # Docs: Templates > Create, sync and use Meta-approved message templates. Source: https://blazechats.yoorie.com/docs/templates ## Why templates WhatsApp only lets a business start a conversation, or write after the 24-hour window, with a template Meta has approved. Templates belong to your WhatsApp Business Account, so they work across this app and any other tool on that account. ## Create a template - **Name**: lowercase letters, numbers and underscores, e.g. `order_update`. - **Category**: Utility (order updates, reminders) or Marketing (offers, announcements). Meta may re-categorise it. - **Language**: a code such as `en`, `hi` or `en_US`. - **Body** (required, up to 1,024 characters), optional text header and footer (60 characters each), up to three quick-reply buttons and one link button. Submitting sends the template to Meta for review. Owners and admins can create and delete templates; deleting removes every language of that name from Meta. ## Review status | Status | Meaning | | --- | --- | | Approved | Ready to send. | | Pending | Meta is reviewing it, usually minutes and at most 24 hours. | | Rejected | Not allowed. The reason is shown on the template; fix it and submit again (a new name is simplest). | | Paused / Disabled | Meta stopped it after poor customer feedback. | Statuses update automatically from Meta. Press `Sync from Meta` to pull templates created elsewhere. ## Variables Placeholders like `{{1}}` and `{{2}}` are filled when you send. Meta needs sample values for them when you submit, e.g. `Asha | #1042`. Templates with an image, video or document header take a public link to the file when you send. Body: ```text Hi {{1}}, your order {{2}} has shipped and will arrive in 2–3 days. ``` --- # Docs: Campaigns & broadcasts > Send an approved template to many contacts, with personalisation, delivery tracking and rate limits. Source: https://blazechats.yoorie.com/docs/broadcasts ## Create a broadcast 1. Open `Campaigns` and fill in `New broadcast` (owners and admins). 2. Pick an approved template (authentication templates can't be broadcast). 3. Choose the audience: all contacts, everyone with a tag, or contacts you select. 4. Fill the template variables and, for media headers, a public link to the file. Send. Opted-out contacts are left out when the audience is picked, and checked again just before each message goes. ## Personalise In any variable, `{{name}}` becomes the contact's name (or WhatsApp profile name, or number) and `{{phone}}` their number. For example, set variable 1 to `{{name}}` to greet everyone by name. ## Sending speed and limits - The app sends broadcasts through a rate-limited queue: 20 messages per second by default across the platform. - If Meta signals throttling or a temporary error, that message is tried up to four times with increasing delays. Other errors mark the recipient `failed` with Meta's reason. - Your number's [messaging limit](https://blazechats.yoorie.com/docs/whatsapp#health) still applies: Meta caps how many new customers you can reach in 24 hours. Low quality ratings can reduce it. - You can cancel a queued or sending broadcast; messages that haven't gone out yet are not sent. ## Track delivery Each broadcast has a report with live counts and a recipient list: | Status | Meaning | | --- | --- | | Pending | Waiting in the queue. | | Sent | Accepted by WhatsApp. | | Delivered | Reached the customer's phone. | | Read | Opened (only if the customer has read receipts on). | | Failed | Not delivered; the error explains why. | | Skipped | Opted out or deleted before sending. | --- # Docs: Opt-outs > How customers unsubscribe and how they are kept out of your broadcasts. Source: https://blazechats.yoorie.com/docs/opt-outs ## STOP replies When a contact sends a message that is just `STOP` or `UNSUBSCRIBE` (any capitalisation), the app marks them opted out straight away. Tell customers how to unsubscribe in your marketing templates, e.g. a footer like “Reply STOP to unsubscribe”. ## What opting out does - The contact is skipped by every broadcast, including ones already queued. - Templates can't be sent to them, from the inbox or the API. - Their conversation stays in the inbox. If they write to you, you can still reply within the 24-hour window. ## Manage opt-outs Open a contact to tick or untick `Opted out of broadcasts`, or filter the contact list by status. Through the API, set `opted_out` on a contact. Only re-subscribe people who have asked to hear from you again. --- # Docs: Flows > Build WhatsApp chatbots and automations visually: triggers, questions, buttons, conditions, delays and AI. Source: https://blazechats.yoorie.com/docs/flows ## Create a flow 1. Open `Flows` and click `New flow`. Start blank or from a template: welcome message, lead capture, AI support, opt-in or order update. 2. Pick the trigger in the first card, then add steps from the left panel (on a phone, tap the + button). Drag from a step's output dot to the next step to connect them. 3. Click a step to edit it. Problems, like an empty message or a missing connection, are listed at the top of the builder. 4. Save with `Save` or Ctrl/Cmd + S, then `Turn on`. Pausing a flow stops it from starting and ends runs that are waiting. ## Triggers | Trigger | Starts when | | --- | --- | | Keyword | An incoming message is, starts with or contains one of your keywords (not case sensitive). | | New contact | Someone messages your number for the first time. | | Button reply | A customer taps a quick-reply or list button, matched by button text or ID (or any button). | | Opt-in | A customer sends START, SUBSCRIBE or UNSTOP. They are opted back in to templates first. | | Webhook | Your system calls the flow's private URL with a phone number (see below). | Only one flow runs per contact at a time. If several active flows match, the most specific trigger wins (an exact keyword beats “contains”, which beats “new contact”). A contact who replies STOP is never started on a flow. Messages that no flow handles go to the AI agent if it's on, and always to the inbox. ## Steps | Step | What it does | | --- | --- | | Send text | A text message with variables. | | Send template | An approved template with its variables. Works outside the 24-hour window. | | Send media | An image, video, document or audio file from a public link, with a caption. | | Reply buttons | Up to 3 quick-reply buttons. Each button gets its own path, plus one for any other answer. | | List menu | Up to 10 rows in a menu. Each row gets its own path. | | Ask a question | Waits for the reply, checks it (text, number, email or phone) and saves it to the contact's name, email, a custom field or a flow variable. Asks again up to twice when the answer isn't valid. | | Condition | Yes/No branch on a variable, contact field, tag or the last message (equals, contains, starts with, greater/less than, is set). | | Wait | Waits minutes, hours or days (up to 30 days), then continues. | | Tag contact | Adds or removes contact tags, for campaigns and filters. | | Assign to teammate | Stops the AI in the chat, assigns it to a teammate (or the whole team) and notifies them. | | AI reply | Answers the last message from your AI knowledge base. Goes down the "Needs a person" path when it can't answer. | | HTTP request | Calls your API (GET, POST, PUT, PATCH or DELETE) and saves the JSON response to a variable. Success and error paths. | | End | Finishes the run. | > **Waiting for replies** A flow waits up to 24 hours for an answer to a question, button or list. After that the run expires and the next message is handled normally. ## Variables Use these in any text, URL or header. Unknown variables become empty. | Variable | Value | | --- | --- | | `{{contact.name}}` | Contact name, or their WhatsApp profile name | | `{{contact.first_name}}` | First word of the name | | `{{contact.phone}}` | Number with country code | | `{{contact.email}}` | Saved email | | `{{contact.city}}` | Any custom contact field, by its key | | `{{message}}` | The customer's last message | | `{{vars.budget}}` | A flow variable saved by a question, the webhook or an HTTP request (dots read nested JSON, e.g. vars.order.total) | ## Webhook trigger Flows with a webhook trigger get a private URL, shown in the trigger card. Send a POST with JSON to start the flow for a number. Keep the URL secret; create a new one from the trigger card if it leaks. Start a flow: ```bash curl -X POST https://blazechats.yoorie.com/webhooks/flows/ \ -H "Content-Type: application/json" \ -d '{"phone": "919812345678", "name": "Asha", "variables": {"order_id": "A-1042", "total": "₹1,499"}}' ``` - Responds `202` with `{"ok": true, "run_id": "…", "status": "completed"}`. The contact is created if needed. Variables are available as `{{vars.order_id}}`. - Errors: `400` for a missing or invalid phone number, `403` when the workspace's plan doesn't include flows, `404` for an unknown URL, `409` when the flow is paused or the contact has opted out, and `429` above 120 calls a minute. - The first message to a contact outside the 24-hour window must be a template step. ## Runs and history Each time a flow starts for a contact it creates a run. Open `Run history` from a flow to see every run, its status (running, waiting, completed, failed, stopped or expired) and a step-by-step log with what was sent and saved. You can stop a waiting run from there. ## Plans and limits - Flows are included from the Starter plan. Each plan sets how many flows can be live at once; drafts and paused flows don't count. The meter on the Flows page shows your usage. - If you move to a plan with fewer live flows, only the oldest ones keep running until you pause some. - Up to 80 steps per flow and 60 steps per run, to stop accidental loops. - AI reply steps use your plan's monthly AI replies. --- # Docs: AI agent > Answer customers on WhatsApp in Hindi, English or Hinglish from your own knowledge base, with handoff to your team. Source: https://blazechats.yoorie.com/docs/ai-agent ## How it works When a message arrives that no flow handles, the agent looks up the closest passages in your knowledge base and writes a short WhatsApp reply in your tone and the customer's language. If the answer isn't in your knowledge base, it hands the chat to your team instead of guessing. Every chat still appears in the inbox. ## Set it up 1. `AI agent` → `Persona`: give it a name, tone and language, describe your business and add rules (“never promise delivery dates”). 2. `Knowledge base`: add FAQs, web pages, files or text. 3. `Test chat`: ask what your customers ask. Nothing is sent to WhatsApp and it doesn't use AI replies. 4. Turn the agent on from `Overview`. > **AI provider** The agent uses the AI provider chosen by your platform admin (OpenAI, Anthropic, Gemini or OpenRouter, in Admin → Integrations & keys). Until a key is added, the AI pages say so and the agent can't be turned on. ## Knowledge base | Source | Notes | | --- | --- | | FAQ | A question and its answer. The most reliable way to teach exact facts. | | Web page | We read the text of one public page. Use Refresh after you change it. | | File | PDF (with selectable text), TXT, Markdown, CSV, JSON or HTML, up to 5 MB. | | Text | Paste price lists, policies or product details. | Up to 200 sources and 200,000 characters per source. Long sources are split into passages and searched by keyword, so Hinglish and product names work well. ## Business hours Set opening hours per day in your workspace time zone. Outside hours the agent can keep answering, send an away message (once every 12 hours per chat) or stay quiet. ## Handoff to your team - When it isn't sure, when the customer uses a trigger word (“agent”, “call me”) or after a set number of AI replies in a row, the agent sends your handoff message and stops. - The chat is assigned to the teammate you choose (or the whole team) and they get a notification. - When someone on your team replies, the agent stays quiet for the pause you set. A handed-over chat returns to the agent after the hours you choose, or never. ## In the inbox The conversation header shows `AI on · Take over` while the agent is answering. Click it to reply yourself; click `Hand back to AI` to let it answer again. Messages sent by the agent or a flow are labelled. ## Usage and plans - The auto-reply agent is included on Free, Growth, Pro and Agency. Starter can use its AI replies in a flow's AI reply step, but not the auto-reply agent. Each plan has a monthly number of AI replies, reset on the 1st (IST). - Only replies sent to customers count. Handoffs, away messages and test chat answers don't. - When the month's replies are used up, new chats go to your team and owners and admins get one notice. - On plans with flows but without the agent, the AI reply step in flows can use the plan's AI replies. --- # Docs: Commerce > Product catalog, product messages, WhatsApp orders, Razorpay payment links and abandoned-cart reminders. Source: https://blazechats.yoorie.com/docs/commerce Commerce is on the Starter, Growth, Pro and Agency plans. Open it from the sidebar; it has Products, Orders, Abandoned carts and Settings tabs. ## Products Add products one by one with `Add product`, or import a CSV. Each product needs a unique SKU (the `retailer_id` Meta uses), a name and a price. Prices are in your catalog currency (set in Commerce > Settings). CSV import accepts Meta's feed column names, so a file exported from Commerce Manager or Shopify works as is: products.csv: ```csv id,title,description,price,sale_price,availability,image_link,link,brand TSHIRT-BLK-M,Black tee (M),Organic cotton,799,649,in stock,https://shop.example.com/img/tee.jpg,https://shop.example.com/tee,Acme ``` Rows with an existing SKU update that product. Up to 5,000 rows per file. ## Meta catalog sync 1. In Meta Commerce Manager, create a catalog (type `Ecommerce`) owned by the same business as your WhatsApp number. 2. Copy the catalog ID into Commerce > Settings. Optionally add a system user token with `catalog_management`; otherwise your WhatsApp number's token is used. 3. Press `Check access`, then `Link to` your number. This connects the catalog to your WhatsApp Business Account and turns on the catalog and cart buttons. 4. On Products, press `Sync all products`. Products are pushed in batches; each one shows Synced or the error Meta returned. > Meta reviews new products before they can be sent. A product usually becomes sendable a few minutes after it shows Synced. ## Send products in a chat In the inbox, open a conversation and press the shopping bag next to the reply box (Products and payments). Pick one product to send a single-product card, or up to 30 for a multi-product list with a header and sections. These are session messages, so the customer must have written to you in the last 24 hours. ## Orders Orders arrive from four places and all show up in Commerce > Orders: - WhatsApp carts: when a customer sends a cart from your catalog, the app creates an order with the items and prices from the cart. - Shopify and WooCommerce, through the [store integrations](https://blazechats.yoorie.com/docs/integrations#stores). - The [incoming webhook](https://blazechats.yoorie.com/docs/integrations#incoming), Zapier or Make, with the `create_order` action. - Manually, with New order. Each order has a fulfilment status (New, Confirmed, Shipped, Delivered, Cancelled) and a payment status (Unpaid, Link sent, Paid, Cash on delivery, Refunded). Change them from the order drawer or in bulk. Every change fires the `order.updated` [webhook](https://blazechats.yoorie.com/docs/webhooks). ## Payment links 1. Connect [Razorpay](https://blazechats.yoorie.com/docs/integrations#razorpay) with your own API keys. Money goes straight to your Razorpay account. 2. Open an order and press `Send Pay now in WhatsApp`. The customer gets a message with a Pay now button. `Create link only` makes the link without sending it. 3. Add the Razorpay webhook (event `payment_link.paid`) so the order turns Paid on its own. Without it, press `Check payment` on the order. From the inbox, `Request payment` creates an order and its payment link in one step. ## Abandoned-cart reminders Shopify checkouts, WooCommerce carts posted by a cart plugin, and `cart` actions from the incoming webhook are listed under Abandoned carts. Turn on reminders in Commerce > Settings, pick an approved template and a delay. Variables can use `{{name}}`, `{{total}}`, `{{items}}` and `{{link}}` (the checkout link). When the delay passes and the cart is still open, the template is sent once. Carts that become orders are marked Recovered and skipped; opted-out customers are skipped too. You can also send a reminder by hand. --- # Docs: WhatsApp calls > Take WhatsApp voice calls in the browser, add call buttons to templates and keep a call log. Source: https://blazechats.yoorie.com/docs/calls ## Requirements - The Growth, Pro and Agency plan. - A WhatsApp number with a messaging limit of at least 2,000 business-initiated conversations a day. Meta doesn't allow calling on lower tiers. - The Meta app behind this install subscribed to the `calls` webhook field. Calls > Settings shows whether it is. - A browser with microphone access (Chrome, Edge, Safari or Firefox) for whoever answers. ## Turn on calling 1. Open `Calls` > `Settings`. Each connected number has its own card. 2. Turn on `WhatsApp calling`. Choose whether the call button shows at the top of the chat, and whether to ask customers for callback permission. 3. Optionally set call hours. Outside them, the call button tells customers you're closed. 4. Save. The settings are sent to Meta and read back, so the card always shows what Meta has. ## Answer calls When a customer calls, everyone signed in to the workspace with write access sees an incoming-call card with Answer and Decline. The first person to answer takes the call; it connects over WebRTC straight from the browser. Mute and Hang up stay on screen during the call. > Meta rings a call for up to a minute. If nobody answers, it is logged as Missed. ## Call buttons - Templates: in a new template, set the call button to `WhatsApp call` to add a Call now button that opens a WhatsApp call to your number (valid for 7 days after sending). `Phone call` adds a button that opens the phone dialer instead. - Inbox: the phone button next to the reply box sends a Call now button inside an open conversation (valid for 24 hours). - Links: `https://wa.me/call/919876543210` starts a WhatsApp call from any website or QR code. ## Call log Calls lists every inbound call with the caller, status (Completed, Missed, Declined, Failed), who answered and the duration. Finished calls fire the `call.ended` [webhook](https://blazechats.yoorie.com/docs/webhooks). --- # Docs: Team roles > Invite teammates and what owners, admins, agents and viewers can do. Source: https://blazechats.yoorie.com/docs/team ## Roles - **Owner**: full access, including the plan, payments and making other owners. A workspace always keeps at least one owner. - **Admin**: numbers, templates, campaigns, the team, API keys and workspace settings. Can't change the plan. - **Agent**: handles conversations and contacts, without changing setup or sending broadcasts. - **Viewer**: read-only. Sees the inbox, contacts and reports but can't send messages or change anything. ## Invite teammates Owners and admins invite people from **Settings → Team & roles**: enter an email, pick a role and send. The invite email has a link that is valid for 7 days. New people create their account from the link; people who already have an account log in and join. Pending invites can be re-sent or cancelled from the same page, and roles can be changed or people removed from each member's menu. Pending invites count towards your plan's seats. Seats per plan are listed on the [pricing page](https://blazechats.yoorie.com/pricing); upgrade in **Settings → Billing & plan** for more. ## Permissions | Action | Owner / Admin | Agent | Viewer | | --- | --- | --- | --- | | Read the inbox, contacts and reports | Yes | Yes | Yes | | Reply in the inbox, send a template to one contact | Yes | Yes | No | | Add, import and edit contacts | Yes | Yes | No | | Sync templates and number details | Yes | Yes | No | | Delete contacts | Yes | No | No | | Connect, register or disconnect numbers | Yes | No | No | | Create and delete templates | Yes | No | No | | Create and cancel broadcasts | Yes | No | No | | Create or revoke API keys, manage webhooks | Yes | No | No | | Invite people, change roles, edit workspace settings | Yes | No | No | | Change the plan and pay (owner only) | Owner | No | No | --- # Docs: Notifications > Choose which events reach you in the app and by email. Source: https://blazechats.yoorie.com/docs/notifications ## Events | Event | When | | --- | --- | | Chat assigned | A flow or the AI agent hands a chat to you or your team. | | Campaign finished | A campaign has sent to everyone, with sent, delivered and failed counts. | | Template reviewed | Meta approves, rejects, pauses or disables one of your templates. | | Number health | Your WhatsApp number's quality rating or messaging limit changes. | | Billing | Payments, renewals and usage limits. | | Team changes | Someone accepts an invite and joins the workspace (off by default). | | Daily summary | A 9 AM (IST) summary of yesterday's chats, campaigns and AI replies (off by default). | ## In-app and email In-app notifications appear under the bell in the top bar. Open `Settings` → `Notifications` to turn each event on or off for the app and for email. Settings are per person, so each teammate chooses their own. Email needs the platform's email sending to be set up; in-app notifications always work. --- # Docs: Analytics > Delivery, reads, replies, response times, team performance, campaigns, contact growth and conversation costs. Source: https://blazechats.yoorie.com/docs/analytics ## Date range Pick 7, 30 or 90 days, or a custom range up to a year. Days follow your workspace time zone (Settings > Workspace). The top numbers compare with the same number of days just before. ## Metrics | Metric | How it's counted | | --- | --- | | Sent | Outgoing messages Meta accepted (inbox, campaigns, API, automations). | | Delivered / Read | Outgoing messages Meta reported as delivered or read. Read receipts can be turned off by customers. | | Replied | Customer messages that answered one of yours within 24 hours. | | Response times | From a customer message to the first reply in that chat, campaigns excluded. Median, 90th percentile and share under 5 minutes. | | Team performance | Messages and chats per team member, plus first replies and their median time. API, integrations and automations are listed separately. | | Campaigns | Per campaign: recipients, delivered, read, replied (within 72 hours), failed and an estimated cost. | | Contact growth | New contacts per day, the running total, opt-outs and where new contacts came from. | ## Conversation costs Meta tags each delivered message with a pricing category. Analytics multiplies billable messages by Meta's India rates: | Category | Per message (estimate) | | --- | --- | | Marketing | ₹0.8631 | | Utility | ₹0.115 | | Authentication | ₹0.115 | | Service | Free | Utility templates sent inside an open 24-hour window are free and Meta marks them non-billable. Your Meta invoice is the final word; these numbers help you plan. ## Export to CSV `Export CSV` downloads the selected range as Daily activity, Campaigns, Team performance, Conversation costs or Contact sources. Files open in Excel and Google Sheets. --- # Docs: Integrations > Shopify, WooCommerce, Razorpay, Google Sheets, HubSpot, Meta Ads, Zapier, Make and webhooks. Source: https://blazechats.yoorie.com/docs/integrations ## How it works Open `Integrations` in the sidebar. Each card shows Connected, Needs attention, Not connected or Upgrade. Owners and admins connect an integration by entering its credentials; the app checks them live and stores them encrypted. Every integration page has an Activity log of what it received and did. ## Shopify and WooCommerce On the Starter, Growth, Pro and Agency plans. 1. Shopify: in your Shopify admin, open Settings > Apps > Develop apps and create an app with `read_orders`, `read_customers` and `read_checkouts`. Install it and copy the Admin API access token and the API secret key. 2. WooCommerce: open WooCommerce > Settings > Advanced > REST API and add a key with Read/Write access. Copy the consumer key and secret. 3. Paste them into the integration and press Connect. The app adds its own signed webhooks to your store, so there is nothing to paste back. 4. Pick an order confirmation template on the integration page. Variables can use {{name}}, {{order_number}}, {{total}}, {{items}} and, for Shopify, {{link}} (the order status page). New orders land in Commerce > Orders with their status and payment; updates keep them in step. Shopify checkouts left unfinished, and WooCommerce carts from a plugin, get your abandoned-cart reminder. A WooCommerce cart plugin can POST to the integration's webhook URL with the header `X-WC-Webhook-Topic: cart.abandoned`, signed like WooCommerce webhooks, and this body: cart.abandoned: ```json { "id": "cart_8f2a", "phone": "+919876543210", "name": "Asha Verma", "items": [{ "sku": "TEE-M", "name": "Black tee (M)", "quantity": 2, "price": 649 }], "total": 1298, "currency": "INR", "checkout_url": "https://shop.example.com/checkout/?recover=8f2a" } ``` ## Razorpay Add your Key ID and Key secret (Razorpay Dashboard > Account & Settings > API keys) to create [payment links](https://blazechats.yoorie.com/docs/commerce#payments). For instant Paid updates, add a webhook in Razorpay with the URL shown on the integration page, the `payment_link.paid` event and a secret, and paste the same secret into the integration. ## Google Sheets 1. Use a service account: in Google Cloud, turn on the Google Sheets API, create a service account and add a JSON key. Share your spreadsheet with the service account's email as an editor. If your server has Google sign-in set up, you can press Sign in with Google instead. 2. Paste the spreadsheet link, a tab name (created if missing) and the JSON key, then Connect. 3. Choose the direction. Import reads rows with a `Phone` column (plus optional `Name`, `Email` and comma-separated `Tags`). Export rewrites the tab with all contacts. Sync runs every hour, or press Sync now. ## HubSpot Create a private app in HubSpot with `crm.objects.contacts.read` and `crm.objects.contacts.write` and paste its token. Every hour, new and changed WhatsApp contacts are created or updated in HubSpot, matched by phone number. ## Meta Ads Turn it on to tag every contact that starts a chat from a Click-to-WhatsApp ad (default tag `ad-lead`). The ad ID, headline, link and click ID are saved as contact attributes, ready for segments and follow-ups. An ad account ID and token are optional and only show the account name. ## Zapier and Make On the Pro and Agency plans. - Triggers: create a Catch Hook (Zapier) or Custom webhook (Make), paste its URL and Connect. The app sends every [webhook event](https://blazechats.yoorie.com/docs/webhooks#events) there, signed. Press Send test event so the tool learns the shape. - Actions: POST JSON to the URL shown on the integration page, using the actions of the [incoming webhook](https://blazechats.yoorie.com/docs/integrations#incoming), or call the [REST API](https://blazechats.yoorie.com/docs/api) with an API key. ## Incoming webhook A private URL any tool can POST JSON to. Each request has one action: Add a contact: ```bash curl -X POST "https://blazechats.yoorie.com/webhooks/integrations/incoming-webhook/" \ -H "Content-Type: application/json" \ -d '{"action":"upsert_contact","phone":"+919876543210","name":"Asha Verma","email":"asha@example.com","tags":["lead"],"attributes":{"city":"Pune"}}' ``` | Action | Fields | | --- | --- | | `upsert_contact` | phone, name, email, tags[], attributes{} | | `send_template` | phone, template, language (default en), variables[]. The template must be approved. | | `create_order` | id (your order ID, makes it idempotent), phone, name, items[{sku, name, quantity, price}], currency, total, status, payment_status, note | | `cart` | id, phone, name, items[], total, currency, checkout_url. Schedules the abandoned-cart reminder. | Responses are JSON: `200` or `201` with the new IDs, `422` with an `error` when a field is wrong. Optionally turn on the signature check and send `X-BlazeChats-Signature: sha256=` using the signing secret on the integration page. ## Outgoing webhooks Send signed events to your own server. Endpoints, secrets and test pings live in Settings > Developers; see [Webhooks](https://blazechats.yoorie.com/docs/webhooks) for the payloads and how to verify signatures. --- # Docs: Billing & plans > Plans, trials and how WhatsApp conversation charges work. Source: https://blazechats.yoorie.com/docs/billing ## Plans New workspaces start on Free, which includes the team inbox and a Hinglish AI agent with 100 replies a month. Paid plans (Starter, Growth, Pro and Agency) add seats, broadcasts, flows and higher limits, and usually start with a 14-day trial. Current prices and limits are on the [pricing page](https://blazechats.yoorie.com/pricing). Prices exclude 18% GST. ## WhatsApp (Meta) charges Meta charges per delivered template message, by category. These are separate from your plan and passed through at Meta's rates with no platform markup. Replies inside the 24-hour window are free. | Category | India rate per message (excl. GST) | | --- | --- | | Marketing | ₹0.8631 | | Utility | ₹0.115 | | Authentication | ₹0.115 | | Service (customer-started) | Free | > Rates for other countries differ and Meta updates them from time to time. Meta's pricing page is the source of truth. ## Change plan Workspace owners upgrade in **Settings → Billing & plan** and pay with UPI, cards or netbanking through Razorpay. The same page shows usage against your plan's limits and every invoice (printable, with GST). Add your legal name, address and GSTIN under **Settings → General** so they appear on invoices. To downgrade or cancel, email [hello@example.com](mailto:hello@example.com) from your account email. --- # Docs: Webhooks > Get incoming messages and delivery updates pushed to your server, signed with HMAC-SHA256. Source: https://blazechats.yoorie.com/docs/webhooks ## Add an endpoint 1. In the app, open `Settings` > `Add endpoint` (owners and admins). 2. Enter an https URL on your server and pick the events you want. A workspace can have up to 5 endpoints. 3. Copy the signing secret (`whsec_…`). It's shown once; the app stores it encrypted. 4. Press `Test` to send a signed `ping` event and see the HTTP status your server returned. ## Events | Event | When | | --- | --- | | `message.received` | A customer sent a message | | `message.status` | An outgoing message was sent, delivered, read or failed | | `order.created` | A new order arrived from WhatsApp, Shopify, WooCommerce or the API | | `order.updated` | An order's status or payment changed | | `cart.abandoned` | A checkout was left unfinished | | `call.ended` | A WhatsApp call finished, was missed or was declined | `message.status` fires for each step Meta reports (`sent`, `delivered`, `read`, `failed`) for every outgoing message, whether it came from the inbox, a broadcast or the API, and when an API send fails before reaching Meta. ## Payload Every delivery is a JSON POST with the same envelope: message.received: ```json { "id": "6f0c1a52-1b5e-4c55-9d1e-0c8f7f1f2a10", "type": "message.received", "created_at": "2026-11-25T06:31:12.000Z", "workspace_id": "3d6f…", "data": { "conversation_id": "a1b2…", "message": { "id": "…", "direction": "in", "type": "text", "text": "Is my order shipped?", "status": "received", "created_at": "…" }, "contact": { "id": "…", "phone": "919876543210", "name": "Asha Verma", "opted_out": false, "tags": ["vip"] } } } ``` message.status: ```json { "id": "…", "type": "message.status", "created_at": "2026-11-25T06:31:40.000Z", "workspace_id": "3d6f…", "data": { "message_id": "…", "wa_message_id": "wamid.HBgM…", "status": "delivered", "error": null, "conversation_id": "…", "contact_id": "…", "timestamp": "2026-11-25T06:31:39.000Z" } } ``` The `message` and `contact` objects have the same fields as the [Message](https://blazechats.yoorie.com/docs/api#schema-Message) and [Contact](https://blazechats.yoorie.com/docs/api#schema-Contact) API objects. Headers include `X-BlazeChats-Event`, `X-BlazeChats-Delivery` (unique per delivery, use it to de-duplicate) and `X-BlazeChats-Signature`. ## Verify signatures `X-BlazeChats-Signature` looks like `t=1764052272,v1=5f2b…`. Compute HMAC-SHA256 of `.` with your secret, compare it to `v1` in constant time, and reject timestamps older than five minutes. Use the raw request body, before any JSON parsing. Node.js: ```ts import { createHmac, timingSafeEqual } from "node:crypto"; export function verifyWebhook(rawBody: string, header: string, secret: string) { const parts = Object.fromEntries(header.split(",").map((p) => p.split("="))); const t = Number(parts.t); if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false; const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest(); const given = Buffer.from(parts.v1 ?? "", "hex"); return given.length === expected.length && timingSafeEqual(given, expected); } ``` Python: ```python import hmac, hashlib, time def verify_webhook(raw_body: bytes, header: str, secret: str) -> bool: parts = dict(p.split("=", 1) for p in header.split(",")) t = int(parts.get("t", "0")) if abs(time.time() - t) > 300: return False expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest() return hmac.compare_digest(expected, parts.get("v1", "")) ``` ## Retries and timeouts - Respond with any 2xx within 10 seconds. Do slow work after responding. - Timeouts, network errors and non-2xx responses are retried up to 6 attempts with exponential backoff. Redirects are not followed. - Deliveries can arrive more than once or out of order. De-duplicate on `X-BlazeChats-Delivery` and compare timestamps. - The endpoint list shows the last delivery time and result. Pause an endpoint to stop deliveries without deleting it. --- # Docs: API reference > REST API for BlazeChats: authentication, errors, rate limits and every v1 endpoint. Source: https://blazechats.yoorie.com/docs/api ## Overview The API is a JSON REST API for your workspace: send WhatsApp messages, manage contacts, read templates and conversations, and start broadcasts. The machine-readable spec is at [/api/v1/openapi.json](https://blazechats.yoorie.com/api/v1/openapi.json) (OpenAPI 3.1). To use the same operations from an AI assistant, connect the [MCP server](https://blazechats.yoorie.com/docs/mcp). Base URL: ```text https://blazechats.yoorie.com/api/v1 ``` > **Plans** The API and MCP server are included in the Pro and Agency plans. On other plans, API keys can't be created and requests return `403` with code `plan_upgrade_required` and an `upgrade_url`; existing keys start working again after an upgrade. See [pricing](https://blazechats.yoorie.com/pricing). ## Authentication Create a key in the app under `Settings` > `New API key` (owners and admins). Keys look like `bc_live_…`, are shown once and stored only as a hash. Send the key as a Bearer token. Revoking a key in Settings stops it immediately. curl: ```bash curl https://blazechats.yoorie.com/api/v1/me \ -H "Authorization: Bearer $BLAZECHATS_API_KEY" ``` Each key has scopes. A request outside the key's scopes gets 403. | Scope | Allows | | --- | --- | | `contacts:read` | Read contacts | | `contacts:write` | Create and update contacts | | `messages:read` | Read conversations and messages | | `messages:send` | Send messages | | `templates:read` | Read templates | | `broadcasts:write` | Create and read broadcasts | ## Send your first message Templates can be sent any time (except to opted-out contacts). Free text needs the contact's 24-hour window to be open. Send a template: ```bash curl -X POST https://blazechats.yoorie.com/api/v1/messages \ -H "Authorization: Bearer $BLAZECHATS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "type": "template", "to": "+91 98765 43210", "template": { "name": "order_update", "language": "en", "variables": ["Asha", "#1042"] } }' ``` The response is `202 Accepted` with the message in status `queued`. It moves to `sent`, `delivered` and `read` as Meta reports; follow it with [GET /messages/{id}](https://blazechats.yoorie.com/docs/api#getMessage) or the [message.status webhook](https://blazechats.yoorie.com/docs/webhooks). ## Errors Errors use HTTP status codes and one JSON shape. Branch on `code`; `message` is for humans. 400 Bad Request: ```json { "error": { "code": "validation_error", "message": "The request has invalid or missing fields.", "details": [{ "path": "phone", "message": "Invalid input: expected string, received undefined" }] } } ``` | Status | code | When | | --- | --- | --- | | 400 | `validation_error` | Invalid JSON, missing or invalid fields, wrong number of template variables | | 401 | `unauthorized` | Missing, malformed, unknown or revoked key | | 403 | `forbidden` | The key lacks the required scope | | 403 | `workspace_inactive` | The workspace is suspended or cancelled | | 403 | `plan_upgrade_required` | The workspace's plan doesn't include the API (Pro and Agency only); details.upgrade_url links to plans | | 404 | `not_found` | No such resource in this workspace, or no such endpoint | | 409 | `opted_out` | Template to a contact who opted out | | 422 | `no_whatsapp_number` | No connected WhatsApp number | | 422 | `window_closed` | Free text outside the 24-hour window | | 422 | `template_not_approved` | Unknown, unapproved or authentication template | | 429 | `rate_limited` | Too many requests (see Retry-After) | | 503 | `sending_paused` | Sending is paused platform-wide, or the queue is unavailable (service_unavailable) | ## Rate limits Each key can make 120 requests per minute. Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining` and `X-RateLimit-Reset` (Unix seconds). Over the limit you get 429 with `Retry-After`. Message delivery itself is paced by WhatsApp and your number's messaging limit; for large sends, use [broadcasts](https://blazechats.yoorie.com/docs/api#createBroadcast). ## Pagination List endpoints take `page` (from 1) and `limit` (1–100, default 50) and return `data`, `page`, `limit`, `total` and `has_more`. Timestamps are ISO 8601 in UTC; phone numbers are digits with country code and no plus sign. > **Testing** There is no sandbox yet. Use a test number you own, or contacts who expect your messages. ## Endpoints ### Get the current workspace `GET https://blazechats.yoorie.com/api/v1/me` · any key Returns the workspace the key belongs to, the key's scopes and the connected WhatsApp numbers. Works with any valid key. Response 200: OK. ### Get this month's usage `GET https://blazechats.yoorie.com/api/v1/usage` · any key Message counts for the current calendar month (UTC): sent and received, failed, conversations with activity, billable messages by Meta pricing category, broadcasts created, plus the total number of contacts. Works with any valid key. Meta bills conversation charges directly; these are counts, not amounts. Response 200: OK. ### Send a message `POST https://blazechats.yoorie.com/api/v1/messages` · scope `messages:send` Queues a text or template message from the workspace's connected number and returns it with status `queued` (202). Text messages are only allowed while the customer service window is open (24 hours after the contact's last message); outside it, send an approved template. Templates are never sent to opted-out contacts. Request body (JSON): - `type` ("text", required) - `to` (string): Recipient phone number. Creates the contact if it's new. - `contact_id` (string): Recipient contact id (instead of `to`) - `text` (object, required) - `text.body` (string, required) - `text.preview_url` (boolean): Show a link preview for the first URL Or: - `type` ("template", required) - `to` (string): Recipient phone number. Creates the contact if it's new. - `contact_id` (string): Recipient contact id (instead of `to`) - `template` (object, required) - `template.name` (string, required): Template name as approved by Meta - `template.language` (string, required): Template language code, e.g. en or en_US - `template.variables` (string[]): Values for {{1}}, {{2}}… in order - `template.header_media_url` (string): Public https link for an IMAGE, VIDEO or DOCUMENT header Response 202: Message object. ### Get a message `GET https://blazechats.yoorie.com/api/v1/messages/{id}` · scope `messages:read` Poll this, or subscribe to the message.status webhook, to follow a message from queued to sent, delivered and read. Parameters: - `id` (path, string, required): Resource id Response 200: Message object. ### List contacts `GET https://blazechats.yoorie.com/api/v1/contacts` · scope `contacts:read` Newest first. Filter by search text, tag or opt-out state. Parameters: - `page` (query, integer): Page number, from 1 - `limit` (query, integer): Items per page (1–100) - `q` (query, string): Matches name, profile name, phone or email - `tag` (query, string): Only contacts with this tag - `opted_out` (query, "true" | "false"): Filter by opt-out state Response 200: paginated list of Contact (`data`, `page`, `limit`, `total`, `has_more`). ### Create or update a contact `POST https://blazechats.yoorie.com/api/v1/contacts` · scope `contacts:write` Upserts by phone number: if the number already exists in the workspace, the given fields are merged into it (tags are added, not replaced) and 200 is returned instead of 201. Request body (JSON): - `phone` (string, required): Phone number with country code, e.g. +91 98765 43210 or 919876543210 - `name` (string) - `email` (string) - `tags` (string[]) - `attributes` (object): Custom key/value fields - `opted_out` (boolean) Response 201: Contact object. ### Get a contact `GET https://blazechats.yoorie.com/api/v1/contacts/{id}` · scope `contacts:read` Parameters: - `id` (path, string, required): Resource id Response 200: Contact object. ### Update a contact `PATCH https://blazechats.yoorie.com/api/v1/contacts/{id}` · scope `contacts:write` Only the fields you send change. `tags` and `attributes` replace the stored values; send null for name or email to clear them. Parameters: - `id` (path, string, required): Resource id Request body (JSON): - `name` (string | null) - `email` (string | null) - `tags` (string[]) - `attributes` (object): Custom key/value fields - `opted_out` (boolean) Response 200: Contact object. ### List message templates `GET https://blazechats.yoorie.com/api/v1/templates` · scope `templates:read` Templates synced from Meta for this workspace's numbers (refreshed every 6 hours, on status webhooks, and when you press Sync in the app). Parameters: - `page` (query, integer): Page number, from 1 - `limit` (query, integer): Items per page (1–100) - `status` (query, "APPROVED" | "PENDING" | "REJECTED" | "PAUSED" | "DISABLED") - `language` (query, string) Response 200: paginated list of Template (`data`, `page`, `limit`, `total`, `has_more`). ### List conversations `GET https://blazechats.yoorie.com/api/v1/conversations` · scope `messages:read` One conversation per contact and number, most recent activity first. Parameters: - `page` (query, integer): Page number, from 1 - `limit` (query, integer): Items per page (1–100) - `status` (query, "open" | "pending" | "snoozed" | "closed") Response 200: paginated list of Conversation (`data`, `page`, `limit`, `total`, `has_more`). ### List messages in a conversation `GET https://blazechats.yoorie.com/api/v1/conversations/{id}/messages` · scope `messages:read` Newest first. Parameters: - `id` (path, string, required): Resource id - `page` (query, integer): Page number, from 1 - `limit` (query, integer): Items per page (1–100) Response 200: paginated list of Message (`data`, `page`, `limit`, `total`, `has_more`). ### Create a broadcast `POST https://blazechats.yoorie.com/api/v1/broadcasts` · scope `broadcasts:write` Sends an approved template to many contacts. Opted-out contacts are skipped when the audience is resolved. Sends go through the platform's rate-limited broadcast queue (20 messages per second by default), and Meta's own per-number messaging limit still applies. Variables may use {{name}} and {{phone}}, filled per contact. Request body (JSON): - `name` (string) - `template` (object, required) - `template.name` (string, required): Template name as approved by Meta - `template.language` (string, required): Template language code, e.g. en or en_US - `template.variables` (string[]): Values for {{1}}, {{2}}… in order - `template.header_media_url` (string): Public https link for an IMAGE, VIDEO or DOCUMENT header - `audience` (object | object | object, required): Exactly one of: { all: true }, { tag }, or { contact_ids } Response 202: Broadcast object. ### Get a broadcast `GET https://blazechats.yoorie.com/api/v1/broadcasts/{id}` · scope `broadcasts:write` Includes per-status recipient counts. Parameters: - `id` (path, string, required): Resource id Response 200: Broadcast object. ## Objects ### Message - `id` (string, required) - `conversation_id` (string | null, required) - `contact_id` (string | null, required) - `direction` ("in" | "out", required) - `type` (string, required): text, template, image, video, audio, document, sticker, location, interactive, button, reaction… - `text` (string | null, required): Text body or media caption - `template` (object | null, required) - `media` (object | null, required) - `status` ("queued" | "sent" | "delivered" | "read" | "failed" | "received" | string, required) - `error` (string | null, required) - `wa_message_id` (string | null, required): Meta's message id (wamid), once sent - `broadcast_id` (string | null, required) - `sent_at` (string | null, required) - `delivered_at` (string | null, required) - `read_at` (string | null, required) - `created_at` (string, required): ISO 8601 timestamp (UTC) ### Contact - `id` (string, required) - `phone` (string, required): WhatsApp ID: international number without '+', e.g. 919876543210 - `name` (string | null, required) - `profile_name` (string | null, required): Name from the customer's WhatsApp profile - `email` (string | null, required) - `tags` (string[], required) - `attributes` (object, required) - `opted_out` (boolean, required): True after the contact replied STOP, or when set by you. Opted-out contacts never receive templates or broadcasts. - `source` (string, required): whatsapp, manual, csv or api - `last_inbound_at` (string | null, required) - `created_at` (string, required): ISO 8601 timestamp (UTC) ### Template - `id` (string, required) - `name` (string, required) - `language` (string, required) - `category` (string | null, required): MARKETING, UTILITY or AUTHENTICATION - `status` (string, required): APPROVED, PENDING, REJECTED, PAUSED or DISABLED - `body` (string, required): Body text with {{1}}, {{2}} placeholders - `variables` (integer, required): Number of body placeholders to fill when sending - `header_format` (string | null, required): TEXT, IMAGE, VIDEO or DOCUMENT when the template has a header - `rejected_reason` (string | null, required) - `updated_at` (string, required): ISO 8601 timestamp (UTC) ### Conversation - `id` (string, required) - `status` ("open" | "closed" | string, required) - `unread` (integer, required) - `preview` (string | null, required) - `last_message_at` (string | null, required) - `last_inbound_at` (string | null, required) - `window_open` (boolean, required): True while free-form replies are allowed (24 hours after the customer's last message) - `contact` (object, required) - `contact.id` (string, required) - `contact.phone` (string, required) - `contact.name` (string | null, required) ### Broadcast - `id` (string, required) - `name` (string, required) - `template` (object, required) - `template.name` (string, required) - `template.language` (string, required) - `status` (string, required): queued, sending, completed or cancelled - `total` (integer, required) - `stats` (object, required) - `stats.pending` (integer, required) - `stats.sent` (integer, required) - `stats.delivered` (integer, required) - `stats.read` (integer, required) - `stats.failed` (integer, required) - `stats.skipped` (integer, required) - `created_at` (string, required): ISO 8601 timestamp (UTC) - `started_at` (string | null, required) - `completed_at` (string | null, required) ### Error - `error` (object, required) - `error.code` (string, required): Stable machine-readable code - `error.message` (string, required): Human-readable explanation - `error.details` (object[]): Per-field problems for validation_error --- # Docs: MCP server > Connect BlazeChats to AI assistants and agents (Cursor, Claude, VS Code, the OpenAI API) with the Model Context Protocol. Source: https://blazechats.yoorie.com/docs/mcp ## Overview BlazeChats runs a remote MCP server, so an AI assistant can look up contacts, read conversations and templates, check usage and, if you allow it, send WhatsApp messages from your workspace. It wraps the same [REST API](https://blazechats.yoorie.com/docs/api), with the same rules: scopes, opt-outs, the 24-hour window and queued sending. | Setting | Value | | --- | --- | | URL | `https://blazechats.yoorie.com/mcp` | | Transport | Streamable HTTP (stateless; responses are JSON) | | Auth | A workspace API key as `Authorization: Bearer bc_live_…` | | Rate limit | 120 requests per minute per key, shared with the REST API | | Plans | Pro and Agency; other plans get plan_upgrade_required | ## Create a key In the app, open `Settings` > `New API key`. Give it only the scopes the assistant needs: for a read-only assistant, leave `messages:send`, `contacts:write` and `broadcasts:write` unchecked. The MCP URL is shown on the same page. Keep the key out of shared config files; the snippets below read it from an environment variable or a prompt where the client supports that. ## Cursor Add this to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` in a project, set `BLAZECHATS_API_KEY` in your environment, then enable the server under Settings > MCP. mcp.json: ```json { "mcpServers": { "blazechats": { "url": "https://blazechats.yoorie.com/mcp", "headers": { "Authorization": "Bearer ${env:BLAZECHATS_API_KEY}" } } } } ``` ## Claude Code and Claude Desktop Claude Code takes the header directly: Claude Code: ```bash claude mcp add --transport http blazechats https://blazechats.yoorie.com/mcp \ --header "Authorization: Bearer $BLAZECHATS_API_KEY" ``` Claude Desktop's custom connectors sign in with OAuth, which BlazeChats doesn't offer yet. Use the `mcp-remote` bridge in `claude_desktop_config.json` instead (needs Node.js), then restart Claude Desktop: claude_desktop_config.json: ```json { "mcpServers": { "blazechats": { "command": "npx", "args": ["-y", "mcp-remote", "https://blazechats.yoorie.com/mcp", "--header", "Authorization:${BLAZECHATS_AUTH}"], "env": { "BLAZECHATS_AUTH": "Bearer bc_live_your_key" } } } } ``` ## VS Code For GitHub Copilot agent mode, add `.vscode/mcp.json`. VS Code asks for the key once and stores it securely. .vscode/mcp.json: ```json { "inputs": [{ "type": "promptString", "id": "blazechats-key", "description": "API key", "password": true }], "servers": { "blazechats": { "type": "http", "url": "https://blazechats.yoorie.com/mcp", "headers": { "Authorization": "Bearer ${input:blazechats-key}" } } } } ``` ## ChatGPT and the OpenAI API Custom MCP servers in the ChatGPT app currently support OAuth or no authentication, not API keys, so BlazeChats can't be added there yet. You can still give ChatGPT our public docs: ask it to read [https://blazechats.yoorie.com/llms-full.txt](https://blazechats.yoorie.com/llms-full.txt). In your own apps, the OpenAI Responses API accepts the key as a header: OpenAI Responses API: ```python from openai import OpenAI client = OpenAI() resp = client.responses.create( model="gpt-5", tools=[{ "type": "mcp", "server_label": "blazechats", "server_url": "https://blazechats.yoorie.com/mcp", "headers": {"Authorization": f"Bearer {BLAZECHATS_API_KEY}"}, "require_approval": "always", }], input="How many messages did we send this month, and which templates are approved?", ) print(resp.output_text) ``` ## Other clients Any client that supports Streamable HTTP and custom headers works. POST JSON-RPC to the URL with `Accept: application/json, text/event-stream`. Each request is independent (no session id), so you can call `tools/list` or `tools/call` directly: curl: ```bash curl https://blazechats.yoorie.com/mcp \ -H "Authorization: Bearer $BLAZECHATS_API_KEY" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_usage","arguments":{}}}' ``` ## Tools Tool errors come back as results with `isError: true` and the same error codes as the REST API, so the assistant can explain what went wrong (for example `window_closed` or `opted_out`). | Tool | Scope | What it does | | --- | --- | --- | | `get_workspace` | any key | Returns the workspace this API key belongs to (name, plan, status), the key's scopes, and the connected WhatsApp numbers with quality rating and messaging limit. | | `get_usage` | any key | This calendar month's usage (UTC): messages sent, received and failed, billable messages by Meta pricing category, active conversations, broadcasts created and total contacts. | | `list_contacts` | `contacts:read` | Lists contacts, newest first. `query` matches name, WhatsApp profile name, phone or email. Filter by tag or opt-out state. Paginated. | | `get_contact` | `contacts:read` | Gets one contact by id. | | `create_contact` | `contacts:write` | Creates a contact, or merges into the existing contact with the same phone number (tags are added, not replaced). | | `update_contact` | `contacts:write` | Updates a contact. Only the fields you pass change; `tags` and `attributes` replace the stored values. Pass null for name or email to clear them. | | `list_templates` | `templates:read` | Lists WhatsApp message templates synced from Meta, with status, category, language, body text and variable count. Only APPROVED templates can be sent. | | `list_conversations` | `messages:read` | Lists inbox conversations, most recent activity first, with the contact, unread count and whether the 24-hour window is open (free-text replies are only possible while it is). | | `list_messages` | `messages:read` | Lists the messages of one conversation, newest first. | | `get_message` | `messages:read` | Gets one message by id, including its delivery status (queued, sent, delivered, read or failed). | | `send_text_message` | `messages:send` | Sends a WhatsApp text message to a real customer from the workspace's connected number. Only allowed while the contact's 24-hour customer service window is open (24 hours after their last message); otherwise use send_template_message. The message is queued and its status starts as `queued`. | | `send_template_message` | `messages:send` | Sends an approved WhatsApp template to a real customer; works outside the 24-hour window. Never sent to contacts who opted out. The message is queued and its status starts as `queued`. | | `create_broadcast` | `broadcasts:write` | Sends an approved template to many real customers: all contacts, contacts with a tag, or a list of contact ids. Opted-out contacts are skipped. Sends are paced by the broadcast queue and Meta's messaging limit. Variables may use {{name}} and {{phone}}. Needs the broadcasts:write scope. | | `get_broadcast` | `broadcasts:write` | Gets a broadcast's status and per-status recipient counts (pending, sent, delivered, read, failed, skipped). | ## Safety - `send_text_message`, `send_template_message` and `create_broadcast` message real customers. Read-only tools are marked with `readOnlyHint`, so most clients ask you to confirm everything else. - Free text only goes out while the contact's 24-hour window is open, templates never go to opted-out contacts, and every send is queued and paced like sends from the app. - Use a separate key per assistant so you can see when it was last used and revoke it on its own in Settings. --- # Docs: AI & agents > Machine-readable BlazeChats docs for AI assistants, chat apps and coding agents. Source: https://blazechats.yoorie.com/docs/ai ## Files for AI Everything below is public, plain text and generated from the same source as this site, so it stays in sync with the docs. | URL | What it is | | --- | --- | | [/llms.txt](https://blazechats.yoorie.com/llms.txt) | A short map of BlazeChats: what it does, plans and links to every docs page (llmstxt.org format) | | [/llms-full.txt](https://blazechats.yoorie.com/llms-full.txt) | All docs pages and the API reference in one Markdown file | | `/docs/.md` | Any docs page as Markdown, e.g. [/docs/broadcasts.md](https://blazechats.yoorie.com/docs/broadcasts.md) | | [/api/v1/openapi.json](https://blazechats.yoorie.com/api/v1/openapi.json) | OpenAPI 3.1 spec for the REST API | | `https://blazechats.yoorie.com/mcp` | MCP server for agents, see [MCP server](https://blazechats.yoorie.com/docs/mcp) | ## Ask your assistant Paste a link into ChatGPT, Claude, Gemini or Perplexity and ask away. For example: Prompt: ```text Read https://blazechats.yoorie.com/llms-full.txt and explain how BlazeChats broadcasts handle opt-outs and Meta rate limits. ``` Coding agents can use the OpenAPI spec to write an integration: `Generate a typed client for https://blazechats.yoorie.com/api/v1 from https://blazechats.yoorie.com/api/v1/openapi.json`. ## Crawlers Our [robots.txt](https://blazechats.yoorie.com/robots.txt) allows search and AI crawlers (including GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot and Google-Extended) on public pages: the website, pricing, docs and the files above. The app and API are off limits to crawlers. Pages also carry structured data (Organization, SoftwareApplication, FAQ) so assistants describe BlazeChats accurately. ## Let agents act To let an assistant work with your own workspace, not just read about BlazeChats, connect it to the [MCP server](https://blazechats.yoorie.com/docs/mcp) with an API key, or call the [REST API](https://blazechats.yoorie.com/docs/api) from your own agent code. Both are included in the Pro and Agency plans.