Evo Voice

<back to all web services

RecordSession

Start call recording for the specified session. If already started, this will not do anything

Requires Authentication
The following routes are available for this service:
POST/sessions/{sessionId}/record
"use strict";
export class RecordSession {
    /** @param {{sessionId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    sessionId;
}

JavaScript RecordSession DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /sessions/{sessionId}/record HTTP/1.1 
Host: team.evovoice.io 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"sessionId":"String"}