| Required role: | User | 
| POST | /app/ensure-action-url | 
|---|
"use strict";
/** @typedef {'GET'|'POST'} */
export var ActionUrlHttpMethods;
(function (ActionUrlHttpMethods) {
    ActionUrlHttpMethods["GET"] = "GET"
    ActionUrlHttpMethods["POST"] = "POST"
})(ActionUrlHttpMethods || (ActionUrlHttpMethods = {}));
export class EnsureActionUrl {
    /** @param {{url?:string,clearExisting?:boolean,method?:ActionUrlHttpMethods}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description The URL to use */
    url;
    /**
     * @type {boolean}
     * @description Clear existing action URLs first */
    clearExisting;
    /**
     * @type {ActionUrlHttpMethods}
     * @description The HTTP method to use */
    method;
}
JavaScript EnsureActionUrl DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /app/ensure-action-url HTTP/1.1 
Host: evovoice.io 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
	url: String,
	clearExisting: False,
	method: GET
}