You can configure the WhatsApp Business API client using Facebook's Business Manager. Some of those configurations can be done programmatically through the WhatsApp Business Management API. The current version of the API allows you to:
Currently, you cannot edit message templates. Since changes affect production data, please use a test account when learning to use the WhatsApp Business Management API.
We are constantly working on enabling additional use cases through our APIs. Please reach out if you have specific feedback.
The WhatsApp Business Management API uses Facebook Graph API endpoints. To interact with Facebook Graph API, you will need to register a Facebook app.
We recommend this setup to be done by an admin in the Business Manager containing your WhatsApp Business Accounts. This will avoid permission errors.
https://developers.facebook.com/apps/your-app-id/settings/advancedto import the app into your Business Manager. The Business Manager you use should contain your WhatsApp Business Accounts. Make sure to replace
your-app-idwith your actual app ID.
For more detailed information about creating a developer account, registering your app, roles, development mode or live mode, please see the App Development documentation.
When you initially register your app it will be set to Development mode. Apps in Development mode are automatically approved for all login permissions, features, and product-specific features for testing purposes. However, these permissions are limited; the app can only use those permissions to access data of users with roles in your app (i.e., admins, developers, etc.).
In order to switch your Facebook app from Development mode to Live mode, it must go through App Review. If you want higher rate limits or would like to access a WhatsApp Business Account not in your Business Manager, you will need to go through App Review.