Check an integration's shared app webhook URL
/integration-webhook/{integration_id}
For vendors that check a webhook URL with a GET. Truto runs the
integration's base webhook.payload_transform and
webhook.handle_verification on the request (its query string and
headers; the body is empty, and there is no context, so a check
that compares a token with a stored secret can't be answered here),
and a verify answer is sent back as for a POST handshake. An
integration that can't take shared-app webhooks gets the 400 a
POST gets. Any other GET gets 200 with an empty body, including
one for an integration with no handshake or a payload_transform or
handle_verification that fails (logged by its kind). A GET is
never signature-checked or routed to an account. A HEAD is answered
the same way, without a body.
Auth: none.
Path Parameters
The ID of one of Truto's own integrations (integration names are unique only within a team).
Errors
| Status | Description |
|---|---|
400 | The integration has no webhook support, no shared app, no signature verification or no lookup settings, or handle_verification answered verify with update_context or confirm, which a GET can't store. |
404 | The integration was not found, or is not one of Truto's own. |
429 | Too many requests from one address. Retry after the Retry-After header. |
500 | The integration could not be read. Retry. |
curl -X GET 'https://api.truto.one/integration-webhook/{integration_id}' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/integration-webhook/{integration_id}', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/integration-webhook/{integration_id}"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())