അറിയിപ്പ് ഹാൻഡ്ലറുകൾ

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:08",
        }
    ],
    "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:08",
    }
}
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 ടെലിഗ്രാം ചാറ്റ് ഐഡി
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 ടെലിഗ്രാം ചാറ്റ് ഐഡി
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}' \