Kogno
Search
K

WhatsApp Configuration

In order to configure this section, you must first follow these WhatsApp instructions.
The WhatsApp configuration file is located at config/platforms/whatsapp.rb
Kogno::Application.configure do |config|
config.whatsapp.graph_url = "https://graph.facebook.com/v13.0/"
config.whatsapp.phone_number_id = "<YOUR WHATSAPP PHONE NUMBER ID>"
config.whatsapp.access_token = "YOUR_ACCESS_TOKEN"
config.whatsapp.webhook_route = "/webhook_whatsapp"
config.whatsapp.webhook_verify_token = "<YOUR_VERIFY_TOKEN>"
end

Field Description

Configuration
Description
config.whatsapp.graph_url
Facebook Graph Url
config.whatsapp.phone_number_id
The Phone Number ID obtained in your Meta App Settings.
config.whatsapp.access_token
The Access Token obtained in your Meta App Settings.
config.whatsapp.webhook_route
The CallBack URL path where WhatsApp Platform will send notifications.
config.whatsapp.webhook_verify_token
WhatsApp Platform token for verification request.