Skip to Content
Wirebird Docs

Overview

Give the businesses on your platform their own business phone number for texting and calling, inside your product.

Wirebird is texting and calling you embed in your software. Each of your customers (a business) gets its own local number, registered for business texting, with an inbox for texts and calls. You add it with a few React components and one endpoint on your server. You don't deal with carriers, number registration or phone-system code.

How embedding works

 Your browser app                 Your server                     Wirebird
 ────────────────                 ───────────                     ────────
 <WirebirdProvider>
   fetchToken() ───────────────▶  POST /api/wirebird-session
                                    who is signed in? (your login)
                                    POST /v1/embed/sessions  ───▶  finds or creates the business
                                    Bearer wb_live_…                + user, returns a 1-hour token
                 ◀─────────────── { token, expiresAt }       ◀───
   <Wirebird /> ─────────── talks to Wirebird directly with the token ───────────▶
  1. Your server keeps a secret API key and is the only thing that ever sees it.
  2. When a signed-in user opens a page with Wirebird on it, your server asks Wirebird for a session: a short-lived token for exactly one business and one user.
  3. The browser gets only that token. Wirebird components use it to load and send texts, calls and setup.

What you'll build

On this page