POST
/
webhook
curl --request POST \
  --url https://connect.withvayu.com/webhook \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "callbackUrl": "<string>",
  "eventType": "AnonymousCustomer"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Subscribe to webhooks and receive event notifications.

The body is of type object.

Response

200

RequestSuccess