Test Webhook Subscription
Send a synthetic test event to a webhook subscription.
Requires the webhooks:write scope on the API key.
POST
/
v1
/
webhooks
/
{webhook_id}
/
test
Test Webhook Subscription
curl --request POST \
--url https://api.topo.io/v1/webhooks/{webhook_id}/test \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.topo.io/v1/webhooks/{webhook_id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.topo.io/v1/webhooks/{webhook_id}/test"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"delivered": true,
"error": "<string>"
}Authorizations
Bearer API key issued from Settings → Developers.
Path Parameters
ID of the webhook.
Was this page helpful?
⌘I
Test Webhook Subscription
curl --request POST \
--url https://api.topo.io/v1/webhooks/{webhook_id}/test \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.topo.io/v1/webhooks/{webhook_id}/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.topo.io/v1/webhooks/{webhook_id}/test"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"delivered": true,
"error": "<string>"
}