Consultar o endpoint de webhook
curl --request GET \
--url https://api.validator.blubash.io/v1/webhook-endpoint \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.validator.blubash.io/v1/webhook-endpoint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.validator.blubash.io/v1/webhook-endpoint"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"created_at": "2026-12-01T12:00:00.000Z",
"enabled": true,
"url": "https://exemplo.com.br/webhooks/validacao",
"secret": "whsec_xY9…"
}Webhooks
Consultar o endpoint de webhook
A URL configurada, se está habilitada e quando foi criada. Nunca devolve o segredo. 404 se nenhum endpoint foi configurado.
Escopo exigido: webhooks. Liberada para workspace suspenso.
GET
/
v1
/
webhook-endpoint
Consultar o endpoint de webhook
curl --request GET \
--url https://api.validator.blubash.io/v1/webhook-endpoint \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.validator.blubash.io/v1/webhook-endpoint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.validator.blubash.io/v1/webhook-endpoint"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"created_at": "2026-12-01T12:00:00.000Z",
"enabled": true,
"url": "https://exemplo.com.br/webhooks/validacao",
"secret": "whsec_xY9…"
}Authorizations
Response
O endpoint.