Warning: Undefined property: stdClass::$maintenance_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/core/App.php on line 244 Warning: Undefined property: stdClass::$x in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/core/Meta.php on line 69 Warning: Undefined property: stdClass::$ai_scraping_is_allowed in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/core/Controller.php on line 51 Notification handlers - API 文檔 - AiO APP控件
下載客戶端,操作更方便!下载
Warning: Undefined property: stdClass::$guests_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/partials/announcements.php on line 5 Warning: Undefined property: stdClass::$users_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/partials/announcements.php on line 5 Warning: Undefined property: stdClass::$ad_blocker_detector_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/partials/ad_blocker_detector.php on line 3 Warning: Undefined property: stdClass::$admin_spotlight_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/wrapper.php on line 80 Warning: Undefined property: stdClass::$user_spotlight_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/wrapper.php on line 80

Notification handlers

GET https://push.axiox.net/api/notification-handlers/
curl --request GET \
--url 'https://push.axiox.net/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
參數 Details 描述
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-04-26 20:14:02" } ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://push.axiox.net/api/notification-handlers?&page=1", "last": "https://push.axiox.net/api/notification-handlers?&page=1", "next": null, "prev": null, "self": "https://push.axiox.net/api/notification-handlers?&page=1" } }
GET https://push.axiox.net/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://push.axiox.net/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-04-26 20:14:02" } }
POST https://push.axiox.net/api/notification-handlers
Warning: Undefined property: stdClass::$twilio_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/api-documentation/notification_handlers.php on line 297 Warning: Undefined property: stdClass::$twilio_call_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/api-documentation/notification_handlers.php on line 307 Warning: Undefined property: stdClass::$whatsapp_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/api-documentation/notification_handlers.php on line 317
參數 Details 描述
name 必需 字符串 -
type 必需 字符串 Warning: Undefined property: stdClass::$email_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$webhook_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$slack_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$discord_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$telegram_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$microsoft_teams_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$twilio_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$twilio_call_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$whatsapp_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$x_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Allowed values:
email 可選 字符串 Available when: type = email Email
webhook 可選 字符串 Available when: type = webhook Webhook URL
slack 可選 字符串 Available when: type = slack Slack webhook URL
discord 可選 字符串 Available when: type = discord Discord webhook URL
telegram 可選 字符串 Available when: type = telegram Telegram API Token
telegram_chat_id 可選 字符串 Available when: type = telegram Telegram Chat ID
x_consumer_key 可選 字符串 Available when: type = x Telegram API Token
x_consumer_secret 可選 字符串 Available when: type = x Telegram API Token
x_access_token 可選 字符串 Available when: type = x Telegram API Token
x_access_token_secret 可選 字符串 Available when: type = x Telegram API Token
curl --request POST \
--url 'https://push.axiox.net/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://push.axiox.net/api/notification-handlers/{notification_handler_id}
Warning: Undefined property: stdClass::$twilio_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/api-documentation/notification_handlers.php on line 488 Warning: Undefined property: stdClass::$twilio_call_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/api-documentation/notification_handlers.php on line 498 Warning: Undefined property: stdClass::$whatsapp_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/themes/altum/views/api-documentation/notification_handlers.php on line 508
參數 Details 描述
name 可選 字符串 -
type 可選 字符串 Warning: Undefined property: stdClass::$email_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$webhook_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$slack_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$discord_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$telegram_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$microsoft_teams_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$twilio_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$twilio_call_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$whatsapp_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Warning: Undefined property: stdClass::$x_is_enabled in /home/u777764674/domains/axiox.net/public_html/PushNotifications/app/includes/notification_handlers.php on line 22 Allowed values:
email 可選 字符串 Available when: type = email Email
webhook 可選 字符串 Available when: type = webhook Webhook URL
slack 可選 字符串 Available when: type = slack Slack webhook URL
discord 可選 字符串 Available when: type = discord Discord webhook URL
telegram 可選 字符串 Available when: type = telegram Telegram API Token
telegram_chat_id 可選 字符串 Available when: type = telegram Telegram Chat ID
x_consumer_key 可選 字符串 Available when: type = x Telegram API Token
x_consumer_secret 可選 字符串 Available when: type = x Telegram API Token
x_access_token 可選 字符串 Available when: type = x Telegram API Token
x_access_token_secret 可選 字符串 Available when: type = x Telegram API Token
is_enabled 可選 布爾 -
curl --request POST \
--url 'https://push.axiox.net/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://push.axiox.net/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://push.axiox.net/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \