List Running Calls


This request returns the running PBX calls of the current user.

Resource

GET /me/calls

Parameters

None

Payload

None

Response

List of the currently running calls of this user.

Context

Authorization

User

Errors

Example

Request
GET https://xelion.nl/api/v1/master/me/calls
Response
{
    "data": [
        {
            "object": {
                "channelId": "1647265737.930",
                "callId": "131207419551ca2e",
                "state": "Up",
                "callDate": "2022-03-14 13:48:56",
                "callDirection": "Outbound",
                "localName": "Wesley",
                "localNumber": "31157631104",
                "localAddressable": {
                    "iconId": "2007902",
                    "commonName": "Wesley",
                    "oid": "1650975",
                    "objectType": "Person"
                },
                "phoneLine": {
                    "commonName": "Telefoonaansluiting Wesley",
                    "oid": "1651226",
                    "objectType": "XCCPhoneLine"
                },
                "personalLine": true,
                "remoteName": "+31157639999",
                "remoteNumber": "+31157639999",
                "remoteAddressable": {
                    "commonName": "+31157639999",
                    "oid": "2006295",
                    "objectType": "UnknownAddressable"
                }
            }
        }
    ],
    "meta": {
        "links": [
            {
                "rel": "refresh",
                "href": "https://xelion.nl/api/v1/master/me/calls",
                "method": "GET"
            }
        ]
    }
}