Statistics Notifications API
From Genesys Documentation
This topic is part of the manual Genesys Multicloud CX Web-based API Reference for version Current of Developer.
Contents
Base path: /statistics/v3
POST
|
/notifications
CometD endpoint
|
CometD endpoint
Responses
Code | Reason |
---|---|
200 | Ok |
500 | Error |
Usage
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/statistics/v3/notifications?"
POST
|
/notifications/connect
CometD connect
|
See the CometD documentation for details.
Responses
Code | Reason |
---|---|
200 | Ok |
500 | Internal Server Error |
Usage
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/statistics/v3/notifications/connect?"
POST
|
/notifications/disconnect
CometD disconnect
|
See the CometD documentation for details.
Responses
Code | Reason |
---|---|
200 | Ok |
500 | Internal Server Error |
Usage
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/statistics/v3/notifications/disconnect?"
POST
|
/notifications/handshake
CometD handshake
|
See the CometD documentation for details.
Responses
Code | Reason |
---|---|
200 | Ok |
500 | Internal Server Error |
Usage
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/statistics/v3/notifications/handshake?"
POST
|
/notifications/subscribe
Subscribe to CometD channel notification
|
See the CometD documentation for details.
Current channels:
- /statistics/v3/service - information about service state
- /statistics/v3/updates - statistics updates
Responses
Code | Reason |
---|---|
200 | Ok |
500 | Internal Server Error |
Usage
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/statistics/v3/notifications/subscribe?"
POST
|
/notifications/unsubscribe
Unsubscribe from CometD channel notification
|
See the CometD documentation for details.
Responses
Code | Reason |
---|---|
200 | Ok |
500 | Internal Server Error |
Usage
curl -X POST
-H "x-api-key: your_API_key"
-H "Content-Type: application/json"
"https://api-demo.com/statistics/v3/notifications/unsubscribe?"
Comments or questions about this documentation? Contact us for support!