អ្នកគ្រប់គ្រងការជូនដំណឹង

GET https://tistos.com/api/notification-handlers/
curl --request GET \
--url 'https://tistos.com/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
ប៉ារ៉ាម៉ែត្រ ព័ត៌មានលម្អិត សេចក្ដីពិពណ៌នា
page ជ្រើសរើសបាន លេខគត់ លេខទំព័រដែលអ្នកចង់បានលទ្ធផល។ ត្រូវបានកំណត់លំនាំដើមទៅ 1
results_per_page ជ្រើសរើសបាន លេខគត់ តើអ្នកចង់បានលទ្ធផលប៉ុន្មានក្នុងមួយទំព័រ។ តម្លៃដែលអនុញ្ញាតគឺ: 10 , 25 , 50 , 100 , 250 , 500 , 1000។ តម្លៃលំនាំដើមគឺ 25
{
    "data": [
        {
            "id": 1,
            "type": "email",
            "name": "Work email",
            "settings": {
                "email": "[email protected]"
            },
            "is_enabled": true,
            "last_datetime": null,
            "datetime": "2025-10-16 10:55:44",
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://tistos.com/api/notification-handlers?page=1",
        "last": "https://tistos.com/api/notification-handlers?page=1",
        "next": null,
        "prev": null,
        "self": "https://tistos.com/api/notification-handlers?page=1"
    }
}
GET https://tistos.com/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://tistos.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "type": "email",
        "name": "Work email",
        "settings": {
            "email": "[email protected]"
        },
        "is_enabled": true,
        "last_datetime": null,
        "datetime": "2025-10-16 10:55:44",
    }
}
POST https://tistos.com/api/notification-handlers
ប៉ារ៉ាម៉ែត្រ ព័ត៌មានលម្អិត សេចក្ដីពិពណ៌នា
name ត្រូវការពីរ ខ្សែអក្សរ -
type ត្រូវការពីរ ខ្សែអក្សរ តម្លៃដែលអនុញ្ញាត: email , webhook , slack , discord , telegram , microsoft_teams
email ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = email អ៊ីមែល
webhook ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = webhook URL webhook
slack ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = slack URL webhook Slack
discord ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = discord URL webhook Discord
telegram ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = telegram លេខសំងាត់ API របស់ Telegram
telegram_chat_id ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = telegram លេខសម្គាល់ជជែក Telegram
microsoft_teams ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = microsoft_teams URL webhook Microsoft Teams
curl --request POST \
--url 'https://tistos.com/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=[email protected]' \
{
    "data": {
        "id": 1
    }
}
POST https://tistos.com/api/notification-handlers/{notification_handler_id}
ប៉ារ៉ាម៉ែត្រ ព័ត៌មានលម្អិត សេចក្ដីពិពណ៌នា
name ជ្រើសរើសបាន ខ្សែអក្សរ -
type ជ្រើសរើសបាន ខ្សែអក្សរ តម្លៃដែលអនុញ្ញាត: email , webhook , slack , discord , telegram , microsoft_teams
email ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = email អ៊ីមែល
webhook ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = webhook URL webhook
slack ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = slack URL webhook Slack
discord ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = discord URL webhook Discord
telegram ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = telegram លេខសំងាត់ API របស់ Telegram
telegram_chat_id ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = telegram លេខសម្គាល់ជជែក Telegram
microsoft_teams ជ្រើសរើសបាន ខ្សែអក្សរ អាចប្រើបាននៅពេល: type = microsoft_teams URL webhook Microsoft Teams
is_enabled ជ្រើសរើសបាន Boolean -
curl --request POST \
--url 'https://tistos.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://tistos.com/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://tistos.com/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \