@extends('layouts.admin') @section('title', 'WhatsApp Settings') @section('page-title', 'WhatsApp Settings') @section('breadcrumbs') Settings chevron_right WhatsApp Settings @endsection @section('content')

WhatsApp Settings

Configure WhatsApp Business API settings for sending messages, invoices, receipts, and quotations

@if (session('success'))
check_circle {{ session('success') }}
@endif @if (session('error'))
error {{ session('error') }}
@endif @if ($errors->any())
error

Please correct the following errors:

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf

This is your company WhatsApp number used in the "Send Link via WhatsApp" flow.

Select the WhatsApp provider you want to use

WhatsApp Business API Configuration

info

How to Get Your Credentials

  1. Go to Meta Developers Apps
  2. Navigate to WhatsApp ManagerAPI Setup
  3. Phone Number ID: Found in Phone Numbers section (15-16 digit number)
  4. Access Token: Click "Generate Access Token" in API Setup (starts with EAA...)
  5. Business Account ID: Found in Business SettingsWhatsApp Accounts (optional)
  6. Webhook Verify Token: Create your own secure random string for webhook verification (optional)

Note: For production, create a permanent access token via System Users in Business Settings.

Your WhatsApp Business Phone Number ID from Meta

Your WhatsApp Business API access token (starts with EAA…). Meta tokens expire—when you see “Session has expired” or “Error validating access token”, generate a new token and paste it here (and in .env if you use it). For production, prefer a permanent token from a System User in Meta Business Settings.

Your WhatsApp Business Account ID (optional)

Create this yourself and paste the exact same token in Meta Webhooks (Verify Token). Leave blank if you are not using webhooks.

@endsection