Whats App

Updating Webhook

PUT
/conversation/wab/v1/webhook

You can use the Webhook API to create/update message and message status webhook

Authorization

bearerAuth
AuthorizationBearer <token>

JWT access token returned by Signing In (POST /auth/v1/tokens/).

In: header

Request Body

application/json

url?string

Public valid URL

type?string

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}"