Bildirim işleyicileri

GET https://www.eyeguard.utech.net.tr/api/notification-handlers/
curl --request GET \
--url 'https://www.eyeguard.utech.net.tr/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
Parametreler Detaylar Açıklama
page İsteğe bağlı Tam sayı Sonuçların alınacağı sayfa numarası. Varsayılan 1.
results_per_page İsteğe bağlı Tam sayı Sayfa başına sonuç sayısı. İzin verilen değerler: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Varsayılan 25.
{ "data": [ { "id": 1, "type": "email", "name": "Work email", "settings": { "email": "hey@example.com" }, "is_enabled": true, "last_datetime": null, "datetime": "2025-08-18 22:36:00" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://www.eyeguard.utech.net.tr/api/notification-handlers?&page=1", "last": "https://www.eyeguard.utech.net.tr/api/notification-handlers?&page=1", "next": null, "prev": null, "self": "https://www.eyeguard.utech.net.tr/api/notification-handlers?&page=1" } }
GET https://www.eyeguard.utech.net.tr/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://www.eyeguard.utech.net.tr/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "type": "email", "name": "Work email", "settings": { "email": "hey@example.com" }, "is_enabled": true, "last_datetime": null, "datetime": "2025-08-18 22:36:00" } }
POST https://www.eyeguard.utech.net.tr/api/notification-handlers
Parametreler Detaylar Açıklama
name Gerekli Metin -
type Gerekli Metin İzin verilen değerler: email , webhook , slack , discord , telegram , microsoft_teams
email İsteğe bağlı Metin Mevcut olduğu durumlar: type = email E-posta
webhook İsteğe bağlı Metin Mevcut olduğu durumlar: type = webhook Webhook URL'si
slack İsteğe bağlı Metin Mevcut olduğu durumlar: type = slack Slack webhook URL'si
discord İsteğe bağlı Metin Mevcut olduğu durumlar: type = discord Discord webhook URL'si
telegram İsteğe bağlı Metin Mevcut olduğu durumlar: type = telegram Telegram API Token
telegram_chat_id İsteğe bağlı Metin Mevcut olduğu durumlar: type = telegram Telegram Sohbet ID'si
x_consumer_key İsteğe bağlı Metin Mevcut olduğu durumlar: type = x Telegram API Token
x_consumer_secret İsteğe bağlı Metin Mevcut olduğu durumlar: type = x Telegram API Token
x_access_token İsteğe bağlı Metin Mevcut olduğu durumlar: type = x Telegram API Token
x_access_token_secret İsteğe bağlı Metin Mevcut olduğu durumlar: type = x Telegram API Token
curl --request POST \
--url 'https://www.eyeguard.utech.net.tr/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=hello@example.com' \
{ "data": { "id": 1 } }
POST https://www.eyeguard.utech.net.tr/api/notification-handlers/{notification_handler_id}
Parametreler Detaylar Açıklama
name İsteğe bağlı Metin -
type İsteğe bağlı Metin İzin verilen değerler: email , webhook , slack , discord , telegram , microsoft_teams
email İsteğe bağlı Metin Mevcut olduğu durumlar: type = email E-posta
webhook İsteğe bağlı Metin Mevcut olduğu durumlar: type = webhook Webhook URL'si
slack İsteğe bağlı Metin Mevcut olduğu durumlar: type = slack Slack webhook URL'si
discord İsteğe bağlı Metin Mevcut olduğu durumlar: type = discord Discord webhook URL'si
telegram İsteğe bağlı Metin Mevcut olduğu durumlar: type = telegram Telegram API Token
telegram_chat_id İsteğe bağlı Metin Mevcut olduğu durumlar: type = telegram Telegram Sohbet ID'si
x_consumer_key İsteğe bağlı Metin Mevcut olduğu durumlar: type = x Telegram API Token
x_consumer_secret İsteğe bağlı Metin Mevcut olduğu durumlar: type = x Telegram API Token
x_access_token İsteğe bağlı Metin Mevcut olduğu durumlar: type = x Telegram API Token
x_access_token_secret İsteğe bağlı Metin Mevcut olduğu durumlar: type = x Telegram API Token
is_enabled İsteğe bağlı Boolean (Doğru/Yanlış) -
curl --request POST \
--url 'https://www.eyeguard.utech.net.tr/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example new name' \
--form 'is_enabled=1' \
{ "data": { "id": 1 } }
DELETE https://www.eyeguard.utech.net.tr/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://www.eyeguard.utech.net.tr/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \