WhatsApp / Meta Setup for Ramz
Everything you need to configure on Meta's side before sending your first one-time passcode. Done once, takes 30–60 minutes plus Meta review time.
Ramz (رمز), Chatrixa’s verification product, sends codes from your own WhatsApp Business Account (WABA). That matters for cost: Meta bills authentication conversations directly to your WABA at Meta's regional rates — Chatrixa credits are the platform fee only, and never mark up delivery.
Step 1 — Meta Business Manager
- Go to business.facebook.com and create (or use) a Meta Business Portfolio for your company.
- Add your company's legal details under Business settings → Business info — the legal name must match your registration documents; you will need this for business verification in Step 6.
Step 2 — Create a Meta app with WhatsApp
- Open developers.facebook.com → My Apps → Create App.
- Choose Business as the app type and link it to your Business Portfolio.
- In the app dashboard, click Add product → WhatsApp → Set up. This creates a WhatsApp Business Account (WABA) with a free test number.
Step 3 — Add and verify your phone number
- In WhatsApp → API Setup, click Add phone number.
- Use a number that is not registered on the consumer WhatsApp app (or delete that registration first). A dedicated virtual/landline number works — it only needs to receive one verification call or SMS.
- Verify it via the SMS/voice code Meta sends.
- Set a display name that matches your brand or legal name. Meta reviews display names — generic names ("Verification", "OTP") are rejected; use your actual brand.
Step 4 — Connect the number to Chatrixa
Two options:
- Embedded signup (recommended): in Chatrixa go to Settings → WhatsApp and follow the connect flow — it walks through Meta's OAuth and links the WABA automatically.
- Manual: copy the Phone number ID, WABA ID, and a
permanent System User access token (Business settings → Users →
System users → generate token with
whatsapp_business_messagingandwhatsapp_business_managementpermissions) into Chatrixa's WhatsApp settings.
Step 5 — Authentication template (usually automatic)
OTP messages must use an AUTHENTICATION-category template — Meta blocks free-form messages for codes.
Chatrixa creates one for you: the moment your number is connected, the
default ramz_otp template is submitted to Meta automatically in English
and Arabic (copy-code button, 5-minute expiry footer). Authentication
templates usually approve within minutes, after which /api/otp/send works
with no configuration. Create your own template only if you need other
languages or settings — then pin it per request with the template
parameter.
- In Chatrixa go to Templates → New template.
- Category: Authentication. Language: your customers' language
(create one per language you need — e.g.
en_USandar). - Meta fixes the body text of authentication templates. You choose:
- Security recommendation line on/off ("For your security, do not share this code")
- Code expiration footer (set it to match the
expires_inyou'll use — default 5 minutes) - Code delivery button: choose Copy code (works everywhere) or One-tap autofill (Android only, requires app signature setup)
- Submit. Authentication templates are usually approved within minutes to a few hours.
- Back in Chatrixa, hit Sync templates so the approved template is
available to the API. If you have exactly one approved authentication
template,
/api/otp/sendpicks it automatically — no configuration needed.
Step 6 — Business verification (for production volume)
Unverified businesses are limited to 250 business-initiated conversations per day — fine for testing, not for launch.
- In Business settings → Security centre → Start verification, submit your legal business name, address, and a supporting document (commercial registration, utility bill, or bank statement matching the legal name).
- Review typically takes 1–5 business days.
- Once verified, your messaging limit rises automatically to 1,000 conversations/day, then scales to 10k → 100k → unlimited as you send with good quality ratings (Meta upgrades tiers automatically based on volume and quality over 7-day windows).
Step 7 — Understand Meta's charges
- Authentication conversations are billed by Meta directly to your WABA at per-country rates (roughly $0.006–$0.045 per conversation window; check Meta's current rate card for your markets — Gulf rates are on the lower end).
- A conversation window lasts 24 h — multiple OTPs to the same number within the window count as one conversation.
- Add a payment method to the WABA under Billing & payments, or messages will stop when the free tier is exhausted.
Step 8 — Get your Chatrixa API token and go live
- In Chatrixa: Developer Tools → Access Tokens → Generate (full access, or Specific permissions with Send and verify OTP codes —
otp:send). - Send a test code:
curl -X POST https://chatrixa.com/api/otp/send \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"phone": "+965XXXXXXXX"}'
- Verify it:
curl -X POST https://chatrixa.com/api/otp/verify \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"phone": "+965XXXXXXXX", "code": "123456"}'
You're live. See Ramz pricing & credits for how usage is billed, and the OTP API guide for every parameter and error code.
Launch checklist
- Business Portfolio created with legal details
- Meta app created with WhatsApp product
- Dedicated phone number added, verified, display name approved
- Number connected to Chatrixa (embedded signup or manual credentials)
- AUTHENTICATION template approved and synced (per language)
- Business verification submitted / approved
- Payment method attached to the WABA
- Test OTP sent and verified end-to-end
- Production traffic ramped gradually to build quality rating