Vote count: 0
Like for example
If I want to listen to both
'eventFilters' => array(
"/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true&aggregate=true",
"/restapi/v1.0/account/~/extension/~/message-store/instant?type=SMS"
Am I supposed to do a switch on every post request from ringcentral if I want to filter and analyze both events?
Say..
switch($eventid){
case '/restapi/v1.0/account/<accountid>/extension/<extension>/presence?detailedTelephonyState=true&aggregate=true'
//process data
break;
}
But the webhook posts have different extensions to it. Is there an identifier of which event is triggered?
asked 17 secs ago
In RingCentral webhook is there a way to differentiate different event filters?
Aucun commentaire:
Enregistrer un commentaire