Callbacks
Send a UCC test event (Beta)
Send an ndnc.webhook.test event to your callback URL to check your endpoint and your signature check.
POST
/
api
/
v1
/
Account
/
{auth_id}
/
ndnc
/
webhook
/
test
Send a test event
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/ndnc/webhook/test \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/ndnc/webhook/test"
headers = {
"X-Auth-ID": "<api-key>",
"X-Auth-Token": "<api-key>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/ndnc/webhook/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"delivered": true,
"http_status": 200,
"error": null,
"event_id": "evt_118df858560176c2de20c33b"
}
This API is in beta. Changes might be possible. To enable it for your account, email support@vobiz.ai.
delivered in the response, not just the HTTP status: the request succeeds even when your endpoint doesn’t reply with a 2xx.Authorizations
Path Parameters
Was this page helpful?
⌘I
Send a test event
curl --request POST \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/ndnc/webhook/test \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'import requests
url = "https://api.vobiz.ai/api/v1/Account/{auth_id}/ndnc/webhook/test"
headers = {
"X-Auth-ID": "<api-key>",
"X-Auth-Token": "<api-key>"
}
response = requests.post(url, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/ndnc/webhook/test', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"delivered": true,
"http_status": 200,
"error": null,
"event_id": "evt_118df858560176c2de20c33b"
}