Installiere Xronia.com als App 🪄 Klicke auf das Symbol in der oberen rechten Ecke der Adressleiste

Notification handlers

GET https://www.xronia.com/api/notification-handlers/
curl --request GET \
--url 'https://www.xronia.com/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
Parameter Details Beschreibung
page Optional (Optional) Ganzzahl Die Seitenzahl, von der du Ergebnisse erhalten möchtest. Standardmäßig ist sie 1.
results_per_page Optional (Optional) Ganzzahl Wie viele Ergebnisse möchtest du pro Seite? Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Standardmäßig ist es 25.
{
    "data": [
        {
            "id": 1,
            "type": "email",
            "name": "Work email",
            "settings": {
                "email": "hey@example.com"
            },
            "is_enabled": true,
            "last_datetime": null,
            "datetime": "2025-11-05 09:33:39",
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://www.xronia.com/api/notification-handlers?page=1",
        "last": "https://www.xronia.com/api/notification-handlers?page=1",
        "next": null,
        "prev": null,
        "self": "https://www.xronia.com/api/notification-handlers?page=1"
    }
}
GET https://www.xronia.com/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://www.xronia.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 09:33:39",
    }
}
POST https://www.xronia.com/api/notification-handlers
Parameter Details Beschreibung
name Erforderlich Zeichenkette -
type Erforderlich Zeichenkette Erlaubte Werte: email , webhook , slack , discord , telegram , microsoft_teams , twilio_call , x , google_chat , internal_notification , push_subscriber_id
email Optional (Optional) Zeichenkette Available when: type = email Email
webhook Optional (Optional) Zeichenkette Available when: type = webhook Webhook URL
slack Optional (Optional) Zeichenkette Available when: type = slack Slack webhook URL
discord Optional (Optional) Zeichenkette Available when: type = discord Discord webhook URL
telegram Optional (Optional) Zeichenkette Available when: type = telegram Telegram API Token
telegram_chat_id Optional (Optional) Zeichenkette Available when: type = telegram Telegram Chat ID
microsoft_teams Optional (Optional) Zeichenkette Available when: type = microsoft_teams Microsoft Teams webhook URL
google_chat Optional (Optional) Zeichenkette Available when: type = google_chat Google chat webhook URL
x_consumer_key Optional (Optional) Zeichenkette Available when: type = x Telegram API Token
x_consumer_secret Optional (Optional) Zeichenkette Available when: type = x Telegram API Token
x_access_token Optional (Optional) Zeichenkette Available when: type = x Telegram API Token
x_access_token_secret Optional (Optional) Zeichenkette Available when: type = x Telegram API Token
push_subscriber_id Optional (Optional) Zeichenkette Available when: type = push_subscriber_id Push subscriber
twilio_call Optional (Optional) Zeichenkette Available when: type = twilio_call Phone number
curl --request POST \
--url 'https://www.xronia.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://www.xronia.com/api/notification-handlers/{notification_handler_id}
Parameter Details Beschreibung
name Optional (Optional) Zeichenkette -
type Optional (Optional) Zeichenkette Erlaubte Werte: email , webhook , slack , discord , telegram , microsoft_teams , twilio_call , x , google_chat , internal_notification , push_subscriber_id
email Optional (Optional) Zeichenkette Available when: type = email Email
webhook Optional (Optional) Zeichenkette Available when: type = webhook Webhook URL
slack Optional (Optional) Zeichenkette Available when: type = slack Slack webhook URL
discord Optional (Optional) Zeichenkette Available when: type = discord Discord webhook URL
telegram Optional (Optional) Zeichenkette Available when: type = telegram Telegram API Token
telegram_chat_id Optional (Optional) Zeichenkette Available when: type = telegram Telegram Chat ID
microsoft_teams Optional (Optional) Zeichenkette Available when: type = microsoft_teams Microsoft Teams webhook URL
google_chat Optional (Optional) Zeichenkette Available when: type = google_chat Google chat webhook URL
x_consumer_key Optional (Optional) Zeichenkette Available when: type = x Telegram API Token
x_consumer_secret Optional (Optional) Zeichenkette Available when: type = x Telegram API Token
x_access_token Optional (Optional) Zeichenkette Available when: type = x Telegram API Token
x_access_token_secret Optional (Optional) Zeichenkette Available when: type = x Telegram API Token
push_subscriber_id Optional (Optional) Zeichenkette Available when: type = push_subscriber_id Push subscriber
twilio_call Optional (Optional) Zeichenkette Available when: type = twilio_call Phone number
is_enabled Optional (Optional) Boolean -
curl --request POST \
--url 'https://www.xronia.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://www.xronia.com/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://www.xronia.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \