HTTP Method | URL | Requires Auth |
---|---|---|
GET | /api/v1/voip/queues.getMembershipSubscription | yes |
{% hint style="info" %}
Permission required: inbound-voip-calls
{% endhint %}
Key | Example Value | Description |
---|---|---|
extension * | 1293 | The phone extension for VoIP. |
{% code overflow="wrap" %}
curl --location --request GET 'localhost:3000/api/v1/voip/queues.getMembershipSubscription' \
--header 'X-Auth-Token: xS8jnLS2YzVy-_w8T_S0WnQm5SnADjACa7gbXmcOcLY' \
--header 'X-User-Id: 6vHSSqdBHdm2R4gfi' \
--header 'Content-Type: application/json' \
--data-raw '{
"extension": "1293"
}'
{% endcode %}
{
"queues" : {
"name": "event.queue",
"loggedin": "event.loggedin",
"available": "event.available",
"callers": "event.available",
"holdtime": "event.holdtime",
"talktime": "event.talktime",
"longestholdtime": "event.logestholdtime"
},
"extension": "1293"
}