Ali | 2018-08-28 23:00:30 UTC | #1
Is there any way to create a custom emergency button through API. As we want to assign it to only team leaders as a widget and impose roles which will be accessible by team leaders only.
anon39326996 | 2018-08-28 23:03:47 UTC | #2
You should be able to leverage these APIs: https://developer.mypurecloud.com/api/rest/v2/architect/index.html#putArchitectEmergencygroupsEmergencygroupId
Ali | 2018-08-28 23:19:07 UTC | #3
Thanks Lucie for quick response,
I have been through the architect API endpoints. But that only provides endpoints to create emergency groups, i need some endpoint to trigger the emergency event.
anon39326996 | 2018-08-28 23:34:18 UTC | #4
The specific endpoint I linked, the PUT endpoint, is how you activate an emergency. There's a field called enabled, which is documented in the API as being (boolean): True if an emergency is occurring and the associated emergency call flow(s) should be used. False otherwise.
Ali | 2018-08-28 23:40:55 UTC | #5
Thanks a heaps Lucie. Really appreciate your help.
system | 2018-09-28 23:40:58 UTC | #6
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 3456