Update a webhook
curl --request PUT \
--url https://api.vambe.me/api/webhooks/{id} \
--header 'Content-Type: application/json' \
--data '
{
"topic": "<string>",
"url": "<string>",
"secret": "<string>",
"active": true,
"hidden": true,
"filters": {
"channelIds": [
"<string>"
]
},
"headers": {}
}
'const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
topic: '<string>',
url: '<string>',
secret: '<string>',
active: true,
hidden: true,
filters: {channelIds: ['<string>']},
headers: {}
})
};
fetch('https://api.vambe.me/api/webhooks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vambe.me/api/webhooks/{id}"
payload = {
"topic": "<string>",
"url": "<string>",
"secret": "<string>",
"active": True,
"hidden": True,
"filters": { "channelIds": ["<string>"] },
"headers": {}
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Webhooks
Update a webhook
PUT
/
api
/
webhooks
/
{id}
Update a webhook
curl --request PUT \
--url https://api.vambe.me/api/webhooks/{id} \
--header 'Content-Type: application/json' \
--data '
{
"topic": "<string>",
"url": "<string>",
"secret": "<string>",
"active": true,
"hidden": true,
"filters": {
"channelIds": [
"<string>"
]
},
"headers": {}
}
'const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
topic: '<string>',
url: '<string>',
secret: '<string>',
active: true,
hidden: true,
filters: {channelIds: ['<string>']},
headers: {}
})
};
fetch('https://api.vambe.me/api/webhooks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.vambe.me/api/webhooks/{id}"
payload = {
"topic": "<string>",
"url": "<string>",
"secret": "<string>",
"active": True,
"hidden": True,
"filters": { "channelIds": ["<string>"] },
"headers": {}
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Path Parameters
Body
application/json
Response
200
Webhook updated successfully
Was this page helpful?
⌘I
