API Version: 6.3

keevio commands

Permissions

Requires User permissions, but may only inject commands for the currently authenticated user.

command 'dial'

Path: /rest/command/dial/
Dial a call, either using keevio, a handset, or by trying keevio followed by a handset.
{    
    "type": "direct" or "keevio" or "auto",
    "values": {
        "number": nnn,
        "autoanswer": true or false,
        "autohold": true or false
    }
}

command 'create'

Path: /rest/command/create/
Request a keevio chat room be opened.
{
    "type": "room",
    "values": {
        "internal": [contact-id, ...],
        "external": [
            {
                "name": "External Name",
                "email": "external@email",
                "mobile": mobile_nnn
            }, ...
        ]
    }
}

command 'start'

Path: /rest/command/start/
Request a keevio chat room be opened, and then initiate a video chat.
{
    "type": "video",
    "values": {
        "internal": [contact-id, ...],
        "external": [
            {
                "name": "External Name",
                "email": "external@email",
                "mobile": mobile_nnn
            }, ...
        ]
    }
}