{"id":73,"date":"2022-10-10T08:36:58","date_gmt":"2022-10-10T05:36:58","guid":{"rendered":"http:\/\/192.168.200.3:8082\/?page_id=73"},"modified":"2026-06-17T13:29:25","modified_gmt":"2026-06-17T10:29:25","slug":"platform-http-api","status":"publish","type":"page","link":"https:\/\/docs.cpaas.mittoapi.net\/?page_id=73","title":{"rendered":"Platform HTTP API"},"content":{"rendered":"\n<h2 id=\"format\" class=\"anchor\">Interaction format<\/h2>\n\n\n\n<p style=\"font-size:15px\">API requests are made over the HTTP protocol. Input and output data structures are transmitted in the request and response body in JSON format.<\/p>\n\n\n\n<h2 id=\"auth\" class=\"anchor\">Authorization<\/h2>\n\n\n\n<p>Most HTTP API calls require authentication and authorization procedures that link API calls to required applications in your account.<\/p>\n\n\n\n<p>To do this, each request must contain a header or an X-Authorization argument with a connection token in the AccessKey token format.<\/p>\n\n\n\n<p>For example, the headline:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>POST \/apps\/activate HTTP\/1.1\nHost: https:\/\/cpaas.mittoapi.net\/api\nX-Authorization: AccessKey d8ac9959r12b43545XXXXX<\/code><\/pre>\n\n\n\n<pre id=\"block-e56e80f8-092a-4bd9-a453-c936df733ea6\" class=\"wp-block-preformatted\">or<\/pre>\n\n\n\n<pre id=\"block-68df9105-678c-4d9b-8b3a-32c457121fa9\" class=\"wp-block-code\"><code>Authorization: Basic d8ac9959r12b43545XXXXX (or Basic base64encoded(username:password))\nand also\nAuthorization: Bearer d8ac9959r12b43545XXXXX<\/code><\/pre>\n\n\n\n<p>X-Authorization is transmitted depending on the HTTP connection settings:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>AccessKey d8ac9959r12b43545XXXXX &#8212; by default<\/td><\/tr><tr><td>Basic d8ac9959r12b43545XXXXX (or Basic base64encoded(username:password))<\/td><\/tr><tr><td>Bearer d8ac9959r12b43545XXXXX<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>either by parameter:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>POST https:\/\/cpaas.mittoapi.net\/api\/apps\/activate?X-Authorization=AccessKey d8ac9959r12b43545XXXXX<\/code><\/pre>\n\n\n\n<p><strong>Request example using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location --request POST 'https:\/\/cpaas.mittoapi.net\/api\/apps\/activate' \\\n--header 'X-Authorization: AccessKey d8ac9959r12b43545XXXXX'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location --request POST 'https:\/\/cpaas.mittoapi.net\/api\/apps\/activate?X-Authorization=AccessKey%d8ac9959r12b43545XXXXX'<\/code><\/pre>\n\n\n\n<h2 id=\"format-quest\" class=\"anchor\">Response format<\/h2>\n\n\n\n<p style=\"font-size:15px\">The JSON scheme of any response contains a string type status parameter with the following values:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Status Value<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>ok<\/td><td>No errors<\/td><\/tr><tr><td>invalidAccessKeyError<\/td><td>Invalid AccessKey<\/td><\/tr><tr><td>requiredJsonError<\/td><td>The request body requires JSON<\/td><\/tr><tr><td>invalidSchemeError<\/td><td>Invalid JSON scheme<\/td><\/tr><tr><td>invalidDataError<\/td><td>Input data error<\/td><\/tr><tr><td>prohibitedForAppError<\/td><td>Prohibited for this application<\/td><\/tr><tr><td>prohibitedForServiceError<\/td><td>Prohibited for this service<\/td><\/tr><tr><td>rpcError<\/td><td>Communication error<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p style=\"font-size:15px\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \u2026\n    \"status\": \"ok\"\n    ...\n}<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">Some GET requests support paginated output. The following parameters are used to control the paginated output<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Parameter<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>page<\/td><td>Requested page number<\/td><\/tr><tr><td>per_page<\/td><td>Number of elements per page<\/td><\/tr><tr><td>disable_pagination<\/td><td>Disable paginated output<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>For example,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GET https:\/\/cpaas.mittoapi.net\/api\/media?page=1&amp;per_page=10<\/code><\/pre>\n\n\n\n<p><strong>Request example using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/media?page=1&amp;per_page=10' \\\n--header 'X-Authorization: AccessKey d8ac9959r12b43545XXXXX'\n\ncurl --location --request POST 'https:\/\/cpaas.mittoapi.net\/api\/media?page=1&amp;per_page=10%3FX-Authorization%3DAccessKey%20d8ac9959r12b43545XXXXX'<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">The response to such a request will contain a pagination json object<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n    \u2026\n    \"pagination\": {\n        \"totalItems\": 2,\n        \"currentPage\": 1,\n        \"totalPages\": 1\n    }\n    ....\n}<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">Where<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Parameter<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>totalItems<\/td><td>Total number of elements<\/td><\/tr><tr><td>currentPage<\/td><td>Page sequence number<\/td><\/tr><tr><td>totalPages<\/td><td>Total number of pages<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"format-query\" class=\"anchor\">Request format<\/h2>\n\n\n\n<h2 id=\"media-management\" class=\"anchor\">Media Library Management<\/h2>\n\n\n\n<p style=\"font-size:15px\">A media library is a hierarchical storage of various user files, resembling a file system. Media library storage objects are files and folders. Files can be divided into folders. The library is accessed using Personal Account or this API.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>Parameter<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>totalItems<\/td><td>Total number of elements<\/td><\/tr><tr><td>currentPage<\/td><td>Page sequence number<\/td><\/tr><tr><td>totalPages<\/td><td>Total number of pages<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"list-objects\" class=\"anchor\">Getting a list of all objects<\/h2>\n\n\n\n<p><strong>Request<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>GET https:\/\/cpaas.mittoapi.net\/api\/media<\/code><\/pre>\n\n\n\n<p><strong>Request example using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/media?X-Authorization=AccessKey%20d8ac9959r12b43545XXXXX'\n\ncurl --location 'https:\/\/cpaas.mittoapi.net\/api\/media' \\\n--header 'X-Authorization: AccessKey d8ac9959r12b43545XXXXX'<\/code><\/pre>\n\n\n\n<p><strong>Response<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n        \"status\":  \"ok\",\n        \"pagination\": {\n            \"totalItems\":  2,\n            \"currentPage\":  1,\n            \"totalPages\":  1\n        },\n        \"media\": &#91;\n            {\n                \"createdDateTime\":  \"2020-02-12 18:09:10\",\n                \"id\":  65,\n                \"name\":  \"Hymns\",\n                \"isFolder\":  1\n            },\n            {\n                \"createdDateTime\":  \"2020-03-04 13:17:47\",\n                \"id\":  74,\n                \"name\":  Sound.mp3\",\n                \"isFolder\":  0\n            }\n        ]\n    }<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">media \u2014 an array of media library objects containing the following parameters:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Parameter<\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>id<\/td><td>Unique identifier of the media resource<\/td><\/tr><tr><td>name<\/td><td>Name<\/td><\/tr><tr><td>createdDateTime<\/td><td>Date\\time of upload<\/td><\/tr><tr><td>isFolder<\/td><td>Indicates that this object is a folder. 1 \u2014 yes, 0 \u2014 no<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"object-receipt\" class=\"anchor\">Getting a specific object<\/h2>\n\n\n\n<p><strong>Request<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>GET https:\/\/cpaas.mittoapi.net\/api\/media\/id<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">where id is the unique identifier of the media resource<\/p>\n\n\n\n<p><strong>Example of requests using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/media\/id?X-Authorization=AccessKey%20d8ac9959r12b43545XXXXX'\n\ncurl --location 'https:\/\/cpaas.mittoapi.net\/api\/media\/id' \\\n--header 'X-Authorization: AccessKey d8ac9959r12b43545XXXXX'<\/code><\/pre>\n\n\n\n<p><strong>Response<\/strong>:<\/p>\n\n\n\n<p style=\"font-size:15px\">A list of attached files is returned for folders<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n        \"status\": \"ok\",\n        \"pagination\": {\n            \"totalPages\": 1,\n            \"totalItems\": 2,\n            \"currentPage\": 1\n        },\n        \"media\": &#91;\n            {\n                \"isFolder\": 0,\n                \"name\": \"Audio1.mp3\",\n                \"createdDateTime\": \"2020-02-12 18:19:05\",\n                \"id\": 67\n            },\n            {\n                \"isFolder\": 0,\n                \"name\": \"Audio2.mp3\",\n                \"createdDateTime\": \"2020-02-12 18:19:18\",\n                \"id\": 68\n            }\n        ]\n    }    <\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">For files, the requested file is returned.<\/p>\n\n\n\n<h2 id=\"folder-creation\" class=\"anchor\">Folder creation<\/h2>\n\n\n\n<p><strong>Request:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>POST https:\/\/cpaas.mittoapi.net\/api\/media<\/code><\/pre>\n\n\n\n<p>Request body:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>    {\n        \"name\": \"asdasd\"\n    }<\/code><\/pre>\n\n\n\n<p><strong>Example of requests using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'hhttps:\/\/cpaas.mittoapi.net\/api\/media' \\\n--header 'X-Authorization: AccessKey d0a72c04168758df39XXXXX' \\\n--header 'Content-Type: application\/json' \\\n--data '{\n   \"name\": \"Folder1\"\n}'\n\ncurl --location 'https:\/\/cpaas.mittoapi.net\/api\/media?X-Authorization=AccessKey%20d0a72c04168758df39XXXXX' \\\n--header 'Content-Type: application\/json' \\\n--data '{\n   \"name\": \"Folder2\"\n}'<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>Parameter<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>name<\/td><td>Folder name<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Response:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n    \"status\": \"ok\",\n     \"media\": {\n      \"name\": \"asdasd\",\n      \"createdDateTime\": \"2020-04-06 18:44:45\",\n      \"isFolder\": 1,\n      \"id\": 111\n     }\n} <\/code><\/pre>\n\n\n\n<h2 id=\"file-upload\" class=\"anchor\">File Upload<\/h2>\n\n\n\n<p><strong>Request:<\/strong><\/p>\n\n\n\n<p>Place the file in the root folder:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>POST https:\/\/cpaas.mittoapi.net\/api\/media<\/code><\/pre>\n\n\n\n<p>Place the file in the specified folder:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>POST https:\/\/cpaas.mittoapi.net\/api\/media\/folder_id<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">The file is passed in the request body via Content-Type: multipart\/form-data<\/p>\n\n\n\n<p><strong>Example of requests using CURL:<\/strong><\/p>\n\n\n\n<p>Place the file in the root folder:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/media?X-Authorization=AccessKey%20d0a72c04168758df39XXXXX' \\\n--form '=@\"\/home\/Downloads\/les.mp3\"'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/media' \\\n--header 'X-Authorization: AccessKey d0a72c04168758df39XXXXX' \\\n--form '=@\"\/home\/Downloads\/les.mp3\"'<\/code><\/pre>\n\n\n\n<p><strong>Place the file in the specified folder:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/media\/12826?X-Authorization=AccessKey%20d0a72c04168758df39XXXXX' \\\n--form '=@\"\/home\/Downloads\/les.mp3\"'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/media\/12826' \\\n--header 'X-Authorization: AccessKey d0a72c04168758df39XXXXX' \\\n--form '=@\"\/home\/Downloads\/les.mp3\"'<\/code><\/pre>\n\n\n\n<p><strong>Response:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n    \"status\": \"ok\",\n    \"media\": {\n     \"name\": \"test\",\n     \"createdDateTime\": \"2020-04-06 18:44:45\",\n     \"isFolder\": 0,\n     \"id\": 112\n    }\n}<\/code><\/pre>\n\n\n\n<h2 id=\"object-renaming\" class=\"anchor\">Object rename<\/h2>\n\n\n\n<h2>Request<\/h2>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>PUT https:\/\/cpaas.mittoapi.net\/api\/media\/id<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\"> where id is the unique identifier of the media resource<\/p>\n\n\n\n<p>Request body:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n   \"name\": \"Test\"\n}<\/code><\/pre>\n\n\n\n<p><strong>Example of requests using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location --request PUT 'https:\/\/cpaas.mittoapi.net\/api\/media\/12826' \\\n--header 'X-Authorization: AccessKey d0a72c04168758df39XXXXX' \\\n--header 'Content-Type: application\/json' \\\n--data '{\n   \"name\": \"Test\"\n}'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location --request PUT 'https:\/\/cpaas.mittoapi.net\/api\/media\/12826?X-Authorization=AccessKey%20d0a72c04168758df39XXXXX' \\\n--header 'Content-Type: application\/json' \\\n--data '{\n   \"name\": \"Test\"\n}'<\/code><\/pre>\n\n\n\n<p><strong>Response:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n    \"status\": \"ok\",\n    \"media\": {\n      \"name\": \"Test\",\n      \"createdDateTime\": \"2020-04-06 18:44:45\",\n      \"isFolder\": 1,\n      \"id\": 111\n    }\n} <\/code><\/pre>\n\n\n\n<h2 id=\"object-removal\" class=\"anchor\">Deleting an object<\/h2>\n\n\n\n<p><strong>Request:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>DELETE https:\/\/cpaas.mittoapi.net\/api\/media\/id<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">where id is the unique identifier of the media resource<\/p>\n\n\n\n<p><strong>Example of requests using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location --request DELETE 'https:\/\/cpaas.mittoapi.net\/api\/media\/12826' \\\n--header 'X-Authorization: AccessKey d0a72c04168758df39XXXXX'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location --request DELETE 'https:\/\/cpaas.mittoapi.net\/api\/media\/12826?X-Authorization=AccessKey%20d0a72c04168758df39XXXXX'<\/code><\/pre>\n\n\n\n<p><strong>Response:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n    \"status\": \"ok\"\n}<\/code><\/pre>\n\n\n\n<h2 id=\"application-management\" class=\"anchor\">Application Management<\/h2>\n\n\n\n<h2 id=\"activating_application\" class=\"anchor anchor-sub\">Application activation<\/h2>\n\n\n\n<p style=\"font-size:15px\">Performs activation of a pre-created application.<\/p>\n\n\n\n<p><strong>Request:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>POST https:\/\/cpaas.mittoapi.net\/api\/apps\/activate<\/code><\/pre>\n\n\n\n<p>Request body:<\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n  \"reference\": \"123456789\",\n  \"sourceAddr\": \"XXXXXXXXXXX\",\n  \"destAddr\": \"XXXXXXXXXXX\",\n  \"gender\": 1,\n  \"volume\": 1,\n  \"language\": \"xx-XX\",\n  \"rate\": 1,\n  \"scenarioData\": \"text=Hello, how are you?\"\n}<\/code><\/pre>\n\n\n\n<p><strong>Example of requests using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/apps\/activate?X-Authorization=AccessKey%20d0a72c04168758df39XXXXX' \\\n--header 'Content-Type: application\/json' \\\n--data '{\n   \"reference\": \"123456789\",\n   \"sourceAddr\": \"7XXXXXXXXXX\",\n   \"destAddr\": \"7XXXXXXXXXX\",\n   \"scenarioData\": \"text=\u0418\u0432\u0430\u043d \u0418\u0432\u0430\u043d\u043e\u0432\u0438\u0447\",\n   \"language\": \"ru-RU\",\n   \"sex\": 1,\n   \"volume\": 2,\n   \"rate\": 4\n}'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/apps\/activate' \\\n--header 'X-Authorization: AccessKey d0a72c04168758df39XXXXX' \\\n--header 'Content-Type: application\/json' \\\n--data '{\n   \"reference\": \"123456789\",\n   \"sourceAddr\": \"7XXXXXXXXXX\",\n   \"destAddr\": \"7XXXXXXXXXX\",\n   \"scenarioData\": \"text=\u0418\u0432\u0430\u043d \u0418\u0432\u0430\u043d\u043e\u0432\u0438\u0447\",\n   \"language\": \"ru-RU\",\n   \"sex\": 1,\n   \"volume\": 2,\n   \"rate\": 4\n}'<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><strong>Parameter<\/strong><\/th><th><strong>Type<\/strong><\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>reference<br>(optional)<\/td><td>string<\/td><td>The user parameter with which the callback will be called based on the results of the application execution<\/td><\/tr><tr><td>sourceAddr<\/td><td>string<\/td><td>Outgoing number<\/td><\/tr><tr><td>destAddr<\/td><td>string<\/td><td>Recipient&#8217;s phone number<\/td><\/tr><tr><td>scenarioData<br>(optional)<\/td><td>string<\/td><td>Script variables for this application. It is a set of parameter=value pairs separated by &#8212; &amp;.<\/td><\/tr><tr><td>gender<br>(optional)<\/td><td>int<\/td><td>Gender. 2 \u2014 female, 1 \u2014 male<\/td><\/tr><tr><td>volume<br>(optional)<\/td><td>int<\/td><td>Voice volume (0-2)<\/td><\/tr><tr><td>rate<br>(optional)<\/td><td>int<\/td><td>The speed of speaking the text (0-4). (0 is the slowest)<\/td><\/tr><tr><td>language<br>(optional)<\/td><td>string<\/td><td>The synthesis language.<br>Available languages:<br>en-US \u2013 English (US)<br>en-IN \u2013 English (Indian)<br>en-IE \u2013 English (Ireland)<br>en-UA \u2013 English (Australian)<br>en-GB-WLS \u2013 English (Welsh)<br>en-NZ \u2013 English (New Zealand)<br>en-ZA \u2013 English (South African)<br>ar-AE \u2013 Arabic (gulf)<br>nl-NL \u2013 Dutch<br>nl-BE \u2013 Dutch (Belgain)<br>da-DK \u2013 Danish<br>is-IS \u2013 Icelandic<br>es-ES \u2013 Spanish (European)<br>es-US \u2013 Spanish (US)<br>es-MX \u2013 Spanish (Mexican)<br>it-IT \u2013 Italian<br>ca-ES \u2013 Catalan<br>cmn-CN \u2013 Chinese (Mandarin)<br>yue-CN \u2013 Chinese (Cantonese)<br>ko-KR \u2013 Korean<br>de-DE \u2013 German<br>de-AT \u2013 German (Austrian)<br>nb-NO \u2013 Norwegian<br>pl-PL \u2013 Polish<br>pt-PT \u2013 Portuguese (European)<br>pt-BR \u2013 Portuguese (Brazillian)<br>ro-RO \u2013 Romanian<br>ru-RU \u2013 Russian<br>tr-TR \u2013 Turkish<br>cy-GB \u2013 Welsh<br>fi-FI \u2013 Finnish<br>fr-FR \u2013 French<br>fi-CA \u2013 French (Canadian)<br>fr-BE \u2013 French (Belgian)<br>sv-SE \u2013 Swedish<br>ja-JP \u2013 Japanese<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Response:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:15px\"><code>{\n    \"status\": \"ok\"\n}<\/code><\/pre>\n\n\n\n<p><strong>If there is an error in sourceAddr:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{<br>    \"status\": \"invalidDataError\",<br>    \"error\": \"Field sourceAddr must not contain Cyrillic\"<br>}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Parameter<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><strong>status<\/strong><\/td><td>string<\/td><td>Request status<\/td><\/tr><tr><td><strong>error<\/strong><\/td><td>string<\/td><td>The sourceAddr field must not contain Cyrillic characters.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Example of a scenario with a variable that is set in the request:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/example.png\"><img decoding=\"async\" width=\"562\" height=\"807\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/example.png\" alt=\"\" class=\"wp-image-4350\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/example.png 562w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2026\/06\/example-209x300.png 209w\" sizes=\"(max-width: 562px) 100vw, 562px\" \/><\/a><\/figure>\n\n\n\n<h2 id=\"application_repeats\" class=\"anchor anchor-sub\">Launching the application with repeats<\/h2>\n\n\n\n<p>Starting the application with repeats is a process that initiates a call, automatically retrying in case of an unsuccessful outcome, such as a busy line, no answer, failed call, or successful response. The repeat settings allow you to define conditions and parameters for each scenario.<\/p>\n\n\n\n<p><strong>Example:<\/strong><\/p>\n\n\n\n<p>If a call to the subscriber fails due to a busy line (repeatBusy), the system automatically retries after the set interval (repeatBusyInt) until the number of attempts (repeatBusyCount) is exhausted.<\/p>\n\n\n\n<p><strong>Request:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>POST https:\/\/cpaas.mittoapi.net\/api\/apps\/activate<\/code><\/pre>\n\n\n\n<p><strong>Request body:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"reference\": \"123456789\",\n  \"sourceAddr\": \"XXXXXXXXXXX\",\n  \"destAddr\": \"XXXXXXXXXXX\",\n\n  \"scenarioData\": \"text=Hello, how are you?\",\n\n  \"isRepeat\": 1,\n  \"repeatBusy\": 1,\n  \"repeatBusyCount\": 10,\n  \"repeatBusyInt\": 30,\n  \"repeatAnswered\": 1,\n  \"repeatAnsweredCount\": 10,\n  \"repeatAnsweredInt\": 35,\n  \"repeatFailed\": 1,\n  \"repeatFailedCount\": 10,\n  \"repeatFailedInt\": 1,\n  \"repeatNoAnswer\": 1,\n  \"repeatNoAnswerCount\": 10,\n  \"repeatNoAnswerInt\": 150\n}<\/code><\/pre>\n\n\n\n<p><strong>Example of requests using CURL:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/apps\/activate' \\\n--header 'X-Authorization: AccessKey d0a72c04168758df39XXXXX' \\\n--header 'Content-Type: application\/json' \\\n--data '{\n   \"reference\": \"123456789\",\n   \"sourceAddr\": \"7XXXXXXXXXX\",\n   \"destAddr\": \"7XXXXXXXXXX\",\n   \"scenarioData\": \"text=\u041f\u0440\u0438\u0432\u0435\u0442, \u043a\u0430\u043a \u0434\u0435\u043b\u0430?\",\n   \"isRepeat\": 1,\n   \"repeatBusy\": 1,\n   \"repeatBusyCount\": 10,\n   \"repeatBusyInt\": 30,\n   \"repeatAnswered\": 1,\n   \"repeatAnsweredCount\": 10,\n   \"repeatAnsweredInt\": 35,\n   \"repeatFailed\": 1,\n   \"repeatFailedCount\": 1,\n   \"repeatFailedInt\": 1,\n   \"repeatNoAnswer\": 1,\n   \"repeatNoAnswerCount\": 10,\n   \"repeatNoAnswerInt\": 150\n}'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>curl --location 'https:\/\/cpaas.mittoapi.net\/api\/apps\/activate?X-Authorization=AccessKey%20d0a72c04168758df39XXXXX' \\\n--header 'Content-Type: application\/json' \\\n--data '{\n   \"reference\": \"123456789\",\n   \"sourceAddr\": \"7XXXXXXXXXX\",\n   \"destAddr\": \"7XXXXXXXXXX\",\n\n   \"scenarioData\": \"text=\u041f\u0440\u0438\u0432\u0435\u0442, \u043a\u0430\u043a \u0434\u0435\u043b\u0430?\",\n  \n   \"isRepeat\": 1,\n   \"repeatBusy\": 1,\n   \"repeatBusyCount\": 10,\n   \"repeatBusyInt\": 30,\n   \"repeatAnswered\": 1,\n   \"repeatAnsweredCount\": 10,\n   \"repeatAnsweredInt\": 35,\n   \"repeatFailed\": 1,\n   \"repeatFailedCount\": 1,\n   \"repeatFailedInt\": 1,\n   \"repeatNoAnswer\": 1,\n   \"repeatNoAnswerCount\": 10,\n   \"repeatNoAnswerInt\": 150\n}'<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Parameters<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>reference<\/td><td>string<\/td><td>The user parameter with which the callback will be called based on the results of the application execution<\/td><\/tr><tr><td>sourceAddr<\/td><td>string<\/td><td>Outgoing number<\/td><\/tr><tr><td>destAddr<\/td><td>string<\/td><td>Recipient&#8217;s phone number<\/td><\/tr><tr><td>scenarioData<\/td><td>string<\/td><td>Script variables for this application. It is a set of parameter=value pairs separated by \u2014 &amp;.<\/td><\/tr><tr><td>isRepeat<\/td><td>int<\/td><td>Repeat permission:<br><sub><sup>0 \u2014 repeats are not made<br>1 \u2014 repeats are made<\/sup><\/sub><\/td><\/tr><tr><td>repeatBusy<\/td><td>int<\/td><td>Repeat on busy number<\/td><\/tr><tr><td>repeatAnswered<\/td><td>int<\/td><td>Repeat on successful answer<\/td><\/tr><tr><td>repeatFailed<\/td><td>int<\/td><td>Repeat on failed call<\/td><\/tr><tr><td>repeatNoAnswer<\/td><td>int<\/td><td>Repeat on no answer<\/td><\/tr><tr><td>repeatBusyCount,<br>repeatAnsweredCount,<br>repeatFailedCount,<br>repeatNoAnswerCount<\/td><td>int<\/td><td>Number of repeats<\/td><\/tr><tr><td>repeatBusyInt,<br>repeatAnsweredInt,<br>repeatFailedInt,<br>repeatNoAnswerInt<\/td><td>int<\/td><td>Repeat call interval (in seconds)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2>Response<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"status\": \"ok\",\n    \"requestId\": \"37b873131de218352d63f980cb71b41b\"\n}<\/code><\/pre>\n\n\n\n<p style=\"font-size:15px\">During application execution, callbacks can be configured over the HTTP\/HTTPS protocol. Callback is configured for two types of events \u2014 Start of execution (Start callback) and end of execution (End callback). Basic authorization is supported. Parameters are passed to the request URL.<\/p>\n\n\n\n<p>See the callback versions and what methods are used in them <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=3783\">here<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/1-1.png\"><img decoding=\"async\" width=\"760\" height=\"691\" src=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/1-1.png\" alt=\"\" class=\"wp-image-2485\" srcset=\"https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/1-1.png 760w, https:\/\/docs.cpaas.mittoapi.net\/wp-content\/uploads\/2023\/07\/1-1-300x273.png 300w\" sizes=\"(max-width: 760px) 100vw, 760px\" \/><\/a><\/figure>\n\n\n\n<p style=\"font-size:15px\">Example,<br>GET www.host.ru?type=startCallback&amp;reference=324234<\/p>\n\n\n\n<p style=\"font-size:15px\">Parameters passed to the startCallback<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Parameter<\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>reference<\/td><td>User parameter passed in the activation request<\/td><\/tr><tr><td>type<\/td><td>The type of callback request, in this case \u2014 startCallback<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p style=\"font-size:15px\">Parameters passed to endCallback<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Parameter<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>reference<\/td><td>User parameter passed in the activation request<\/td><\/tr><tr><td>type<\/td><td>The type of callback request, in this case \u2014 endCallback<\/td><\/tr><tr><td>state<\/td><td>Application execution result<\/td><\/tr><tr><td>error<\/td><td>Error code, or 0 \u2014 in case of successful execution<\/td><\/tr><tr><td>duration<\/td><td>Duration of the call<\/td><\/tr><tr><td>appKey<\/td><td>The API key of the application<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p style=\"font-size:15px\">where, state is the result of script execution<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th><strong>Value<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>STATE_OK<\/td><td>2<\/td><td>Application completed successfully<\/td><\/tr><tr><td>STATE_ERR<\/td><td>5<\/td><td>Error as a result of execution<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p style=\"font-size:15px\">error \u2014 error code<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th><\/th><th><strong>Value<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>ERR_NO_ANSWER<\/td><td>16<\/td><td>The subscriber did not pick up the phone, attempts to dial are exhausted<\/td><\/tr><tr><td>ERR_BUSY<\/td><td>17<\/td><td>The subscriber is busy, dial-up attempts have been exhausted<\/td><\/tr><tr><td>ERR_ALERTING<\/td><td>19<\/td><td>The subscriber is unavailable<\/td><\/tr><tr><td>ERR_CONGESTION<\/td><td>34<\/td><td>Overload of communication channels<\/td><\/tr><tr><td>ERR_PLAY<\/td><td>1001<\/td><td>File playback error, file not found, invalid format<\/td><\/tr><tr><td>ERR_TTS<\/td><td>1002, 1017<\/td><td>TTS Conversion Error<\/td><\/tr><tr><td>ERR_ASR<\/td><td>1003<\/td><td>ASR Conversion error<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"errors\" class=\"anchor\">Script execution error codes<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Error value<\/th><th>Error<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>1001<\/td><td>SCENARIO_NOT_FOUND<\/td><td>An internal script execution error<br><sub>indicates that the script that should have been executed does not exist or cannot be found<\/sub><\/td><\/tr><tr><td>1002<\/td><td>SCENARIO_JSON_PARSER_ERROR<\/td><td>An internal Json script parsing error<br><sub>can occur if the script has incorrect syntax or structure<\/sub><\/td><\/tr><tr><td>1003<\/td><td>SCENARIO_VAR_ID_ERROR<\/td><td>An internal error in parsing script variables<br><sub>may indicate problems with variable identification (not used)<\/sub><\/td><\/tr><tr><td>1004<\/td><td>SCENARIO_VAR_NAME_ERROR<\/td><td>Indicates problems with variable names in the script<br><sub>may be caused by an incorrect or missing variable name (not used)<\/sub><\/td><\/tr><tr><td>1005<\/td><td>TRUNK_NOT_FOUND<\/td><td>The trunk cannot be found according to the specified routing rules<br><sub>may be caused by incorrect routing settings or the absence of the required trunk<\/sub><\/td><\/tr><tr><td>1006<\/td><td>REDIRECT_TRUNK_NOT_FOUND<\/td><td>The trunk cannot be found according to the specified routing rules when forwarding a call<br><sub>may occur due to errors in the forwarding settings<\/sub><\/td><\/tr><tr><td>1007<\/td><td>MODIFIERS_ERROR<\/td><td>The error of the call modifiers<br><sub>indicates that the values of sourceAddr, destAddr, trunk Data were incorrectly changed for this call<\/sub><\/td><\/tr><tr><td>1008<\/td><td>REDIRECT_MODIFIERS_ERROR<\/td><td>Call modifiers error during forwarding<br><sub>the values of source Addr, dest Addr, trunk Data were incorrectly changed for call forwarding<\/sub><\/td><\/tr><tr><td>1009<\/td><td>CHANNEL_CREATION_ERROR<\/td><td>An error that occurs when creating a communication channel transmitted from Asterisk<br><sub>may be caused by problems with the configuration or resources of the system<\/sub><\/td><\/tr><tr><td>1010<\/td><td>REDIRECT_CHANNEL_CREATION_ERROR<\/td><td>An error when creating a forwarding channel<br><sub>indicates problems with creating a channel for a forwarded call<\/sub><\/td><\/tr><tr><td>1011<\/td><td>REDIRECT_BRIDGE_CREATION_ERROR<\/td><td>An error creating a conference bridge during forwarding transmitted from Asterisk<br><sub>a bridge cannot be created to connect multiple call participants<\/sub><\/td><\/tr><tr><td>1012<\/td><td>REDIRECT_ADDING_SOURCE_CHANNEL_TO_BRIDGE_ERROR<\/td><td>Error when adding a forwarded call channel to the bridge, transmitted from Asterisk<br>the original channel cannot be correctly added to the bridge<\/td><\/tr><tr><td>1013<\/td><td>REDIRECT_ADDING_DEST_CHANNEL_TO_BRIDGE_ERROR<\/td><td>Error when adding the channel to which calls are forwarded to the bridge transmitted from Asterisk<\/td><\/tr><tr><td>1014<\/td><td>INCOMING_CALL_ANSWER_ERROR<\/td><td>Occurs if the call was dropped before the script execution started, because the channel no longer existed<br><sub>when the incoming call was answered with an error from Asterisk<\/sub><\/td><\/tr><tr><td>1015<\/td><td>PLAYBACK_START_ERROR<\/td><td>The error when playing to the channel comes from Asterisk<\/td><\/tr><tr><td>1016<\/td><td>RECORD_START_ERROR<\/td><td>The error when writing from the channel comes from Asterisk<\/td><\/tr><tr><td>1017<\/td><td>TTS_FAULT<\/td><td>A speech synthesis error transmitted from the app-TTS<br>application<br><sub>may be caused by problems with speech synthesis or incorrect data for synthesis<\/sub><\/td><\/tr><tr><td>1018<\/td><td>WRONG_DATA_IN_REQUEST<\/td><td>Request data parsing error<br><sub>indicates incorrect or missing data in the request<\/sub><\/td><\/tr><tr><td>1019<\/td><td>NUMBER_NOT_FOUND_IN_POOL_BY_ENDING<\/td><td>Selecting a number from the pool at the end of the number for FlashCall<br><sub>it may be caused by the absence of the corresponding number in the pool<\/sub><\/td><\/tr><tr><td>1020<\/td><td>INTERFACE_NAME_EMPTY_ERROR<\/td><td>Error when selecting a trunk<br><sub>indicates incorrect or missing trunk configuration data<\/sub><\/td><\/tr><tr><td>1021<\/td><td>REDIRECT_INTERFACE_NAME_EMPTY_ERROR<\/td><td>An error when selecting a trunk for forwarding due to the absence of an interface name<br><sub>indicates incorrect or missing trunk configuration data<\/sub><\/td><\/tr><tr><td>0<\/td><td>Call sent to void<\/td><td>The completion of a normal scenario<br><sub>indicates that the call has completed normally, without any problems or errors<\/sub><\/td><\/tr><tr><td>1<\/td><td>Unallocated<\/td><td>It can happen when the requested resource does not exist or is currently unavailable<\/td><\/tr><tr><td>4-5<\/td><td>Vendor specific 4-5<\/td><td>Vendor-specific error<br><sub>the specific error value depends on the hardware or service provider<\/sub><\/td><\/tr><tr><td>6<\/td><td>Channel unaccessible<\/td><td>The channel is unavailable<br><sub>indicates that the communication channel required for the call is unavailable<\/sub><\/td><\/tr><tr><td>9-13<\/td><td>Vendor specific 9-13<\/td><td>Vendor-specific error<br><sub>the specific error value depends on the hardware or service provider<\/sub><\/td><\/tr><tr><td>16<\/td><td>Normal Clearing<\/td><td>Normal termination<br><sub>the call is completed on the initiative of one of the parties (subscriber or operator) without errors<\/sub><\/td><\/tr><tr><td>17<\/td><td>Line busy<\/td><td>The user is busy<br><sub>the number of the called party is busy and the call cannot be completed<\/sub><\/td><\/tr><tr><td>18<\/td><td>No user response<\/td><td>No response from the user<br><sub>the called party does not answer the call during the set waiting time<\/sub><\/td><\/tr><tr><td>19<\/td><td>No answer<\/td><td>The user was notified, but did not answer<br><sub>the subscriber was notified of an incoming call (for example, the phone rang), but did not accept it<\/sub><\/td><\/tr><tr><td>20<\/td><td>Subscriber absent<\/td><td>Missing subscriber<br><sub>indicates that the called subscriber is temporarily unavailable<\/sub><\/td><\/tr><tr><td>21<\/td><td>Call Rejected<\/td><td>The call is rejected<br><sub>the called party intentionally rejected the incoming call<\/sub><\/td><\/tr><tr><td>22<\/td><td>Number changed<\/td><td>The number has been changed<\/td><\/tr><tr><td>27<\/td><td>Destination out of order<\/td><td>The purpose of the call is out of service<br><sub>the end equipment or network of the called party is not working or unavailable<\/sub><\/td><\/tr><tr><td>28<\/td><td>Invalid number format<\/td><td>Incorrect number format<br><sub>the entered phone number has an incorrect format and cannot be recognized by the network<\/sub><\/td><\/tr><tr><td>29<\/td><td>Facility rejected<\/td><td>Feature rejected<br><sub>the requested service or feature is not supported or rejected by the network<\/sub><\/td><\/tr><tr><td>31<\/td><td>Normal unspecified<\/td><td>The usual unspecified<br><sub>the call ended for the usual reason, which was not explicitly stated<\/sub><\/td><\/tr><tr><td>32<\/td><td>(Reserved)<\/td><td>Reserved for future use<\/td><\/tr><tr><td>34<\/td><td>No circuit available<\/td><td>Circuit\/channel overload<br><sub>there is an overload in the network and the call cannot be processed<\/sub><\/td><\/tr><tr><td>36<\/td><td>Out of order<\/td><td>Faulty<br><sub>indicates that the equipment or line is not working properly<\/sub><\/td><\/tr><tr><td>38<\/td><td>Network out of order<\/td><td>The network is not working<br><sub>there has been a network outage, which makes it impossible to end the call<\/sub><\/td><\/tr><tr><td>43<\/td><td>Access disconnect<\/td><td>Disabling access<br><sub>indicates that network access has been disabled<\/sub><\/td><\/tr><tr><td>58<\/td><td>Bearer capability not available<\/td><td>Load-bearing capacity is not available<\/td><\/tr><tr><td>98<\/td><td>Blacklist<\/td><td>Indicates that the call was blocked because the number is on the blacklist<\/td><\/tr><tr><td>99<\/td><td>Vad avtoinformator error<\/td><td>Indicates that the call was processed by the auto-informer<\/td><\/tr><tr><td>100<\/td><td>InvalidIe contents<\/td><td>Invalid IE content (Information Element)<br><sub>indicates an error in the information passed in the element<\/sub><\/td><\/tr><tr><td>102<\/td><td>Recover on timer expiry<\/td><td>Recovery after the timer expires<\/td><\/tr><tr><td>127<\/td><td>Failure<\/td><td>Interaction\/not specified<\/td><\/tr><tr><td>199<\/td><td>Transaction abort<\/td><td>Abort a transaction<br><sub>the transaction was aborted for some reason<\/sub><\/td><\/tr><tr><td>200<br><\/td><td>No translation for address of such nature<\/td><td>It may be due to the fact that the address is invalid, non-existent or not recognized by the system<\/td><\/tr><tr><td>201<\/td><td>No translation for this specific address<\/td><td>There is no conversion for this particular address<br><sub>indicates that there is no routing or conversion for the specified address<\/sub><\/td><\/tr><tr><td>212<\/td><td>Hop counter violation<\/td><td>Violation of the traffic counter<br><sub>indicates that the allowed number of clicks in the network has been exceeded<\/sub><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"check-balance\" class=\"anchor\">Balance check<\/h2>\n\n\n\n<h2>Request<\/h2>\n\n\n\n<p style=\"font-size:15px\">GET https:\/\/cpaas.mittoapi.net\/api\/balance<\/p>\n\n\n\n<p>Displays a personal account and its balance in JSON format. The personal account is displayed as the one on which the application is located, the key for which is specified in the request authorization<\/p>\n\n\n\n<h2>Response<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>     {\n        \"personalAccountId\": \"0000000000\",\n        \"balance\": \"100.0\"\n     }<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Interaction format API requests are made over the HTTP protocol. Input and output data structures are transmitted in the request and response body in JSON format. Authorization Most HTTP API calls require authentication and authorization procedures that link API calls to required applications in your account. To do this, each request must contain a header <a href=\"https:\/\/docs.cpaas.mittoapi.net\/?page_id=73\" class=\"more-link\">&#8230;<span class=\"screen-reader-text\">  Platform HTTP API<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":9,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"tpl\/http-content.php","meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/73"}],"collection":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73"}],"version-history":[{"count":67,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/73\/revisions"}],"predecessor-version":[{"id":4346,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/73\/revisions\/4346"}],"up":[{"embeddable":true,"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=\/wp\/v2\/pages\/9"}],"wp:attachment":[{"href":"https:\/\/docs.cpaas.mittoapi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}