Ping System

Notifies edna Chat Center that agents are still active even if there are no open web sockets for them. Agents’ IDs or logins can be passed in the body.

Body
Possible values: id/login – agent variable

HTTP Request

PUT /api/v1/agents/ping HTTP/1.1
Content-Type: application/json
Authorization: Bearer <integrator_token>
Content-Length: 24
Host: localhost: 8080
{
    "ids": [
        1,
        2
    ]
}

Example of a Successful HTTP Response

HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers