ಅಧಿಸೂಚನಾ ಹ್ಯಾಂಡ್ಲರ್ಗಳು

GET https://bitpeak.ru/api/notification-handlers/
curl --request GET \
--url 'https://bitpeak.ru/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": "hey@example.com"
            },
            "is_enabled": true,
            "last_datetime": null,
            "datetime": "2025-12-08 14:39:55",
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://bitpeak.ru/api/notification-handlers?page=1",
        "last": "https://bitpeak.ru/api/notification-handlers?page=1",
        "next": null,
        "prev": null,
        "self": "https://bitpeak.ru/api/notification-handlers?page=1"
    }
}
GET https://bitpeak.ru/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://bitpeak.ru/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-12-08 14:39:55",
    }
}
POST https://bitpeak.ru/api/notification-handlers
ಪ್ಯಾರಾಮೀಟರ್‌ಗಳು ವಿವರಗಳು ವಿವರಣೆ
name ಅಗತ್ಯ ಸ್ಟ್ರಿಂಗ್ -
type ಅಗತ್ಯ ಸ್ಟ್ರಿಂಗ್ ಅನುಮತಿಸಲಾದ ಮೌಲ್ಯಗಳು: email , webhook , slack , discord , telegram , microsoft_teams , x , google_chat , internal_notification
email ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = email ಇಮೇಲ್
webhook ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = webhook ವೆಬ್‌ಹುಕ್ URL
slack ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = slack ಸ್ಲ್ಯಾಕ್ ವೆಬ್‌ಹುಕ್ URL
discord ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = discord ಡಿಸ್ಕಾರ್ಡ್ ವೆಬ್‌ಹುಕ್ URL
telegram ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = telegram ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
telegram_chat_id ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = telegram ಟೆಲಿಗ್ರಾಮ್ ಚಾಟ್ ID
microsoft_teams ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = microsoft_teams ಮೈಕ್ರೋಸಾಫ್ಟ್ ಟೀಮ್ಸ್ ವೆಬ್‌ಹುಕ್ URL
google_chat ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = google_chat ಗೂಗಲ್ ಚಾಟ್ ವೆಬ್‌ಹುಕ್ URL
x_consumer_key ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = x ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
x_consumer_secret ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = x ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
x_access_token ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = x ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
x_access_token_secret ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = x ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
curl --request POST \
--url 'https://bitpeak.ru/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://bitpeak.ru/api/notification-handlers/{notification_handler_id}
ಪ್ಯಾರಾಮೀಟರ್‌ಗಳು ವಿವರಗಳು ವಿವರಣೆ
name ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ -
type ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಅನುಮತಿಸಲಾದ ಮೌಲ್ಯಗಳು: email , webhook , slack , discord , telegram , microsoft_teams , x , google_chat , internal_notification
email ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = email ಇಮೇಲ್
webhook ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = webhook ವೆಬ್‌ಹುಕ್ URL
slack ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = slack ಸ್ಲ್ಯಾಕ್ ವೆಬ್‌ಹುಕ್ URL
discord ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = discord ಡಿಸ್ಕಾರ್ಡ್ ವೆಬ್‌ಹುಕ್ URL
telegram ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = telegram ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
telegram_chat_id ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = telegram ಟೆಲಿಗ್ರಾಮ್ ಚಾಟ್ ID
microsoft_teams ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = microsoft_teams ಮೈಕ್ರೋಸಾಫ್ಟ್ ಟೀಮ್ಸ್ ವೆಬ್‌ಹುಕ್ URL
google_chat ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = google_chat ಗೂಗಲ್ ಚಾಟ್ ವೆಬ್‌ಹುಕ್ URL
x_consumer_key ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = x ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
x_consumer_secret ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = x ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
x_access_token ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = x ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
x_access_token_secret ಐಚ್ಛಿಕ ಸ್ಟ್ರಿಂಗ್ ಲಭ್ಯವಿರುವಾಗ: type = x ಟೆಲಿಗ್ರಾಮ್ API ಟೋಕನ್
is_enabled ಐಚ್ಛಿಕ ಬೂಲಿಯನ್ -
curl --request POST \
--url 'https://bitpeak.ru/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://bitpeak.ru/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://bitpeak.ru/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \