{
  "opencollection": "1.0.0",
  "info": {
    "name": "Telnyx Access Tokens Call Information API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Call Information",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve a call status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/calls/:call_control_id",
            "params": [
              {
                "name": "call_control_id",
                "value": "",
                "type": "path",
                "description": "Unique identifier and token for controlling the call"
              }
            ]
          },
          "docs": "Returns the status of a call (data is available 10 minutes after call ended)."
        },
        {
          "info": {
            "name": "List all active calls for given connection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/connections/:connection_id/active_calls",
            "params": [
              {
                "name": "connection_id",
                "value": "",
                "type": "path",
                "description": "Telnyx connection id"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Consolidated page parameter (deepObject style). Originally: page[after], page[before], page[limit], page[size], page[number]"
              }
            ]
          },
          "docs": "Lists all active calls for given connection. Acceptable connections are either SIP connections with webhook_url or xml_request_url, call control or texml. Returned results are cursor paginated.\n"
        }
      ]
    }
  ],
  "bundled": true
}