Viewing docs as
How to listen for Events
Overview
The event API allows you to subscribe to a variety of different events generated by Working Group Two's systems.
The examples will start a subscription to voice and voicemail events, which includes call initiated, call ended and new voicemail received.
Event types
Event type | Operator | Third Party | Required right |
---|---|---|---|
VOICE_EVENT | ❔ | ❔ | events.voice.subscribe |
VOICEMAIL_EVENT | ✔ | ✔ | events.voicemail.subscribe |
SMS_EVENT | ✔ | ✔ | events.sms.subscribe |
LOCATION_UPDATE_EVENT | ✔ | ✔ | events.location.subscribe |
ROAMING_EVENT | ✔ | ✔ | events.roaming.subscribe |
TOKEN_AUDIT_EVENT | ✔ | ❌ | events.audit.token.subscribe |
✔ | Available |
❌ | Not available |
❔ | Under development |
Snippet config
Listen for events
Manual acknowledge
In the below example we enable manual acknowledgement, and set a custom ack timeout.