Service Agent
Get the push notification settings
Changed onReturns which push notification kinds the calling agent receives and which chats the agent muted. The settings always belong to the authenticated agent. Everything is on and nothing is muted until the agent changes it, so an agent who never changed anything gets every kind as true and an empty muted_chat_ids.
The kinds that can be switched are chat_mentioned, chat_message, conversation_message, case_assigned and case_note. Incoming call notifications cannot be switched off and are not part of the settings.
get/service_agents/me/push_settings
Request
- Base URLhttps://api.voipbin.net/v1.0
- Authnone declared
Response
The push notification settings of the calling agent.
Example response
{
"kinds": {
"chat_mentioned": true,
"chat_message": false,
"conversation_message": true,
"case_assigned": true,
"case_note": false
},
"muted_chat_ids": [
"5d7f9b1c-3e4a-4c68-8a0e-2c4e6a8c0e11"
]
}Changes
- info
endpoint added
- info