Created
October 12, 2022 05:05
-
-
Save pulketo/4edfb597e48ccaffeb33eda8a61d183d to your computer and use it in GitHub Desktop.
WhatsApp Business Platform On-Premises API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://developers.facebook.com/docs/whatsapp/on-premises/overview | |
BSP: Business Solution Provider | |
WhatsApp Business Platform On-Premises API | |
Tokens | |
login------------->Server | |
bearer Token<________╱ | |
Expiration: | |
after certain time | |
after logout | |
Request (expired token) ---> Server | |
(401)<________╱ | |
Headers | |
username:password as base64(String) | |
∴ | |
Authorization: Basic YWRtaW46c2VjcmV0. | |
API Keys | |
client----------(api_key)---->server | |
health, metrics, and stats<__╱ | |
Client-----(api_key)--->Server | |
Method,Url,Headers,Body | |
Whatsapp Business API Responses: | |
HTTP Status Code | |
Payload (on success) | |
Meta (like a fingerprint version of api) | |
Errors | |
Whatsapp Business API Architecture | |
[Database] [Media Volume] | |
| | | |
+------------------+ | |
| | _________ | |
[WebApp]<------------>[Core App]<-->[WA Servers | |
| | --------- | |
| | | |
_________________ | | |
[Business Servers ]-------+ | |
| | | |
|_________________] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment