বিজ্ঞাপনের ট্রেডার
GET https://0o0.online/api/notification-handlers/
curl --request GET \
--url 'https://0o0.online/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://0o0.online/api/notification-handlers/' \
--header 'Authorization: Bearer {api_key}' \
| প্যারামিটার | বিস্তারিত | বিবরণ |
|---|---|---|
| search | অপশনাল সিংহ | অনুসন্ধানের রেকর্ড। |
| search_by | অপশনাল সিংহ | আপনি কোন পৃষ্ঠা অনুসন্ধান করছেন? অনুমোদিত মূল্যগুলি: name. |
| is_enabled | অপশনাল বোলিয়া | |
| type | অপশনাল সিংহ | আপনি কোন পৃষ্ঠা অনুসন্ধান করছেন? অনুমোদিত মূল্যগুলি: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id. |
| datetime_field | অপশনাল সিংহ | অনুমোদিত মূল্য : datetime, last_datetime |
| datetime_start | অপশনাল সিংহ | ফিল্টার ফলাফল এই দিন থেকে শুরু। Y-m-d H:i:s ফরম্যাট |
| datetime_end | অপশনাল সিংহ | ফিল্টার ফলাফল এই সময়ের জন্য। Y-m-d H:i:s ফরম্যাট |
| order_by | অপশনাল সিংহ | কোন ফাইল থেকে ফলাফলগুলি আদেশ করতে হবে. অনুমোদিত মূল্যগুলি: notification_handler_id, datetime, last_datetime, name. |
| order_type | অপশনাল সিংহ | ফলাফলগুলির আদেশ করা. অনুমোদিত মূল্যগুলি: ASC উত্থানের জন্য আদেশ, এবং DESC আদেশ নিচে থাকার জন্য। |
| search | অপশনাল সিংহ | অনুসন্ধানের রেকর্ড। |
| search_by | অপশনাল সিংহ | আপনি কোন পৃষ্ঠা অনুসন্ধান করছেন? অনুমোদিত মূল্যগুলি: name. |
| is_enabled | অপশনাল বোলিয়া | |
| type | অপশনাল সিংহ | আপনি কোন পৃষ্ঠা অনুসন্ধান করছেন? অনুমোদিত মূল্যগুলি: email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id. |
| datetime_field | অপশনাল সিংহ | অনুমোদিত মূল্য : datetime, last_datetime |
| datetime_start | অপশনাল সিংহ | ফিল্টার ফলাফল এই দিন থেকে শুরু। Y-m-d H:i:s ফরম্যাট |
| datetime_end | অপশনাল সিংহ | ফিল্টার ফলাফল এই সময়ের জন্য। Y-m-d H:i:s ফরম্যাট |
| order_by | অপশনাল সিংহ | কোন ফাইল থেকে ফলাফলগুলি আদেশ করতে হবে. অনুমোদিত মূল্যগুলি: notification_handler_id, datetime, last_datetime, name. |
| order_type | অপশনাল সিংহ | ফলাফলগুলির আদেশ করা. অনুমোদিত মূল্যগুলি: ASC উত্থানের জন্য আদেশ, এবং DESC আদেশ নিচে থাকার জন্য। |
| 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": "2026-12-02 19:05:33",
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://0o0.online/api/notification-handlers?page=1",
"last": "https://0o0.online/api/notification-handlers?page=1",
"next": null,
"prev": null,
"self": "https://0o0.online/api/notification-handlers?page=1"
}
}
GET https://0o0.online/api/notification-handlers/{notification_handler_id}
curl --request GET \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://0o0.online/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": "2026-12-02 19:05:33",
}
}
POST https://0o0.online/api/notification-handlers
| প্যারামিটার | বিস্তারিত | বিবরণ |
|---|---|---|
| name | আবশ্যক সিংহ | - |
| type | আবশ্যক সিংহ | অনুমোদিত মূল্য : email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id |
| অপশনাল সিংহ | পাওয়া যায় যখন: type = email ইমেইল | |
| webhook | অপশনাল সিংহ | পাওয়া যায় যখন: type = webhook ওয়েবহোক URL |
| slack | অপশনাল সিংহ | পাওয়া যায় যখন: type = slack স্ল্যাক ওয়েবহুক URL |
| discord | অপশনাল সিংহ | পাওয়া যায় যখন: type = discord Discord ওয়েবহুক URL |
| telegram | অপশনাল সিংহ | পাওয়া যায় যখন: type = telegram Telegram API টকেন |
| telegram_chat_id | অপশনাল সিংহ | পাওয়া যায় যখন: type = telegram Telegram চ্যাট ID |
| microsoft_teams | অপশনাল সিংহ | পাওয়া যায় যখন: type = microsoft_teams Microsoft Webhook টিম URL |
| google_chat | অপশনাল সিংহ | পাওয়া যায় যখন: type = google_chat Google Webhook চ্যাট URL |
| ntfy | অপশনাল সিংহ | পাওয়া যায় যখন: type = ntfy NTT এর বিষয় URL |
| x_consumer_key | অপশনাল সিংহ | পাওয়া যায় যখন: type = x Telegram API টকেন |
| x_consumer_secret | অপশনাল সিংহ | পাওয়া যায় যখন: type = x Telegram API টকেন |
| x_access_token | অপশনাল সিংহ | পাওয়া যায় যখন: type = x Telegram API টকেন |
| x_access_token_secret | অপশনাল সিংহ | পাওয়া যায় যখন: type = x Telegram API টকেন |
| push_subscriber_id | অপশনাল সিংহ | পাওয়া যায় যখন: type = push_subscriber_id Push অর্ডার |
curl --request POST \
--url 'https://0o0.online/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://0o0.online/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://0o0.online/api/notification-handlers/{notification_handler_id}
| প্যারামিটার | বিস্তারিত | বিবরণ |
|---|---|---|
| name | অপশনাল সিংহ | - |
| type | অপশনাল সিংহ | অনুমোদিত মূল্য : email, webhook, slack, discord, telegram, microsoft_teams, x, google_chat, ntfy, push_subscriber_id |
| অপশনাল সিংহ | পাওয়া যায় যখন: type = email ইমেইল | |
| webhook | অপশনাল সিংহ | পাওয়া যায় যখন: type = webhook ওয়েবহোক URL |
| slack | অপশনাল সিংহ | পাওয়া যায় যখন: type = slack স্ল্যাক ওয়েবহুক URL |
| discord | অপশনাল সিংহ | পাওয়া যায় যখন: type = discord Discord ওয়েবহুক URL |
| telegram | অপশনাল সিংহ | পাওয়া যায় যখন: type = telegram Telegram API টকেন |
| telegram_chat_id | অপশনাল সিংহ | পাওয়া যায় যখন: type = telegram Telegram চ্যাট ID |
| microsoft_teams | অপশনাল সিংহ | পাওয়া যায় যখন: type = microsoft_teams Microsoft Webhook টিম URL |
| google_chat | অপশনাল সিংহ | পাওয়া যায় যখন: type = google_chat Google Webhook চ্যাট URL |
| ntfy | অপশনাল সিংহ | পাওয়া যায় যখন: type = ntfy NTT এর বিষয় URL |
| x_consumer_key | অপশনাল সিংহ | পাওয়া যায় যখন: type = x Telegram API টকেন |
| x_consumer_secret | অপশনাল সিংহ | পাওয়া যায় যখন: type = x Telegram API টকেন |
| x_access_token | অপশনাল সিংহ | পাওয়া যায় যখন: type = x Telegram API টকেন |
| x_access_token_secret | অপশনাল সিংহ | পাওয়া যায় যখন: type = x Telegram API টকেন |
| push_subscriber_id | অপশনাল সিংহ | পাওয়া যায় যখন: type = push_subscriber_id Push অর্ডার |
| is_enabled | অপশনাল বোলিয়া | - |
curl --request POST \
--url 'https://0o0.online/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://0o0.online/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://0o0.online/api/notification-handlers/{notification_handler_id}
curl --request DELETE \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://0o0.online/api/notification-handlers/{notification_handler_id}' \
--header 'Authorization: Bearer {api_key}' \