Skip to content

About 20 minutes, once

Connect WhatsApp
step by step.

Scholix sends through your school's own official WhatsApp Business account. Follow these steps in order. Each step says whether you do it on Meta, on Scholix or on your phone.

Before you start

  • • A Facebook account (yours, the school's owner or admin).
  • • A phone number for the school that can receive an SMS or call. It must not be logged in to WhatsApp or WhatsApp Business (Step 3).
  • • Your business details: name, address, website or Facebook page.
  • • A Scholix account with the Owner role (or Manage integrations permission).

You'll copy these 3 things into Scholix

  • WhatsApp Business Account IDStep 4
  • Access token (system user, never expires)Step 6
  • App secretStep 7

And copy 2 things from Scholix into Meta

  • Callback URLStep 9
  • Verify token (shown once)Step 9

Part 1 · Meta

Create your WhatsApp account on Meta

Everything in this part happens on Meta's websites. Keep the tabs open: you'll come back to them.

  1. 1

    Create a business portfolio

    On Meta
    1. Open business.facebook.com/create.
    2. Enter your school or business name, your name and a business email, then Submit.
    3. Open the confirmation email Meta sends and click the link.

    Already have a business portfolio? Skip this step and use it.

  2. 2

    Create a Meta app with WhatsApp

    On Meta
    1. Open developers.facebook.com → My Apps → Create app.
    2. App name: e.g. "My School WhatsApp". Contact email: yours. Next.
    3. Use case: choose Connect with customers through WhatsApp. Next.
    4. Business portfolio: choose the one from Step 1. Next → Create app (Meta may ask for your Facebook password).
    5. In the app, open Use cases → Connect on WhatsApp → Customize → Step 1. Try it out and click Continue. Meta gives you a free test number.
  3. 3

    Free up your real number

    On your phone

    Meta can only register a number that is not active on the WhatsApp or WhatsApp Business app.

    1. If the number is on WhatsApp or WhatsApp Business: open the app → Settings → Account → Delete account (export chats you need first). Logging out is not enough.
    2. Wait 3–5 minutes.
    After registration this number works only through Scholix, not in a WhatsApp app on a phone. Use a separate number if you still need WhatsApp on your phone.
  4. 4

    Add your phone number and note the Business Account ID

    On Meta
    1. In your app: Use cases → Connect on WhatsApp → Customize → Step 2. Production setup → Register your WhatsApp phone number → Add phone number.
    2. Country: Pakistan +92 (or yours). Number without the leading 0, e.g. 3001234567. Verify by Text message or Phone call and enter the code.
    3. Business info: name, category (Education), country, website, time zone. Display name: your school's name (Meta reviews it).
    4. Find your WhatsApp Business Account ID: Step 1. Try it out → "Messaging account ID", or Business settings → WhatsApp accounts. If Meta created a new account for your number, use that account's ID.
  5. 5

    Create a system user

    On Meta
    1. Open Business settings → Users → System users → Add.
    2. Name: Scholix. Role: Admin. Create system user (accept Meta's policy if asked).
    3. Select the user → Assign assets:
      • Apps → your app → Manage app (full control).
      • WhatsApp accounts → the account with your number → Everything (full control).
      → Assign assets.
  6. 6

    Generate the access token

    On Meta
    1. Same page → select the Scholix system user → Generate token.
    2. App: your app → Next. Expiration: Never → Next.
    3. Permissions: tick whatsapp_business_management and whatsapp_business_messaging → Generate token.
    4. Click Copy and keep it somewhere safe for Step 8. Meta shows it only once.
    Don't use the "temporary access token" from the API Setup page: it expires in 24 hours. Lost the token? Generate a new one. Revoke tokens removes all of this user's tokens, so revoke first, then generate.
  7. 7

    Copy the App secret

    On Meta
    1. In your app: App settings → Basic.
    2. Next to App secret click Show (enter your Facebook password) and copy it.

    Scholix uses it to check that delivery receipts and replies really come from Meta.

Part 2 · Scholix

Connect it to Scholix

Now paste what you copied into Scholix. Scholix checks everything with Meta before saving.

  1. 8

    Connect account

    On Scholix
    1. Open Scholix → Settings → Integrations → Connect account.
    2. Fill in:
      LabelAnything, e.g. “Main Campus WhatsApp”
      Graph API versionLeave as shown (v25.0)
      WhatsApp Business Account IDFrom Step 4
      Access token (system user)From Step 6
      App secretFrom Step 7
    3. Click Test & save. Scholix lists your numbers and syncs your templates.
    Right after saving, Scholix shows a Callback URL and a Verify token. The verify token is shown once: copy both now for Step 9. Missed it? Click Webhook next to your account in Integrations to get a new token.

Part 3 · Meta

Turn on delivery receipts and replies

The webhook lets Meta tell Scholix when a message is delivered or read, and when a parent replies.

  1. 9

    Paste the Callback URL and Verify token

    On Meta
    1. In your app: Use cases → Connect on WhatsApp → Customize → Step 2. Production setup → Configure Webhooks.
    2. Callback URL: paste the URL from Scholix. It looks like https://usescholix.vercel.app/api/webhooks/whatsapp/…
    3. Verify token: paste the token from Scholix.
    4. Leave Attach a client certificate off → Verify and save.
    5. Under Webhook fields, click Subscribe next to messages.
  2. 10

    Publish your app

    On Meta
    1. App settings → Basic: add a Privacy Policy URL, Terms URL, data deletion URL, category Education and an icon → Save changes. You can use Scholix's pages: https://usescholix.vercel.app/privacy, https://usescholix.vercel.app/terms, https://usescholix.vercel.app/delete-account.
    2. Left menu → Publish → Publish. Unpublished apps only receive test webhooks.
  3. 11

    Add a payment method

    On Meta

    Open WhatsApp Manager → Payment methods and add a card. Meta bills message charges to your account; Scholix shows an estimate before every send.

Part 4 · Scholix

Send your first message

Parents who haven't messaged you in the last 24 hours can only receive approved templates.

  1. 12

    Create a template

    On Meta

    WhatsApp Manager → Message templates → Create template → category Utility(fees, meetings, closures). Use variables like {{1}} for names. Approval usually takes minutes.

  2. 13

    Sync and send

    On Scholix
    1. Scholix → Settings → Integrations → Test & sync to pull approved templates.
    2. Add yourself as a contact, put yourself in a group, then Compose a campaign using the template and send it.
    3. In Integrations the webhook badge turns green after the first delivery receipt.

If something goes wrong

“The callback URL or verify token couldn't be validated”

Copy both again from Scholix (Webhook button gives a new verify token), turn off the client certificate switch, and make sure there are no spaces.

“This number is already registered with WhatsApp”

The number is still on a WhatsApp app. Delete the account in the app (Step 3), wait a few minutes and try again.

“Your business doesn't meet WhatsApp's policy requirements”

Meta's checks blocked a new, unverified business. Use “Report error to Meta”, start Business verification (Business settings → Security Center) and try again in 24–48 hours.

“Invalid OAuth access token” in Scholix

The token was revoked or copied wrong. Generate a new one (Step 6) and use Update credentials in Scholix.

Webhook stays “not seen yet”

Check the app is Published (Step 10), messages is subscribed (Step 9), and send a message so Meta has something to report.

Messages fail with “re-engagement” or “outside 24 hours”

Use an approved template (Step 12). Free text only works within 24 hours of the parent's last message.

Your token and app secret are encrypted in Scholix and never shown to staff, browsers or phones.

Open Integrations Ask for help

Meta changes its screens often; menu names may differ slightly.