सूचना हैंडलर
GET https://clicke.me/api/notification-handlers/
curl --request GET \
--url 'https://clicke.me/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://clicke.me/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-12-07 07:06:50"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://clicke.me/api/notification-handlers?&page=1",
"last": "https://clicke.me/api/notification-handlers?&page=1",
"next": null,
"prev": null,
"self": "https://clicke.me/api/notification-handlers?&page=1"
}
}
GET https://clicke.me/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://clicke.me/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://clicke.me/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-12-07 07:06:50"
}
}
POST https://clicke.me/api/notification-handlers
| पैरामीटर | विवरण | विवरण |
|---|---|---|
| name | आवश्यक स्ट्रिंग | - |
| type | आवश्यक स्ट्रिंग | अनुमत मान: email , webhook , slack , discord , telegram , microsoft_teams |
| वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = email ईमेल | |
| webhook | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = webhook वेबहुक यूआरएल |
| slack | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = slack स्लैक वेबहुक यूआरएल |
| discord | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = discord डिस्कॉर्ड वेबहुक यूआरएल |
| telegram | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = telegram टेलीग्राम एपीआई टोकन |
| telegram_chat_id | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = telegram टेलीग्राम चैट आईडी |
| x_consumer_key | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = x टेलीग्राम एपीआई टोकन |
| x_consumer_secret | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = x टेलीग्राम एपीआई टोकन |
| x_access_token | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = x टेलीग्राम एपीआई टोकन |
| x_access_token_secret | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = x टेलीग्राम एपीआई टोकन |
curl --request POST \
--url 'https://clicke.me/api/notification-handlers' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'type=email' \
--form 'email=[email protected]' \
--url 'https://clicke.me/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://clicke.me/api/notification-handlers/{notification_handler_id}
| पैरामीटर | विवरण | विवरण |
|---|---|---|
| name | वैकल्पिक स्ट्रिंग | - |
| type | वैकल्पिक स्ट्रिंग | अनुमत मान: email , webhook , slack , discord , telegram , microsoft_teams |
| वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = email ईमेल | |
| webhook | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = webhook वेबहुक यूआरएल |
| slack | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = slack स्लैक वेबहुक यूआरएल |
| discord | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = discord डिस्कॉर्ड वेबहुक यूआरएल |
| telegram | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = telegram टेलीग्राम एपीआई टोकन |
| telegram_chat_id | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = telegram टेलीग्राम चैट आईडी |
| x_consumer_key | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = x टेलीग्राम एपीआई टोकन |
| x_consumer_secret | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = x टेलीग्राम एपीआई टोकन |
| x_access_token | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = x टेलीग्राम एपीआई टोकन |
| x_access_token_secret | वैकल्पिक स्ट्रिंग | उपलब्ध जब: type = x टेलीग्राम एपीआई टोकन |
| is_enabled | वैकल्पिक बूलियन | - |
curl --request POST \
--url 'https://clicke.me/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' \
--url 'https://clicke.me/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://clicke.me/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://clicke.me/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://clicke.me/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \