- Change User Push Notification Settings
Send SMS to the list of clients
Send SMS campaigns to customers matching the filters
Send Email newsletter according to the list of clients
Send email campaigns for clients matching the filters
Getting Message Statuses
Get notification settings in a location
Get User Notification Settings
Change User Push Notifica...
The method allows you to change the user's PUSH notification settings. The type of notification to be changed (record_create_online_staff or record_create_online_admin, etc.) should be selected based on the type of notification specified by the user (mode: admin or mode: team_member). Note: 'staff' in notification type names is a legacy term for team member.
Security
BearerPartnerUser
Array of objects
Example:
[ { "type": "record_create_online_admin", "channels": { … } }, { "type": "record_create_offline_admin", "channels": { … } }, { "type": "record_delete_admin", "channels": { … } }, { "type": "record_move_admin", "channels": { … } }, { "type": "license_expire", "channels": { … } } ]
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/notification_settings/{location_id}/users/{user_id}
- Productionhttps://api.alteg.io/api/v1/notification_settings/{location_id}/users/{user_id}
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/notification_settings/{location_id}/users/{user_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"notification_types": [
{
"type": "record_create_online_admin",
"channels": {
"push": 1
}
},
{
"type": "record_create_offline_admin",
"channels": {
"push": 1
}
},
{
"type": "record_delete_admin",
"channels": {
"push": 1
}
},
{
"type": "record_move_admin",
"channels": {
"push": 1
}
},
{
"type": "license_expire",
"channels": {
"push": 1
}
}
]
}'Response
{ "success": true, "data": { "mode": "staff", "notification_types": [ … ] }, "meta": [] }