Define a webhook for this instance
PUThttp://api.cloudzapi.com/cloudzapi/webhook/set
Authorization: apikey
name: apikeytype: apiKeyin: headerdescription: Authentication key generated after completing the registration
Define a webhook for this instance
Request
- application/json
Body
required
url Urlrequired
enabled Enables or disables the instance-bound webhookrequired
Default value: false
Responses
- 200
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- CURL
curl -L -X PUT 'http://api.cloudzapi.com/cloudzapi/webhook/set' \
-H 'Content-Type: application/json' \
-H 'apikey: <API_KEY_VALUE>' \
--data-raw '{
"url": "string",
"enabled": false
}'
ResponseClear