"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
"optional": true,
"field": "vidaooSessionId",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "autoreplyExecuted",
+ "description": ""
}
]
}
"groupTitle": "Chat_Interactions"
},
{
- "type": "put",
- "url": "/api/chat/interactions/{id}/close",
- "title": "Close Interaction",
- "examples": [
- {
- "title": "Example usage:",
- "content": "curl https://{domain}/api/chat/interactions/{id}/close -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
- "type": "json"
- }
- ],
- "name": "addMessage",
- "group": "Chat_Interactions",
- "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
- "version": "0.0.0",
- "filename": "server/api/chatInteraction/index.js",
- "groupTitle": "Chat_Interactions"
- },
- {
"type": "post",
"url": "/api/chat/interactions/{id}/messages",
"title": "Creates new messages",
"optional": true,
"field": "readAt",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
"groupTitle": "Chat_Interactions"
},
{
+ "type": "put",
+ "url": "/api/chat/interactions/{id}/close",
+ "title": "Close Interaction",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/chat/interactions/{id}/close -d '[{\"to\": \"+3901119886500\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
+ "type": "json"
+ }
+ ],
+ "name": "addMessage",
+ "group": "Chat_Interactions",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/chatInteraction/index.js",
+ "groupTitle": "Chat_Interactions"
+ },
+ {
"type": "post",
"url": "/api/chat/interactions/{id}/attachment_upload",
"title": "Add attachment",
"optional": true,
"field": "readAt",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
"optional": true,
"field": "vidaooApiKey",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": false,
+ "field": "vidaooTopic",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "vidaooNote",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "vidaooMetadata",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "openNewInteraction",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "subjectOffline",
+ "description": ""
}
]
}
"optional": false,
"field": "name",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"first\"",
+ "\"second\"",
+ "\"third\""
+ ],
+ "optional": false,
+ "field": "level",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "description",
+ "description": ""
}
]
}
"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
"optional": true,
"field": "vidaooSessionId",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "autoreplyExecuted",
+ "description": ""
}
]
}
},
{
"type": "get",
+ "url": "/api/cm/contacts/{id}/journey",
+ "title": "Gets customer journey",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/cm/contacts/{id}/journey -v -u {name}:{password} -X GET",
+ "type": "json"
+ }
+ ],
+ "name": "getJourney",
+ "group": "Cm_Contacts",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/cmContact/index.js",
+ "groupTitle": "Cm_Contacts"
+ },
+ {
+ "type": "get",
"url": "/api/cm/contacts/{id}/jscripty_sessions",
"title": "Gets contact hopper blacks",
"examples": [
"optional": false,
"field": "name",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"first\"",
+ "\"second\"",
+ "\"third\""
+ ],
+ "optional": false,
+ "field": "level",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "description",
+ "description": ""
}
]
}
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
},
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
"optional": false,
"field": "name",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"first\"",
+ "\"second\"",
+ "\"third\""
+ ],
+ "optional": false,
+ "field": "level",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "description",
+ "description": ""
}
]
}
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
},
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
},
{
"type": "post",
- "url": "/api/fax/accounts/addaccountapplications",
- "title": "Creates new account and applications",
+ "url": "/api/fax/accounts/{id}/applications",
+ "title": "Creates new applications",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/fax/accounts/addaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
+ "content": "curl https://{domain}/api/fax/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
"type": "json"
}
],
},
{
"type": "post",
- "url": "/api/fax/accounts/{id}/applications",
- "title": "Creates new applications",
+ "url": "/api/fax/accounts/addaccountapplications",
+ "title": "Creates new account and applications",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/fax/accounts/{id}/applications -d '[{\"app\": \"queue\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
+ "content": "curl https://{domain}/api/fax/accounts/addaccountapplications -d '[{\"name\": \"name\", \"...\": \"...\"}]' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
"type": "json"
}
],
"optional": false,
"field": "name",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"first\"",
+ "\"second\"",
+ "\"third\""
+ ],
+ "optional": false,
+ "field": "level",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "description",
+ "description": ""
}
]
}
"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
"groupTitle": "Fax_Messages"
},
{
- "type": "put",
- "url": "/api/fax/messages/{id}/reject",
- "title": "Rejects message",
+ "type": "post",
+ "url": "/api/fax/messages",
+ "title": "Create message and send Fax",
"examples": [
{
"title": "Example usage:",
],
"name": "rejectMessage",
"group": "Fax_Messages",
- "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
"filename": "server/api/faxMessage/index.js",
"groupTitle": "Fax_Messages"
},
{
- "type": "post",
- "url": "/api/fax/messages",
- "title": "Create message and send Fax",
+ "type": "put",
+ "url": "/api/fax/messages/{id}/reject",
+ "title": "Rejects message",
"examples": [
{
"title": "Example usage:",
],
"name": "rejectMessage",
"group": "Fax_Messages",
- "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
"filename": "server/api/faxMessage/index.js",
"groupTitle": "Fax_Messages"
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
}
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
}
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
"Body": [
{
"group": "Body",
- "type": "String",
+ "type": "Text",
"optional": true,
"field": "question",
"description": ""
"Body": [
{
"group": "Body",
- "type": "String",
+ "type": "Text",
"optional": true,
"field": "question",
"description": ""
"optional": false,
"field": "name",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"first\"",
+ "\"second\"",
+ "\"third\""
+ ],
+ "optional": false,
+ "field": "level",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "description",
+ "description": ""
}
]
}
"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
},
{
"group": "Body",
- "type": "Text",
- "optional": true,
- "field": "lastMsgBody",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Text",
+ "type": "Boolean",
"optional": true,
- "field": "lastMsgText",
+ "field": "autoreplyExecuted",
"description": ""
}
]
"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
},
{
"group": "Body",
- "type": "Text",
- "optional": true,
- "field": "lastMsgBody",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Text",
+ "type": "Boolean",
"optional": true,
- "field": "lastMsgText",
+ "field": "autoreplyExecuted",
"description": ""
}
]
"optional": true,
"field": "originCc",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"Email\"",
+ "\"Chat\""
+ ],
+ "optional": false,
+ "field": "originChannel",
+ "description": ""
}
]
}
},
{
"type": "post",
- "url": "/api/notifications",
- "title": "Send notification to user",
- "examples": [
- {
- "title": "Example usage:",
- "content": "curl https://{domain}/api/notifications -d '{\"text\": \"Hello!\", \"TemplateId\": 1}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
- "type": "json"
- }
- ],
- "name": "Send",
- "group": "Notifications",
- "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
- "version": "0.0.0",
- "filename": "server/api/notification/index.js",
- "groupTitle": "Notifications"
- },
- {
- "type": "post",
"url": "/api/openchannel/accounts/{id}/users",
"title": "Add agents to a openchannel account",
"examples": [
"optional": false,
"field": "name",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"first\"",
+ "\"second\"",
+ "\"third\""
+ ],
+ "optional": false,
+ "field": "level",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "description",
+ "description": ""
}
]
}
"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
"optional": true,
"field": "from",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "autoreplyExecuted",
+ "description": ""
}
]
}
"optional": true,
"field": "readAt",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
"optional": true,
"field": "readAt",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
"groupTitle": "Plugins"
},
{
- "type": "get",
+ "type": "post",
"url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
"title": "Redirect a plugin request to the specified path",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -v -u {name}:{password} -X GET",
+ "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -H 'Content-Type: application/json' -X POST",
"type": "json"
}
],
"name": "webhookPlugin",
"group": "Plugins",
- "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
"filename": "server/api/plugin/index.js",
"groupTitle": "Plugins"
},
{
- "type": "post",
+ "type": "get",
"url": "/api/plugins/webhook?hostname={host}&port={port}&encoding={encoding}&json={json}&path={path}",
"title": "Redirect a plugin request to the specified path",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -H 'Content-Type: application/json' -X POST",
+ "content": "curl https://{domain}/api/plugins/webhook?port={port}&path={path} -v -u {name}:{password} -X GET",
"type": "json"
}
],
"name": "webhookPlugin",
"group": "Plugins",
- "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
"filename": "server/api/plugin/index.js",
"groupTitle": "Plugins"
},
{
"type": "get",
- "url": "/api/rpc/outbound",
- "title": "Gets a list of RTOutbound",
+ "url": "/api/rpc/voice/queues",
+ "title": "Gets a list of RTVoiceQueues",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/rpc/outbound -v -u {name}:{password}",
+ "content": "curl https://{domain}/api/rpc/voice/queues -v -u {name}:{password}",
"type": "json"
}
],
"name": "RTVoiceQueues",
"group": "RPC_Realtime",
- "description": "<p>Motion will return a list of realtime outbound parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "description": "<p>Motion will return a list of realtime voice queues parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
"filename": "server/api/rpc/index.js",
"groupTitle": "RPC_Realtime"
},
{
"type": "get",
- "url": "/api/rpc/voice/queues",
- "title": "Gets a list of RTVoiceQueues",
+ "url": "/api/rpc/outbound",
+ "title": "Gets a list of RTOutbound",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/rpc/voice/queues -v -u {name}:{password}",
+ "content": "curl https://{domain}/api/rpc/outbound -v -u {name}:{password}",
"type": "json"
}
],
"name": "RTVoiceQueues",
"group": "RPC_Realtime",
- "description": "<p>Motion will return a list of realtime voice queues parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "description": "<p>Motion will return a list of realtime outbound parameters.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
"filename": "server/api/rpc/index.js",
"groupTitle": "RPC_Realtime"
"groupTitle": "RPC_Realtime"
},
{
+ "type": "put",
+ "url": "/api/rpc/voice/{id}/queues",
+ "title": "Updates a single VoiceQueue",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/rpc/voice/queues/{id} -v -u {name}:{password}",
+ "type": "json"
+ }
+ ],
+ "name": "UpdateVoiceQueues",
+ "group": "RPC_Realtime",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/rpc/index.js",
+ "groupTitle": "RPC_Realtime"
+ },
+ {
"type": "post",
"url": "/api/rpc/agents/:id/notify",
"title": "Notify message to a specific agent",
},
{
"type": "get",
+ "url": "/api/rpc/openchannel/queues/:id/waitinginteractions",
+ "title": "Gets a list of openchannelQueuesIdWaitingInteractions",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/rpc/openchannel/queues/:id/waitinginteractions -v -u {name}:{password}",
+ "type": "json"
+ }
+ ],
+ "name": "openchannelQueuesIdWaitingInteractions",
+ "group": "RPC_Realtime",
+ "description": "<p>Motion will return a list of realtime waiting openchannel queues interctions.</p> <p>Upon success Motion will return a HTTP status code <code>200 OK</code> if the entire collection was returned.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/rpc/index.js",
+ "groupTitle": "RPC_Realtime"
+ },
+ {
+ "type": "get",
"url": "/api/rpc/openchannel/queues/waitinginteractions",
"title": "Gets a list of openchannelQueuesWaitingInteractions",
"examples": [
"groupTitle": "RPC_Realtime"
},
{
+ "type": "get",
+ "url": "/api/realtime/queues",
+ "title": "Gets realtime queues info",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/realtime/queues -v -u {name}:{password} -X GET",
+ "type": "json"
+ }
+ ],
+ "name": "getQueues",
+ "group": "Realtime",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/realtime/index.js",
+ "groupTitle": "Realtime"
+ },
+ {
"type": "post",
"url": "/api/integrations/salesforce/accounts",
"title": "Creates a new Salesforce Account",
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
},
"allowedValues": [
"\"contact_lead\"",
"\"contact\"",
- "\"lead\""
+ "\"lead\"",
+ "\"account_contact_lead\"",
+ "\"account\""
],
"optional": true,
"field": "moduleSearch",
"allowedValues": [
"\"nothing\"",
"\"contact\"",
- "\"lead\""
+ "\"lead\"",
+ "\"account\""
],
"optional": true,
"field": "moduleCreate",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "leadId",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "additionalSearchAccount",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "additionalSearchContact",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "additionalSearchLead",
+ "description": ""
}
]
}
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
}
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
},
{
"type": "get",
+ "url": "/api/settings/now",
+ "title": "Get Server Current Date",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/settings/now -v -X GET",
+ "type": "json"
+ }
+ ],
+ "name": "getDate",
+ "group": "Settings",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/setting/index.js",
+ "groupTitle": "Settings"
+ },
+ {
+ "type": "get",
"url": "/api/settings/{id}/favicon",
"title": "Get Favicon",
"examples": [
"\"clicksend\"",
"\"plivo\"",
"\"clickatell\"",
+ "\"bandwidth\"",
"\"csc\"",
"\"infobip\"",
"\"intelepeer\""
"group": "Body",
"type": "String",
"optional": true,
+ "field": "applicationId",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "accountId",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "senderString",
"description": ""
},
"optional": false,
"field": "name",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"first\"",
+ "\"second\"",
+ "\"third\""
+ ],
+ "optional": false,
+ "field": "level",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "description",
+ "description": ""
}
]
}
},
{
"type": "post",
- "url": "/api/sms/messages/{id}/status",
+ "url": "/api/sms/accounts/{id}/status",
"title": "Receive message status",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
+ "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST",
"type": "json"
}
],
"group": "Sms_Accounts",
"description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
- "filename": "server/api/smsMessage/index.js",
+ "filename": "server/api/smsAccount/index.js",
"groupTitle": "Sms_Accounts"
},
{
- "type": "get",
- "url": "/api/sms/accounts/{id}/status",
- "title": "Receive message status as get request",
+ "type": "post",
+ "url": "/api/sms/messages/{id}/status",
+ "title": "Receive message status",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET",
+ "content": "curl https://{domain}/api/sms/messages/{id}/status \\ \n -H 'Content-Type: application/json' -v -X POST",
"type": "json"
}
],
"name": "statusMessage",
"group": "Sms_Accounts",
- "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
- "filename": "server/api/smsAccount/index.js",
+ "filename": "server/api/smsMessage/index.js",
"groupTitle": "Sms_Accounts"
},
{
- "type": "post",
+ "type": "get",
"url": "/api/sms/accounts/{id}/status",
- "title": "Receive message status",
+ "title": "Receive message status as get request",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X POST",
+ "content": "curl https://{domain}/api/sms/accounts/{id}/status -H 'Content-Type: application/json' -v -X GET",
"type": "json"
}
],
"name": "statusMessage",
"group": "Sms_Accounts",
- "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
"filename": "server/api/smsAccount/index.js",
"groupTitle": "Sms_Accounts"
"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
"optional": false,
"field": "lastMsgDirection",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "autoreplyExecuted",
+ "description": ""
}
]
}
"optional": true,
"field": "secret",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
"optional": true,
"field": "secret",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
"optional": false,
"field": "direction",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
"optional": true,
"field": "production",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "savedAt",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "publishedAt",
+ "description": ""
}
]
}
},
{
"type": "delete",
- "url": "/api/square/recordings/{id}/delete",
+ "url": "/api/square/recordings/{id}",
"title": "Delete recording",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/square/recordings/{id}/delete -v -u {name}:{password} -X DELETE",
+ "content": "curl https://{domain}/api/square/recordings/{id} -v -u {name}:{password} -X DELETE",
"type": "json"
}
],
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
}
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
},
{
"type": "delete",
- "url": "/api/mail/queues/{id}/teams",
+ "url": "/api/whatsapp/queues/{id}/teams",
"title": "Remove teams from a queue",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password} -X DELETE",
+ "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password} -X DELETE",
"type": "json"
}
],
"group": "Teams",
"description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
- "filename": "server/api/mailQueue/index.js",
+ "filename": "server/api/whatsappQueue/index.js",
"groupTitle": "Teams"
},
{
},
{
"type": "delete",
- "url": "/api/whatsapp/queues/{id}/teams",
+ "url": "/api/voice/queues/{id}/teams",
"title": "Remove teams from a queue",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/whatsapp/queues/{id}/teams -v -u {name}:{password} -X DELETE",
+ "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE",
"type": "json"
}
],
"group": "Teams",
"description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
- "filename": "server/api/whatsappQueue/index.js",
+ "filename": "server/api/voiceQueue/index.js",
"groupTitle": "Teams"
},
{
},
{
"type": "delete",
- "url": "/api/voice/queues/{id}/teams",
- "title": "Remove teams from a queue",
+ "url": "/api/voice/Prefixes/{id}/teams",
+ "title": "Remove teams from a voice prefix",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/voice/queues/{id}/teams -v -u {name}:{password} -X DELETE",
+ "content": "curl https://{domain}/api/voice/prefixes/{id}/teams -v -u {name}:{password} -X DELETE",
"type": "json"
}
],
"group": "Teams",
"description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
"version": "0.0.0",
- "filename": "server/api/voiceQueue/index.js",
+ "filename": "server/api/voicePrefix/index.js",
"groupTitle": "Teams"
},
{
"groupTitle": "Teams"
},
{
+ "type": "delete",
+ "url": "/api/mail/queues/{id}/teams",
+ "title": "Remove teams from a queue",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/mail/queues/{id}/teams -v -u {name}:{password} -X DELETE",
+ "type": "json"
+ }
+ ],
+ "name": "RemoveTeams",
+ "group": "Teams",
+ "description": "<p>Motion will return a HTTP status code <code>204</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/mailQueue/index.js",
+ "groupTitle": "Teams"
+ },
+ {
"type": "get",
"url": "/api/teams/{id}",
"title": "Gets a single Team",
},
{
"type": "post",
+ "url": "/api/userNotifications",
+ "title": "Send notification to user",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/userNotifications -d '{\"text\": \"Hello!\", \"TemplateId\": 1}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
+ "type": "json"
+ }
+ ],
+ "name": "Send",
+ "group": "UserNotifications",
+ "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/userNotification/index.js",
+ "groupTitle": "UserNotifications"
+ },
+ {
+ "type": "post",
"url": "/api/userProfile/resources",
"title": "Creates a new User Profile Resource",
"examples": [
"optional": true,
"field": "description",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "privacyEnabled",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "downloadAttachments",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "downloadCallySquareRecordings",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "downloadContactManagerLists",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "downloadJscriptySessions",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "downloadOmnichannelInteractions",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "downloadScreenRecordings",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "downloadVoiceRecordings",
+ "description": ""
}
]
}
"groupTitle": "Users"
},
{
- "type": "post",
- "url": "/api/users/create_many",
- "title": "Creates many Users",
- "examples": [
- {
- "title": "Example usage:",
- "content": "curl https://{domain}/api/users/create_many -d '[{\"key1\": \"value1\", \"key2\": \"value2\", \"...\": \"...\"}]' \\\n -H \"Content-Type: application/json\" -v -u {name}:{password} -X POST",
- "type": "json"
- }
- ],
- "name": "BulkCreateUsers",
- "group": "Users",
- "parameter": {
- "fields": {
- "Body": [
- {
- "group": "Body",
- "type": "String",
- "optional": false,
- "field": "name",
- "description": "<p>The name of the user</p>"
- },
- {
- "group": "Body",
- "type": "String",
- "optional": false,
- "field": "fullname",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "alias",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": false,
- "field": "email",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"admin\"",
- "\"user\"",
- "\"agent\"",
- "\"telephone\""
- ],
- "optional": false,
- "field": "role",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": false,
- "field": "password",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "provider",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": false,
- "field": "internal",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "salt",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "phone",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "mobile",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "address",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "zipcode",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "userpic",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "city",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "country",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "online",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "lastLoginAt",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "voicePause",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "chatPause",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "mailPause",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "faxPause",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "smsPause",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "whatsappPause",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "openchannelPause",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "pauseType",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "lastPauseAt",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "chatCapacity",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "mailCapacity",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "faxCapacity",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "smsCapacity",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "whatsappCapacity",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "openchannelCapacity",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarAutoAnswer",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarEnableSettings",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "phoneBarListenPort",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "phoneBarExpires",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarRemoteControl",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "phoneBarRemoteControlPort",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarEnableRecording",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarRingInUse",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "chanspy",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "description",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "host",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "ipaddr",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "port",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "regseconds",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "fullcontact",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "regserver",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "useragent",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "lastms",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"friend\"",
- "\"user\"",
- "\"peer\""
- ],
- "optional": true,
- "field": "type",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "context",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"ALLOWED_NOT_SCREENED\"",
- "\"ALLOWED_PASSED_SCREEN\"",
- "\"ALLOWED_FAILED_SCREEN\"",
- "\"ALLOWED\"",
- "\"PROHIB_NOT_SCREENED\"",
- "\"PROHIB_PASSED_SCREEN\"",
- "\"PROHIB_FAILED_SCREEN\"",
- "\"PROHIB\""
- ],
- "optional": true,
- "field": "callingpres",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "deny",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "permit",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "secret",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "md5secret",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "remotesecret",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "transport",
- "description": "<p>String is deprecated. Please use an Array as ["udp", "tcp"]</p>"
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"rfc2833\"",
- "\"info\"",
- "\"shortinfo\"",
- "\"inband\"",
- "\"auto\""
- ],
- "optional": true,
- "field": "dtmfmode",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\"",
- "\"nonat\"",
- "\"update\"",
- "\"outgoing\""
- ],
- "optional": true,
- "field": "directmedia",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "directrtpsetup",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "directmediapermit",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "directmediadeny",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "nat",
- "description": "<p>String is deprecated. Please use an Array as ["force_rport", "comedia"]</p>"
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "callgroup",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "namedcallgroup",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "pickupgroup",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "namedpickupgroup",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "language",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "tonezone",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": false,
- "field": "disallow",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": false,
- "field": "allow",
- "description": "<p>String is deprecated. Please use an Array as ["ulaw", "alaw", "gsm"]</p>"
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "autoframing",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "insecure",
- "description": "<p>String is deprecated. Please use an Array as ["port", "invite"]</p>"
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "trustrpid",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "trust_id_outbound",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\"",
- "\"never\""
- ],
- "optional": true,
- "field": "progressinband",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "promiscredir",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "useclientcode",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "accountcode",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "setvar",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "callerid",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "amaflags",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "callcounter",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "busylevel",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "allowoverlap",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "allowsubscribe",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "allowtransfer",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "ignoresdpversion",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "subscribecontext",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "template",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\"",
- "\"always\""
- ],
- "optional": true,
- "field": "videosupport",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "maxcallbitrate",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "rfc2833compensate",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "mailbox",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"accept\"",
- "\"refuse\"",
- "\"originate\""
- ],
- "optional": true,
- "field": "session_timers",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "session_expires",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "session_minse",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"uac\"",
- "\"uas\""
- ],
- "optional": true,
- "field": "session_refresher",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "t38pt_usertpsource",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "regexten",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "fromdomain",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "fromuser",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "qualify",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "keepalive",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "defaultip",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "defaultuser",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "rtptimeout",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "rtpholdtimeout",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "rtpkeepalive",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "sendrpid",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "outboundproxy",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "callbackextension",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "timert1",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "timerb",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "qualifyfreq",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "contactpermit",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "contactdeny",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "contactacl",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "unsolicited_mailbox",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "use_q850_reason",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "maxforwards",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "encryption",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "avpf",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "force_avp",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "icesupport",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "dtlsenable",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\"",
- "\"fingerprint\"",
- "\"certificate\""
- ],
- "optional": true,
- "field": "dtlsverify",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "dtlsrekey",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "dtlscertfile",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "dtlsprivatekey",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "dtlscipher",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "dtlscafile",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "dtlscapath",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"active\"",
- "\"passive\"",
- "\"actpass\""
- ],
- "optional": true,
- "field": "dtlssetup",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "dtlsfingerprint",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "usereqphone",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "recordonfeature",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "recordofffeature",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "call_limit",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "registertrying",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "subscribemwi",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "vmexten",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "mohinterpret",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "mohsuggest",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "parkinglot",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\"",
- "\"nonat\"",
- "\"update\"",
- "\"update,nonat\""
- ],
- "optional": true,
- "field": "canreinvite",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "loginInPause",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "resetPasswordToken",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "resetPasswordExpires",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "showWebBar",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Text",
- "optional": true,
- "field": "permissions",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "phoneBarUnconditionalNumber",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "phoneBarNoReplyNumber",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "phoneBarBusyNumber",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarUnconditional",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarNoReply",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarBusy",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarDnd",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarUnansweredCallBadge",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarEnableDtmfTone",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "phoneBarAutoAnswerDelay",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "extensionMonitor",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "crudPermissions",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "allowedValues": [
- "\"yes\"",
- "\"no\""
- ],
- "optional": true,
- "field": "rtcp_mux",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "allowmessenger",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "phoneBarOutboundProxy",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "passwordResetAt",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarEnableJaws",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarEnableScreenRecordingByAgent",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Virtual",
- "optional": true,
- "field": "phoneBarEnableVideoRecording",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarEnableAutomaticScreenRecording",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "phoneBarPrefixRequired",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "hotdesk",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "interface",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "privacyEnabled",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "apiKeyNonce",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "apiKeyIat",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "screenrecording",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "blocked",
- "description": ""
- },
- {
- "group": "Body",
- "type": "String",
- "optional": true,
- "field": "blockedAt",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Integer",
- "optional": true,
- "field": "loginAttempts",
- "description": ""
- },
- {
- "group": "Body",
- "type": "Boolean",
- "optional": true,
- "field": "disabled",
- "description": ""
- }
- ]
- }
- },
- "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
- "version": "0.0.0",
- "filename": "server/api/user/index.js",
- "groupTitle": "Users"
- },
- {
"type": "put",
"url": "/api/users/{id}/password",
"title": "Change user password",
"groupTitle": "Users"
},
{
+ "type": "post",
+ "url": "/api/users/create_many",
+ "title": "Create Users",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/users/create_many -d '[{\"name\": \"john.doe\", \"role\": \"user\", \"...\": \"...\"}]' -v -u {name}:{password} -X POST",
+ "type": "json"
+ }
+ ],
+ "name": "bulkCreate",
+ "group": "Users",
+ "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/user/index.js",
+ "groupTitle": "Users"
+ },
+ {
"type": "get",
"url": "/api/users/{id}/avatar",
"title": "Get avatar",
"groupTitle": "Users"
},
{
+ "type": "get",
+ "url": "/api/users/{id}/open_tabs",
+ "title": "Get interactions opened tabs",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/users/{id}/open_tabs -v -u {name}:{password} -X GET",
+ "type": "json"
+ }
+ ],
+ "name": "getOpenTabs",
+ "group": "Users",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/user/index.js",
+ "groupTitle": "Users"
+ },
+ {
+ "type": "get",
+ "url": "/api/users/presence",
+ "title": "Gets agent presence",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/users/presence -v -u {name}:{password} -X GET",
+ "type": "json"
+ }
+ ],
+ "name": "getPresence",
+ "group": "Users",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/user/index.js",
+ "groupTitle": "Users"
+ },
+ {
"type": "put",
"url": "/api/users/{id}",
"title": "Update an existing User",
{
"group": "Body",
"type": "String",
- "optional": false,
+ "optional": true,
"field": "stamp",
"description": ""
}
},
{
"type": "post",
+ "url": "/api/voice/prefixes/{id}/teams",
+ "title": "Add teams to voice prefix",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/voice/prefixes/{id}/teams -d '{\"ids\": [1,2]}' \\ \n -H 'Content-Type: application/json' -v -u {name}:{password} -X POST",
+ "type": "json"
+ }
+ ],
+ "name": "AddTeams",
+ "group": "Voice_Prefix",
+ "description": "<p>Motion will return a HTTP status code <code>201</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/voicePrefix/index.js",
+ "groupTitle": "Voice_Prefix"
+ },
+ {
+ "type": "get",
+ "url": "/api/voice/prefixes/{id}/teams",
+ "title": "Gets voice prefix team",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/voice/prefixes/{id}/teams -v -u {name}:{password} -X GET",
+ "type": "json"
+ }
+ ],
+ "name": "GetTeams",
+ "group": "Voice_Prefix",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success. Motion return a HTTP status code <code>404</code> if the corresponding record could not be located.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/voicePrefix/index.js",
+ "groupTitle": "Voice_Prefix"
+ },
+ {
+ "type": "post",
"url": "/api/voice/prefixes/{id}/users",
"title": "Add agents to a prefix",
"examples": [
"optional": true,
"field": "dialPredictiveIntervalMinThreshold",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "dialPreviewAutoRecallMe",
+ "description": ""
}
]
}
},
{
"group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "userSecondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "userThirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
"type": "Text",
"optional": true,
"field": "location",
},
{
"type": "get",
+ "url": "/api/voice/transfers/reports/describe",
+ "title": "Gets table info about Transfer Reports",
+ "examples": [
+ {
+ "title": "Example usage:",
+ "content": "curl https://{domain}/api/voice/transfers/reports/describe -v -u {name}:{password}",
+ "type": "json"
+ }
+ ],
+ "name": "DescribeTransfer_Reports",
+ "group": "Voice_Transfer_Reports",
+ "description": "<p>Motion will return a HTTP status code <code>200</code> upon success.</p> <p>Motion renders the resulting JSON representation in the response body.</p>",
+ "version": "0.0.0",
+ "filename": "server/api/voiceTransferReport/index.js",
+ "groupTitle": "Voice_Transfer_Reports"
+ },
+ {
+ "type": "get",
"url": "/api/voice/transfers/reports",
"title": "Gets a list of Transfer Reports",
"examples": [
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
},
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
},
{
"type": "post",
- "url": "/api/webbar/hold",
- "title": "hold webrtc call",
+ "url": "/api/webbar/unhold",
+ "title": "unhold webrtc call",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
+ "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
"type": "json"
}
],
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "sessionId",
"description": ""
},
},
{
"type": "post",
- "url": "/api/webbar/unhold",
- "title": "unhold webrtc call",
+ "url": "/api/webbar/hold",
+ "title": "hold webrtc call",
"examples": [
{
"title": "Example usage:",
- "content": "curl https://{domain}/api/webbar/unhold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
+ "content": "curl https://{domain}/api/webbar/hold -d '{\"sessionId\": \"<sessionId>\", \"userId\": 54}' \\\n -H \"Content-Type: application/json\" -X POST",
"type": "json"
}
],
{
"group": "Body",
"type": "String",
- "optional": false,
+ "optional": true,
"field": "sessionId",
"description": ""
},
"optional": false,
"field": "name",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "allowedValues": [
+ "\"first\"",
+ "\"second\"",
+ "\"third\""
+ ],
+ "optional": false,
+ "field": "level",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "description",
+ "description": ""
}
]
}
"group": "Body",
"type": "String",
"optional": true,
+ "field": "secondDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "thirdDisposition",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
"field": "note",
"description": ""
},
"optional": false,
"field": "lastMsgDirection",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Boolean",
+ "optional": true,
+ "field": "autoreplyExecuted",
+ "description": ""
}
]
}
"optional": true,
"field": "secret",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
"optional": true,
"field": "secret",
"description": ""
+ },
+ {
+ "group": "Body",
+ "type": "String",
+ "optional": true,
+ "field": "providerName",
+ "description": ""
+ },
+ {
+ "group": "Body",
+ "type": "Text",
+ "optional": true,
+ "field": "providerResponse",
+ "description": ""
}
]
}
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
},
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",
{
"group": "Body",
"type": "String",
- "optional": true,
+ "optional": false,
"field": "serverUrl",
"description": ""
},
"\"string\"",
"\"variable\"",
"\"customVariable\"",
- "\"keyValue\""
+ "\"keyValue\"",
+ "\"picklist\""
],
"optional": true,
"field": "type",