---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://truto.one/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Check an integration's shared app webhook URL

> Source: https://truto.one/docs/api-reference/admin/inbound-webhooks/check-shared-app-webhook/

`GET /integration-webhook/{integration_id}`

Resource: **Inbound webhooks**

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

- **`integration_id`** _(string, required)_
  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. |

## Code examples

### curl

```bash
curl -X GET 'https://api.truto.one/integration-webhook/{integration_id}' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
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);
```

### Python

```python
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())
```
