Skip to content

Commit

Permalink
chore: Update whatsapp documentation (#477)
Browse files Browse the repository at this point in the history
- Update WhatsApp documentation to reflect Webhook Verify Token changes
  • Loading branch information
sojan-official authored Jan 19, 2024
1 parent 149df25 commit 45670fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ src/css/fonts

# Local Netlify folder
.netlify

.vscode
8 changes: 4 additions & 4 deletions docs/product/channels/whatsapp/whatsapp-cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ Refer [this video](https://www.youtube.com/watch?v=gqiBzFlF44c) for detailed ste
| Name | Choose a name for your Inbox. Ex: Your Business Name |
| Phone Number | Fill in the phone number you have configured in Facebook Developer App |
| Phone Number ID | The phone number ID for the number as obtained in prerequisites |
| Bussiness Account ID | The Business Account ID for the number as obtained in prerequisites |
| Business Account ID | The Business Account ID for the number as obtained in prerequisites |
| API Key | The Business Account User's access token for the number as obtained in prerequisites |
| Webhook Verify Token | This token is required while configuring Webhook in Facebook Developer App. Fill in a secure alphanumeric string that you wish |


Finish the steps to obtain your Whatsapp `Webhook Callback URL`.

Finish the steps to obtain your Whatsapp `Webhook Callback URL` and `Webhook Verify Token`

## Enable the webhook

Expand All @@ -72,7 +72,7 @@ Configure the webhook in Facebook Developer App.
Head back to the `WhatsApp` section in the Facebook Developer App. Navigate to the `Configuration` subsection and set up the `Callback URL`.

- The value for the URL should be the same URL you obtained at the end of your Chatwoot inbox creation and will look like `https://app.chatwoot.com/webhooks/whatsapp/+{phone_number}`.
- The value for the `verify token` should be the same value you configured for the `Webhook Verify Token` during inbox creation.
- The value for the `verify token` should be the `Webhook Verify Token` which you received during inbox creation.

You should **also subscribe to message fields events** under Webhooks Fields on your Facebook Developer app.

Expand Down

0 comments on commit 45670fb

Please sign in to comment.