---
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 installed integration webhook URL

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

`GET /environment-integration-webhook/{environment_integration_id}`

Resource: **Inbound webhooks**

For vendors that check a webhook URL with a `GET`, such as Meta's
`hub.challenge` check. Truto runs the integration's
`webhook.payload_transform` and `webhook.handle_verification` on the
request (its query string, its headers and the installed
integration's `context`; the body is empty), and a `verify` answer is
sent back as for a `POST` handshake. An integration with no `webhook`
block 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

- **`environment_integration_id`** _(string, required)_

## Errors

| Status | Description |
| :----- | :---------- |
| `400` | The integration has no webhook support, `handle_verification` answered `verify` with `update_context` or `confirm`, which a `GET` can't store, or the environment integration was deleted in the last 10 minutes. |
| `404` | The environment integration was not found. |
| `429` | Too many requests. Retry after the `Retry-After` header. |
| `500` | The installed integration's config could not be read. Retry. |
| `503` | The environment's team is being moved, or where it is served can't be read just now. Retry after the `Retry-After` header. |

## Code examples

### curl

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

### JavaScript

```javascript
const response = await fetch('https://api.truto.one/environment-integration-webhook/{environment_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/environment-integration-webhook/{environment_integration_id}"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())
```
