Connect your WhatsApp number
TL;DR
- Your own number, Meta's official API. Orkestia connects a WhatsApp Business number through Meta's WhatsApp Cloud API. It is not an unofficial WhatsApp Web gateway, so your number is not at risk of being banned for using one.
- One conversation, two places. A message sent to your number lands in the person's DM with the actor in your app's chat. The actor answers as it does in the web chat, and the answer goes back on WhatsApp. Your team sees the same thread in the chat.
- Only people who linked their phone reach the actor. An end user signs in to your app, taps Conectar WhatsApp and sends a one-time
LINK-code from their phone. Messages from numbers that are not linked never reach the actor. People who only use WhatsApp can be enrolled. - People without an email can still be your users. You can turn a phone number into an end user of your app with no email and no password, and add that person to a workspace.
- You pay Meta for WhatsApp, directly. The number lives in your own Meta Business account. Orkestia does not charge separately for WhatsApp messages.
- Organization admins connect numbers. Nobody else in your organization sees the buttons.
WhatsApp is in beta.
Before you start
| You need | Why |
|---|---|
| To be an organization admin | Connecting and binding a number is admin-only for now |
| An identity app with its chat enabled and published, and an actor attached | The number is bound to your app's chat and to the actor that answers. See Enable and publish and Actors in chat |
| A phone number that is not in use on the WhatsApp app (WhatsApp or WhatsApp Business on a phone) | Meta moves the number to the Cloud API. A number still active in the phone app cannot be registered; remove it from the app first, or use a new number |
| A Meta Business account | You can create it during the connection flow if you do not have one |
| A payment method on your Meta account | Meta bills you for the conversations and templates it charges for |
Connect a number
Coming SoonConectar número (Meta), the guided connection through Meta's own sign-up popup, is being enabled. Until it is, the button does not appear in the console. If your team already runs its own Meta app with WhatsApp, see Bring your own Meta app.
Open the WhatsApp section
In the console, open your identity app and choose the Atendimento tab (the app's chat). Scroll to WhatsApp.
Start the Meta flow
Click Conectar número (Meta). If the number already has a two-step verification PIN, type it (6 digits); otherwise leave it empty. Click Continuar com a Meta.
Finish in Meta's popup
A Meta window opens. Sign in with Facebook, create or choose your Meta Business account and WhatsApp Business account, then add or choose the phone number and verify it with the code Meta sends. When the popup closes, Orkestia creates the WhatsApp connection for that number.
Bind the number to your chat
The Ligar número de WhatsApp dialog opens with the new number selected. Choose:
- Ator que responde: the actor that answers WhatsApp messages;
- Quem pode falar: Somente números vinculados pelo app (only phones your end users linked);
- Resposta a números desconhecidos (optional): a short reply sent at most once a day to numbers that are not linked, for example how to link from your app.
Click Ligar número. The number appears in the list as Ativo.
To stop, click Desligar on the number. Contacts and history are kept.
What your end users do
Link their phone
In your app's chat, the person taps Conectar WhatsApp. The chat shows a one-time code (LINK- followed by 8 characters) and a link that opens WhatsApp with the code ready to send.
Send the code
They send the code to your number from the phone they want to use, within 15 minutes. Sending it from that phone is the proof that the phone is theirs.
Talk to the actor
From then on, what they write on WhatsApp reaches the actor, and the actor's answer comes back on WhatsApp. Buttons and choices the actor offers show up as WhatsApp buttons or lists. Images and documents up to 1 MiB come through as chat attachments.
They can unlink at any time from the same Conectar WhatsApp dialog (Desconectar).
People who only use WhatsApp
Linking needs a person who already signed in to your app. Some of your users will never open it in a browser: they only talk to you on WhatsApp. For them you can create a WhatsApp-only end user:
- an end user of your identity app, identified by a phone number WhatsApp has verified, with no email and no password;
- it takes a seat, like any other end user of the app;
- it talks to your actor on WhatsApp, and the conversation is its DM in the chat;
- it cannot sign in on the hosted login page, which is email-based (see Sign in with Orkestia);
- it can be a member of a workspace (see below).
Create one by enrolling a number you have consent for.
Enroll a number you have consent for
When your organization already has a person's number and their consent (a signed form, a contract), enroll it with buzz.channel.whatsapp.enroll-contact:
| Input | |
|---|---|
binding_uuid or space_uuid | The number to enroll them on (space_uuid takes the space's active binding) |
wa_id | The person's number, E.164 with or without +, for example +5511999998888 |
consent_ref | Required. Your own reference to the consent you collected, at most 200 characters. It is kept with the contact and in the audit trail |
display_name | Optional. The name to show until WhatsApp sends theirs |
It creates the WhatsApp-only end user (or returns the one that already exists for that number), seats it, links the number and records that the person accepts messages from you. It returns end_user_uuid, contact_uuid, created, seated, linked and opted_in. Running it again for the same number returns the same end user. It refuses a number that sent an opt-out word, and a number already linked to another end user.
Your organization calls it: a member, or one of your organization's compositions or schedules. End users and agents cannot.
Add them to a workspace
A WhatsApp-only end user joins a workspace like anyone else, by its id: run identity.app-organization.add-member with identity_app_uuid, app_organization_uuid, end_user_uuid and an optional group_slug.
The invite flows (identity.app-organization.invite, and identity.end-user.organization.invite-member for workspace admins inside your app) send an email, so they need an address. A workspace admin in your app cannot invite a WhatsApp-only person on their own; your organization adds them.
To find a person's end_user_uuid, use the output of enroll-contact, or list the app's end users with identity.end-user.query: a WhatsApp-only end user has email: null and its number in phone_e164.
One number, an actor per person
A binding answers through one actor. When several people share your number and each should have their own actor (a personal assistant per salesperson, for example), route each person with buzz.channel.whatsapp.route-contact: binding_uuid (or space_uuid), wa_id, and the actor's attachment_uuid in the same space (or staff_actor_uuid). Their messages, the actor's replies and copies of notify then go through that actor. An empty attachment_uuid brings them back to the binding's default actor.
- The number must already be linked to an end user (a
LINK-code orenroll-contact). - Your organization calls it. End users cannot route themselves to another actor.
- To route people as they link, set
link_consumer_workflow_typeon the binding (buzz.channel.whatsapp.configure): that workflow starts each time someone links with aLINK-code, with theirwa_idandend_user_uuid.
The 24-hour window and templates
Meta only lets a business send free text to a person within 24 hours of that person's last message. After that, the only messages allowed are templates approved by Meta, and Meta charges for them.
- Replies to someone who just wrote are always inside the window.
- A message you start (a reminder, an alert) outside the window needs an approved template.
buzz.channel.whatsapp.notifysends free text inside the window and a template outside it, and only to people who accepted messages from you. - If an answer would go out after the window closed and no fallback template is set, it is not sent to WhatsApp, and a notice appears in the web thread instead.
- Manage templates with
whatsapp.template.list,whatsapp.template.get,whatsapp.template.createandwhatsapp.template.delete. Meta reviews every new template.
Opting out and back in
| The person writes | Effect |
|---|---|
PARAR, STOP or SAIR | Opted out: nothing more is sent to them on WhatsApp |
VOLTAR or START | Opted back in |
People can also accept messages you start from the Conectar WhatsApp dialog in the chat.
A person on your team takes over
A WhatsApp conversation is a DM in your chat, so anyone on your team with access to the chat can read it. When someone from your organization writes in that DM, the message goes to WhatsApp with their name in front, and the actor stays quiet in that conversation for 30 minutes (by default) so the people can talk. The usual "talk to someone" handoff works on WhatsApp too.
Files from WhatsApp
Photos, documents, video, and voice notes from a linked contact can be copied into Orkestia storage. The message in the chat stays in the chat. Files already stored on the chat stay there.
On a number that is already bound, run buzz.channel.whatsapp.configure and set media_storage to {"storage_space_uuid": "<the space>"}. This does not bind a number. Where to use Orkestia storage is the same step next to the other places the space is named.
Who pays Meta
- Meta bills your Meta Business account for WhatsApp, at Meta's prices (WhatsApp pricing). Templates are charged per message by category (marketing, utility, authentication).
- Orkestia does not charge per WhatsApp message. The work behind a WhatsApp conversation is ordinary platform usage (workflow runs and storage) on your plan.
Bring your own Meta app
Teams that already run a Meta Business app with the WhatsApp product can connect a number by hand:
- In the console, go to Connections and add WhatsApp Cloud API (Meta). Fill in the Phone number ID and WhatsApp Business Account ID (Meta App Dashboard → WhatsApp → API Setup), a permanent System user access token, the App secret, a random Webhook verify token you choose, and optionally the App ID, Graph API version and Display phone number.
- Bind the number with Ligar número in the WhatsApp section of the Atendimento tab, as above. The result shows the URL de callback para o app da Meta.
- In your Meta app, under WhatsApp → Configuration → Webhook, set that callback URL and the same verify token, click Verify and save, and subscribe the messages field.
Ask your AI assistant
List the WhatsApp numbers bound to my chat space with buzz.channel.whatsapp.list and show which actor answers each one.
Check the health of my WhatsApp number with whatsapp.phone-number.get: quality rating and messaging tier.
List the approved WhatsApp templates on my number with whatsapp.template.list.
Enroll +5511999998888 on my WhatsApp number with buzz.channel.whatsapp.enroll-contact (consent reference "signup-form-2026-10") and add them to the workspace "Acme" with identity.app-organization.add-member.
For AI agents
| Need | Do this |
|---|---|
| Bound numbers | buzz.channel.whatsapp.list (with space_uuid) or buzz.channel.whatsapp.get. Never guess a binding_uuid |
| Number health | whatsapp.phone-number.get (read-only) |
| Confirm with the user first | buzz.channel.whatsapp.bind, buzz.channel.whatsapp.unbind, buzz.channel.whatsapp.notify, every whatsapp.message.send-*, whatsapp.template.create / delete, buzz.channel.whatsapp.enroll-contact, a contact_policy change in buzz.channel.whatsapp.configure |
| A person without an email | buzz.channel.whatsapp.enroll-contact (needs a real consent_ref; never invent one), then identity.app-organization.add-member with end_user_uuid. They cannot sign in on the web |
| One actor per person on a shared number | buzz.channel.whatsapp.route-contact; empty attachment_uuid restores the default |
| Copy new WhatsApp files into Orkestia storage | buzz.channel.whatsapp.configure with media_storage set to {"storage_space_uuid": "<space>"} on a number that is already bound. See Where to use it |
| Callers | Bind and unbind are for organization admins; end users only link, unlink and opt in through the chat |
| Outside the 24-hour window | Only a Meta-approved template can be sent |
Living Surfaces
A page of live cards that DGI grows, keeps current and retires by itself. Create, tick, signal, read, list, archive and crystallize a surface with dgi.surface.*, set its policy, run its heartbeat, and follow its patch stream over a WebSocket
Chat relay versions
Each app's chat runs its own relay version. See it, upgrade it one version at a time with a backup and an automatic watch, roll it back, and know how long each version is supported
