Skip to main content
Version: v8.2

List calls for a tenant

GET

/org/{tenant_code}/v2/calls

Platform support: MT and CC

Lists the currently live calls, regardless of how they were initiated (API or device). Each entry mirrors the real-time event_call_* event payload (plus tenant_code), so this list can be used as a snapshot and reconciled against the event stream by uid.

Authentication modes:

  • User token: Returns only the calls of the authenticated extension.
  • API key / service: Returns all calls for the tenant in the URL. On a non-multi-tenant deployment use /org/default/v2/calls, which returns all calls.

On a multi-tenant deployment a tenant code that cannot be resolved from the URL (e.g. default or a non-numeric value) yields 400 Bad Request. A user token without an associated extension yields 401 Unauthorized.

Request

Responses

List of active calls