| Requires any of the roles: | Manager, SystemAdministrator | 
| POST | /sessions/outgoing | 
|---|
"use strict";
export class NewOutgoingSession {
    /** @param {{flowId?:string,numberToDial?:string,callerId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description The ID of the flow to use. This flow will be executed as soon as the call is answered. */
    flowId;
    /**
     * @type {string}
     * @description The E164 number to dial, e.g. +18144043093 */
    numberToDial;
    /**
     * @type {string}
     * @description The Caller ID to use. This must be the E164 number of an owned phone number */
    callerId;
}
JavaScript NewOutgoingSession DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /sessions/outgoing HTTP/1.1 
Host: evovoice.io 
Accept: application/json
Content-Type: application/json
Content-Length: length
{"flowId":"String","numberToDial":"String","callerId":"String"}