Bildirim işleyicileri
GET https://calisiyormu.com/api/notification-handlers/
curl --request GET \
--url 'https://calisiyormu.com/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://calisiyormu.com/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
| Parametreler | Ayrıntılar | Açıklama |
|---|---|---|
| page | Opsiyonel Tam sayı | Sonuç almak istediğiniz sayfa numarası. Varsayılan olarak 1'dir. |
| results_per_page | Opsiyonel Tam sayı | Sayfa başına kaç sonuç istediğiniz. İzin verilen değerler: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Varsayılan olarak 25. |
{
"data": [
{
"id": 1,
"type": "email",
"name": "Work email",
"settings": {
"email": "hey@example.com"
},
"is_enabled": true,
"last_datetime": null,
"datetime": "2025-11-05 01:53:56",
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://calisiyormu.com/api/notification-handlers?page=1",
"last": "https://calisiyormu.com/api/notification-handlers?page=1",
"next": null,
"prev": null,
"self": "https://calisiyormu.com/api/notification-handlers?page=1"
}
}
GET https://calisiyormu.com/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://calisiyormu.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://calisiyormu.com/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-11-05 01:53:56",
}
}
POST https://calisiyormu.com/api/notification-handlers
| Parametreler | Ayrıntılar | Açıklama |
|---|---|---|
| name | Gerekli Dize | - |
| type | Gerekli Dize | İzin verilen değerler: email , webhook , slack , discord , telegram , microsoft_teams , twilio , twilio_call , whatsapp , x , push_subscriber_id |
| Opsiyonel Dize | Ne zaman mevcut: type = email E-posta | |
| webhook | Opsiyonel Dize | Ne zaman mevcut: type = webhook Webhook URL |
| slack | Opsiyonel Dize | Ne zaman mevcut: type = slack Slack webhook URL |
| discord | Opsiyonel Dize | Ne zaman mevcut: type = discord Discord webhook URL |
| telegram | Opsiyonel Dize | Ne zaman mevcut: type = telegram Telegram API Token |
| telegram_chat_id | Opsiyonel Dize | Ne zaman mevcut: type = telegram Telegram Sohbet ID'si |
| microsoft_teams | Opsiyonel Dize | Ne zaman mevcut: type = microsoft_teams Microsoft Teams webhook URL |
| x_consumer_key | Opsiyonel Dize | Ne zaman mevcut: type = x Telegram API Token |
| x_consumer_secret | Opsiyonel Dize | Ne zaman mevcut: type = x Telegram API Token |
| x_access_token | Opsiyonel Dize | Ne zaman mevcut: type = x Telegram API Token |
| x_access_token_secret | Opsiyonel Dize | Ne zaman mevcut: type = x Telegram API Token |
| push_subscriber_id | Opsiyonel Dize | Ne zaman mevcut: type = push_subscriber_id Aboneyi itmek |
| twilio | Opsiyonel Dize | Ne zaman mevcut: type = twilio Telefon numarası |
| twilio_call | Opsiyonel Dize | Ne zaman mevcut: type = twilio_call Telefon numarası |
| Opsiyonel Dize | Ne zaman mevcut: type = whatsapp Telefon numarası |
curl --request POST \
--url 'https://calisiyormu.com/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' \
--url 'https://calisiyormu.com/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://calisiyormu.com/api/notification-handlers/{notification_handler_id}
| Parametreler | Ayrıntılar | Açıklama |
|---|---|---|
| name | Opsiyonel Dize | - |
| type | Opsiyonel Dize | İzin verilen değerler: email , webhook , slack , discord , telegram , microsoft_teams , twilio , twilio_call , whatsapp , x , push_subscriber_id |
| Opsiyonel Dize | Ne zaman mevcut: type = email E-posta | |
| webhook | Opsiyonel Dize | Ne zaman mevcut: type = webhook Webhook URL |
| slack | Opsiyonel Dize | Ne zaman mevcut: type = slack Slack webhook URL |
| discord | Opsiyonel Dize | Ne zaman mevcut: type = discord Discord webhook URL |
| telegram | Opsiyonel Dize | Ne zaman mevcut: type = telegram Telegram API Token |
| telegram_chat_id | Opsiyonel Dize | Ne zaman mevcut: type = telegram Telegram Sohbet ID'si |
| microsoft_teams | Opsiyonel Dize | Ne zaman mevcut: type = microsoft_teams Microsoft Teams webhook URL |
| x_consumer_key | Opsiyonel Dize | Ne zaman mevcut: type = x Telegram API Token |
| x_consumer_secret | Opsiyonel Dize | Ne zaman mevcut: type = x Telegram API Token |
| x_access_token | Opsiyonel Dize | Ne zaman mevcut: type = x Telegram API Token |
| x_access_token_secret | Opsiyonel Dize | Ne zaman mevcut: type = x Telegram API Token |
| push_subscriber_id | Opsiyonel Dize | Ne zaman mevcut: type = push_subscriber_id Aboneyi itmek |
| twilio | Opsiyonel Dize | Ne zaman mevcut: type = twilio Telefon numarası |
| twilio_call | Opsiyonel Dize | Ne zaman mevcut: type = twilio_call Telefon numarası |
| Opsiyonel Dize | Ne zaman mevcut: type = whatsapp Telefon numarası | |
| is_enabled | Opsiyonel Boolean | - |
curl --request POST \
--url 'https://calisiyormu.com/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' \
--url 'https://calisiyormu.com/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://calisiyormu.com/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://calisiyormu.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://calisiyormu.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \