Ping Webhook Endpoint
curl --request POST \
--url https://api.example.com/api/v1/webhooks/subscriptions/{webhook_id}/pingimport requests
url = "https://api.example.com/api/v1/webhooks/subscriptions/{webhook_id}/ping"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/v1/webhooks/subscriptions/{webhook_id}/ping', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"status_code": 123,
"response_time_ms": 123,
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}webhooks
Ping Webhook Endpoint
Test a webhook endpoint with a ping.
POST
/
api
/
v1
/
webhooks
/
subscriptions
/
{webhook_id}
/
ping
Ping Webhook Endpoint
curl --request POST \
--url https://api.example.com/api/v1/webhooks/subscriptions/{webhook_id}/pingimport requests
url = "https://api.example.com/api/v1/webhooks/subscriptions/{webhook_id}/ping"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.example.com/api/v1/webhooks/subscriptions/{webhook_id}/ping', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"status_code": 123,
"response_time_ms": 123,
"error": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}