Chatrixa Developers

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

  1. Go to business.facebook.com and create (or use) a Meta Business Portfolio for your company.
  2. 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

  1. Open developers.facebook.com → My Apps → Create App.
  2. Choose Business as the app type and link it to your Business Portfolio.
  3. 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

  1. In WhatsApp → API Setup, click Add phone number.
  2. 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.
  3. Verify it via the SMS/voice code Meta sends.
  4. 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:

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.

  1. In Chatrixa go to Templates → New template.
  2. Category: Authentication. Language: your customers' language (create one per language you need — e.g. en_US and ar).
  3. 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_in you'll use — default 5 minutes)
    • Code delivery button: choose Copy code (works everywhere) or One-tap autofill (Android only, requires app signature setup)
  4. Submit. Authentication templates are usually approved within minutes to a few hours.
  5. 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/send picks 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.

  1. 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).
  2. Review typically takes 1–5 business days.
  3. 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

Step 8 — Get your Chatrixa API token and go live

  1. In Chatrixa: Developer Tools → Access Tokens → Generate (full access, or Specific permissions with Send and verify OTP codes — otp:send).
  2. 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"}'
  1. 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