API
अपनी सूचना सेटिंग पढ़ें
OpenEmail व्यक्ति को किस तरह के ईमेल भेजता है, और उसके फ़ोन पर म्यूट किए गए वर्कस्पेस।
GET/account/notifications
असली कॉल आपके वर्कस्पेस पर चलाता है।
GET /account/notifications
OpenEmail व्यक्ति को किस तरह के ईमेल भेजता है, और उसके फ़ोन पर म्यूट किए गए वर्कस्पेस।
उदाहरण
account:read चाहिए। email में हर तरह के लिए एक पंक्ति है: account और billing, जो हमेशा चालू रहते हैं, फिर activity और product, जिन्हें बंद किया जा सकता है।
curl "$OE/account/notifications" -H "$AUTH"{ "object": "notification_settings", "email": [ { "category": "account", "label": "Account", "description": "Sign-in and security notices, invitations, and changes to your workspaces such as API keys, webhooks, domains and members.", "required": true, "enabled": true }, { "category": "billing", "label": "Billing", "description": "Receipts, renewals, refunds, plan changes and payments that need attention.", "required": true, "enabled": true }, { "category": "activity", "label": "Activity", "description": "Your daily AI actions running out and coming back, a monthly usage summary, and a note when your mailbox sits unread.", "required": false, "enabled": true }, { "category": "product", "label": "Product news", "description": "Occasional notes about what is new in OpenEmail.", "required": false, "enabled": false } ], "mutedWorkspaces": []}ये कॉल किसी व्यक्ति पर काम करती हैं, किसी वर्कस्पेस पर नहीं। API कुंजी उस वर्कस्पेस के मालिक की ओर से काम करती है जिससे वह जुड़ी है, और ऐप उस व्यक्ति की ओर से जिसने उसे कनेक्ट किया। पढ़ने के लिए account:read और हर बदलाव के लिए account:write चाहिए, और कोई भूमिका इनमें से किसी को सीमित नहीं करती।