Updating Webhook
You can use the Webhook API to create/update message and message status webhook
Authorization
bearerAuth JWT access token returned by Signing In (POST /auth/v1/tokens/).
In: header
Request Body
application/json
Public valid URL
The Type of your webhook you want to create/update. There are two values available for your webhook type. 1- message, your message webhook is where you expect to receive your customers messages and replies. 2- status, your status webhook is where you expect to receive your customers messages status and notifications on the messages you sent earlier to your customers like seen, delivered.
Response Body
application/json
application/json
curl -X PUT "https://example.com/conversation/wab/v1/webhook" \ -H "Content-Type: application/json" \ -d '{}'"{\n \"meta\": {\n \"version\": \"1.0.0\"\n },\n \"data\": {\n \"status\": \"created\"\n }\n}"Retrieving Account Namespace GET
Use the wab/v1/templates/namespace endpoint to retrieve your WhatsApp Business namespace
Uploading Media (file) POST
Use the media node to upload, retrieve, or delete media. If you use the media upload process rather than linking to a media URL, the file must be uploaded to the media volume. Once the upload is complete, you can send a message using the media ID. The **POST** body of the API request must contain the binary media data and the Content-Type header must be set to the type of the media being uploaded. See the Supported Content-Types section below for information about supported Content-Types you can upload.