For the complete documentation index, see llms.txt. This page is also available as Markdown.

5. Go live

Don't flip the agent on for every customer at once. Release it to a small, controlled set of customers first, watch how it behaves on real conversations, and fix what you learn. That's what the allowlist is for.

How the allowlist works

The agent's audience is controlled by the ai_audience setting:

  • ALLOWLISTED_ONLY — the agent responds only to consumers on the allowlist. Everyone else is handled as if the agent weren't there.

  • EVERYONE — the agent responds to all consumers (that's full rollout). The allowlist is ignored.

No payment method needed for this step. You can turn the agent on under ALLOWLISTED_ONLY before adding billing to Meta. A payment method is only required for EVERYONE.

Turn on a controlled launch

1

Add your test customers to the allowlist

Add each customer by phone number (E.164 format):

curl -s -X POST https://waba-v2.360dialog.io/agent_config/allowlist \
  -H "D360-API-KEY: <YOUR_API_KEY>" \
  -H "X-API-Version: 2.0.0" \
  -H "Content-Type: application/json" \
  -d '{ "consumer_phone_number": "+49123456789" }'

Or by Business-Scoped User ID (BSUID) — the user_id from your webhooks. Use this for customers who have adopted a WhatsApp username and whose messages carry no phone number:

curl -s -X POST https://waba-v2.360dialog.io/agent_config/allowlist \
  -H "D360-API-KEY: <YOUR_API_KEY>" \
  -H "X-API-Version: 2.0.0" \
  -H "Content-Type: application/json" \
  -d '{ "consumer_bsuid": "US.13491208655302741918" }'

Send exactly one of consumer_phone_number or consumer_bsuid per request; sending both returns 400.

Add to allowlist

2

Enable the agent and set the audience to allowlist-only

curl -s -X PUT https://waba-v2.360dialog.io/agent_config/settings \
  -H "D360-API-KEY: <YOUR_API_KEY>" \
  -H "X-API-Version: 2.0.0" \
  -H "Content-Type: application/json" \
  -d '{
    "rollout": { "enabled": true },
    "ai_audience": "ALLOWLISTED_ONLY"
  }'

Update AI agent settings

Now only the customers you added will talk to the agent. If enabling fails with 400, see Roll out to everyone — if enabling fails.

Iterate

Treat the controlled launch as a feedback loop:

  1. Message the agent from allowlisted numbers on real WhatsApp, and keep using agent_test for quick checks.

  2. Watch the replies — on the phone, or by logging the standby webhook events. Is it grounded, on-brand, and handing off when it should?

  3. Debug odd replies with Conversation turns.

  4. Refine skills, FAQs, and business info based on what you see.

  5. Expand the allowlist gradually — add colleagues, then friendly customers.

  6. Repeat until you're confident.

Have your human-handoff path ready before you go live, even in the allowlist phase. Once the agent hands a chat to a human it stops replying — so make sure a human can actually pick up. See handoff.

When the agent performs well for your allowlist, you're ready to roll out to everyone.

Last updated

Was this helpful?