Fetch details of an active session
GET/accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session
Returns details of an ongoing active session for the given meeting ID.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
Path Parameters
Fetch details of an active session
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/realtime/kit/$APP_ID/meetings/$MEETING_ID/active-session \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"data": {
"id": "id",
"associated_id": "associated_id",
"created_at": "created_at",
"live_participants": 0,
"max_concurrent_participants": 0,
"meeting_display_name": "meeting_display_name",
"minutes_consumed": 0,
"organization_id": "organization_id",
"started_at": "started_at",
"status": "LIVE",
"type": "meeting",
"updated_at": "updated_at",
"breakout_rooms": [
{}
],
"ended_at": "ended_at",
"meta": {}
},
"success": true
}{
"error": {
"code": 404,
"message": "No active session found for meeting_id 6bf2b8be-04dd-4191-b602-1128921a306b"
},
"success": false
}Returns Examples
{
"data": {
"id": "id",
"associated_id": "associated_id",
"created_at": "created_at",
"live_participants": 0,
"max_concurrent_participants": 0,
"meeting_display_name": "meeting_display_name",
"minutes_consumed": 0,
"organization_id": "organization_id",
"started_at": "started_at",
"status": "LIVE",
"type": "meeting",
"updated_at": "updated_at",
"breakout_rooms": [
{}
],
"ended_at": "ended_at",
"meta": {}
},
"success": true
}{
"error": {
"code": 404,
"message": "No active session found for meeting_id 6bf2b8be-04dd-4191-b602-1128921a306b"
},
"success": false
}