---
title: "Draftbit WhatsApp integration · Spaces"
description: "Connect WhatsApp to an app built with Draftbit: read chats and reply through one API, with a prompt to paste and no developer app or review."
url: https://www.spacesos.com/build-with/draftbit/whatsapp
---

# Connect WhatsApp to your Draftbit app

Draftbit builds React Native mobile apps. With Spaces, that app reads your WhatsApp chats and replies through one API, without a developer app or a review by WhatsApp. You keep using the account you already have.

[Get a free API key](https://www.spacesos.com/signup) See the setup

**Draftbit**

**WhatsApp**

## What your Draftbit app can do on WhatsApp

### Read every chat

The chats of each connected number, newest first, with their full history.

### Reply with text and media

Send text, photos, videos, voice notes and files in a chat.

### Hear new messages at once

A signed webhook calls your app the moment a message arrives, so it can answer without polling.

### Several numbers in one app

Sales, support and each branch can have their own number, all in the same inbox.

## Four steps

1. ### Get a Spaces key
  Sign up free and create an API key in Settings, under Developers.
2. ### Connect WhatsApp
  You scan a QR code with WhatsApp on the phone, the same way you link WhatsApp on a computer. Each number is its own account, and you can connect more than one.
3. ### Add the key to Draftbit
  Save it in your backend’s environment.
4. ### Add the calls
  Add the Spaces calls below in Draftbit, then use them in your pages and workflows.

**Keep the key off people’s devices.** A key in Draftbit’s build settings ends up in the app. Call Spaces from your own backend.

## Set up WhatsApp in Draftbit

For an app that answers your own WhatsApp.

```
In Draftbit: your own backend (Draftbit apps have no server of their own).

Base URL:  https://api.spacesos.com/v1
Header:    Authorization: Bearer <your Spaces API key>   (keep it in your backend’s environment)

Calls to add:
  WhatsApp accounts  GET  /messaging/accounts?channel=whatsapp
  List chats         GET  /messaging/accounts/{account_id}/chats
  List messages      GET  /messaging/accounts/{account_id}/chats/{chat_id}/messages
  Send a reply       POST /messaging/accounts/{account_id}/chats/{chat_id}/messages
                     body {"text": "..."}, header Idempotency-Key: a new value for each message

Over a limit Spaces answers 429 with retry_after_seconds: wait, then try again.
Full reference: https://www.spacesos.com/docs
```

Put Spaces behind a small backend, such as Xano, and point Draftbit at it.

## Let Draftbit look at your real WhatsApp chats

To give it only the WhatsApp tools, use this address instead of the main one: `https://api.spacesos.com/mcp/whatsapp`

## Apps people build with WhatsApp

### A booking assistant

Clients ask for a time on WhatsApp, the app checks the calendar and answers with the free slots.

### An order desk

Customers ask where their order is, and the app looks it up and replies with the status.

### A shared support inbox

The team sees every WhatsApp chat in one place, with an AI draft ready for each reply.

Hi, can I book a haircut for Saturday morning?

Saturday has 10:00 and 11:30 free. Which one suits you?

10:00 please

Booked for Saturday at 10:00. See you then!

## Limits that keep the account safe

| New messages a day | 400 |
| --- | --- |
| Replies to people who wrote in, a day | 400 |
| New conversations a day | 10 |
| Gap between two sends | 10 seconds |

For each account after warm-up. New accounts start lower and warm up over four weeks. [Every limit, per channel](https://www.spacesos.com/limits)

Spaces connects the WhatsApp number you already use. It is built for answering people and following up with customers, not for bulk messages to lists of strangers.

## Your users’ WhatsApp accounts

Building a product where each user connects their own WhatsApp? That needs a partner account, in early access. [Spaces for SaaS](https://www.spacesos.com/saas) · [Partner setup for Draftbit](https://www.spacesos.com/build-with/draftbit)

06

## Questions

**Still have a question?** Ask your AI agent: it can read our docs. Or browse every answer.[All answers](https://www.spacesos.com/answers)

### Can a Draftbit app send and receive WhatsApp messages?

Yes, through Spaces. The app calls the Spaces API from your own backend (Draftbit apps have no server of their own), and Spaces reads and sends on the WhatsApp accounts connected to it.

### How do I connect WhatsApp?

You scan a QR code with WhatsApp on the phone, the same way you link WhatsApp on a computer. Each number is its own account, and you can connect more than one. There is no developer app or app review to pass.

### Where does the API key go?

In your backend’s environment. Call Spaces only from your own backend (Draftbit apps have no server of their own), never from code that runs in the browser.

### Can my app’s users connect their own WhatsApp?

Yes, with a partner account: each user connects through a link that shows your app’s name and gets a key of their own. Partner accounts are in early access; see Spaces for SaaS.

### What does it cost?

The Free plan has 1 connected account and 20 actions a day, with no card, which is enough to build and test. Pay as you go is $19 a month per account with 200 actions per account a day, then $0.005 an action. Reading messages is always free.

### Will my WhatsApp account get restricted?

Spaces connects the WhatsApp number you already use. It is built for answering people and following up with customers, not for bulk messages to lists of strangers. New accounts warm up over four weeks, and repeated messages to many people wait for you to approve them. No tool can promise a platform will never restrict an account.

Other channels in Draftbit: [Instagram](https://www.spacesos.com/build-with/draftbit/instagram) · [LinkedIn](https://www.spacesos.com/build-with/draftbit/linkedin) · [Facebook Messenger](https://www.spacesos.com/build-with/draftbit/messenger) · [Telegram](https://www.spacesos.com/build-with/draftbit/telegram) · [WhatsApp in Spaces](https://www.spacesos.com/channels/whatsapp)

WhatsApp with another builder: [Bubble](https://www.spacesos.com/build-with/bubble/whatsapp) · [FlutterFlow](https://www.spacesos.com/build-with/flutterflow/whatsapp) · [Glide](https://www.spacesos.com/build-with/glide/whatsapp) · [Softr](https://www.spacesos.com/build-with/softr/whatsapp) · [WeWeb](https://www.spacesos.com/build-with/weweb/whatsapp) · [Xano](https://www.spacesos.com/build-with/xano/whatsapp) · [Retool](https://www.spacesos.com/build-with/retool/whatsapp) · [Appsmith](https://www.spacesos.com/build-with/appsmith/whatsapp) · [All 49 builders](https://www.spacesos.com/build-with)

Live in under 60 seconds

## Your Draftbit app, answering WhatsApp.

Start free with one account and 20 actions a day. No card needed.

For you[Start free, live in 60 seconds](https://app.spacesos.com/signup) No card needed. Connect WhatsApp, Instagram, LinkedIn or Messenger.

For your AI agent

`Set up Spaces for me by following https://www.spacesos.com/agents`

Paste it into Grok, Muse, Claude or ChatGPT. Your agent does the rest.
