Active Stream Monitoring API
1 min
The Active Stream Monitoring API lets you query and track all live AgentStream sessions running on your Exotel account in real time.
Monitor active streams:
curl -X GET 'https://<your_api_key>:<your_api_token><subdomain>/v1/Accounts/<your_sid>/ActiveStreams'
Replace <your_api_key> and <your_api_token> with the API key and token created by you.
Replace <your_sid> with your “Account sid”
Replace <subdomain> with the region of your account
- <subdomain> of Singapore cluster is @api.exotel.com
- <subdomain> of Mumbai cluster is @api.in.exotel.com
<your_api_key> , <your_api_token> and <your_sid> are available in the API settings page of your Exotel Dashboard
Sample Response:
{
"status": "success",
"active_streams": 12,
"max_allowed_streams": 100,
"account_sid": "Exotel"
}