API
Lexoni cilësimet e njoftimeve tuaja
Cilat lloje emailesh i dërgon OpenEmail personit, dhe hapësirat e punës të heshtura në telefonin e tij.
GET/account/notifications
Ekzekuton thirrjen reale në hapësirën tuaj të punës.
GET /account/notifications
Cilat lloje emailesh i dërgon OpenEmail personit, dhe hapësirat e punës të heshtura në telefonin e tij.
Shembull
Kërkon account:read. email ka një rresht për çdo lloj: account dhe billing, që janë gjithmonë të ndezura, pastaj activity dhe product, që mund të fiken.
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": []}Këto thirrje veprojnë mbi një person, jo mbi një hapësirë pune. Një çelës API vepron për pronarin e hapësirës së punës së cilës i përket, dhe një aplikacion për personin që e lidhi. Leximi kërkon account:read dhe çdo ndryshim account:write, dhe asnjë rol nuk kufizon asnjërin.