List webhooks
GET
https://dev.breeze-technologies.de/api/v3/wildfires/webhooks
Retrieve all registered webhooks for your organization.
- cURL
- Python
- Javascript
GET /api/v3/wildfires/webhooks
curl -X GET 'https://dev.breeze-technologies.de/api/v3/wildfires/webhooks' \
-d api_token=<YOUR_API_TOKEN>
GET /api/v3/wildfires/webhooks
import requests
url = "https://dev.breeze-technologies.de/api/v3/wildfires/webhooks"
params = {
"api_token": "<YOUR_API_TOKEN>"
}
response = requests.request("GET", url, params=params)
print(response.text)
GET /api/v3/wildfires/webhooks
const axios = require("axios");
let config = {
method: "get",
maxBodyLength: Infinity,
url: "https://dev.breeze-technologies.de/api/v3/wildfires/webhooks",
params: {
api_token: "<YOUR_API_TOKEN>",
},
};
axios
.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Parameters
| Name | Description | Type | Data type | Required |
|---|---|---|---|---|
| api_token | The current user's API token | query | string | Yes |
| eventType | Filter by event type (optional) | query | string | No |
Returns
{
"results": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://your-domain.com/webhooks/wildfire",
"eventType": "wildfire.event.created",
"isActive": true,
"createdAt": "2023-01-01T16:45:00.000Z"
},
{
"id": "550e8400-e29b-41d4-a716-446655440001",
"url": "https://your-domain.com/webhooks/wildfire-updates",
"eventType": "wildfire.event.updated",
"isActive": true,
"createdAt": "2023-01-02T10:30:00.000Z"
}
]
}