నోటిఫికేషన్ హ్యాండ్లర్లు

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:35:20",
        }
    ],
    "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:35:20",
    }
}
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}' \