User Notifications
View and manage email notification preferences for the authenticated user.
Oktopost sends email alerts when specific events occur in your account, such as post approvals, workflow assignments, mentions, or engagement milestones. Each user can customize which notifications they receive based on their preferences. Use these endpoints to retrieve and update email notification settings for the authenticated user.
Only a limited set of notification preferences can be managed via the API. For full notification configuration, users must update their settings in the Oktopost platform under Account Settings.
List Notifications
This endpoint will list the authenticated user's email notification settings.
Example Request
curl -i https://api.oktopost.com/v2/notificationExample Result
{
"Result": true,
"Items": {
"EmailDaily": false,
"EmailWeekly": true,
"EmailCampaignComplete": false,
"EmailOnNewAssignment": true,
"EmailOnNoteAdded": true,
"EmailOnNoteMention": true,
"EmailOnStatusChange": true,
"SendDailyEmailReport": true
}
}Update Notifications
Note that it is possible to send one or more settings in a single update request.
Example Request
curl -i https://api.oktopost.com/v2/notification -X POST \
-d EmailDaily=1 \
-d EmailWeekly=1 \
-d EmailCampaignComplete=1 \
-d EmailOnNewAssignment=0 \
-d EmailOnNoteAdded=0 \
-d EmailOnNoteMention=1 \
-d EmailOnStatusChange=0 \
-d SendDailyEmailReport=1