post
https://api.chatarchitect.com/webhook
Registration is used to save the 3 "webhooks" where the API will send messages from WhatsApp. The "destination" in this case is any.
There are 3 webhook types:
- message webhook: new incoming messages;
- message event webhook: failed, read, sent, delivered events;
- user event webhook: user opted in or opted out.
You can set all 3 webhooks, or only 1 or 2. URLs can be the same or different.
If "webhook_separate" is "true", individual URLs for each webhook type are used. If "false" or not set, all types of events will be sent to the "webhook" URL.
Webhooks should start with "https://".