{"info":{"_postman_id":"264e55b2-7cbb-4f10-8b82-7fd04e6ed7a7","name":"Asanak Call API Service","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"45759202","collectionId":"264e55b2-7cbb-4f10-8b82-7fd04e6ed7a7","publishedId":"2sB34Zq3mN","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-06-30T11:48:58.000Z"},"item":[{"name":"upload voice file","id":"ea2217c2-1335-44fa-8b53-0bec6d47ae09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"USERNAME","type":"text"},{"key":"password","value":"PASSWORD","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Music/beep-01a.mp3"}]},"url":"https://callapi.asanak.com/v1/upload/voice","urlObject":{"path":["v1","upload","voice"],"host":["https://callapi.asanak.com"],"query":[],"variable":[]}},"response":[{"id":"1f61de4d-3173-43ad-9484-afadca738127","name":"200 - ok","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"1111","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Music/beep-01a.mp3"}]},"url":"https://callapi.asanak.com/v1/upload/voice"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:01:58 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"74"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"voice_bef30d09683411e6c0ccd\",\n    \"success\": true,\n    \"duration\": \"0.99275 s\"\n}"},{"id":"1ac3a802-3686-4585-9336-9c36d70b538d","name":"400 - no file","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"1111","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Music/beep-01a.mp3","disabled":true}]},"url":"https://callapi.asanak.com/v1/upload/voice"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:10:04 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"60"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No file uploaded or upload error\",\n    \"success\": false\n}"},{"id":"99514c90-ef4b-4a76-9fda-3ce875400064","name":"401 - auth","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"11113","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Music/beep-01a.mp3"}]},"url":"https://callapi.asanak.com/v1/upload/voice"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:36:25 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Authentication failed\",\n    \"success\": false\n}"},{"id":"a818b651-413d-4ac6-b49c-b0441bc50079","name":"413 - limit duration","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"1111","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Music/Omadam Az Rasht Omadam.mp3"}]},"url":"https://callapi.asanak.com/v1/upload/voice"},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:13:32 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"76"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"File limit duration, max durations is 1 seconds.\",\n    \"success\": false\n}"},{"id":"3748c855-4210-464b-b0e4-07919fea2440","name":"413 - file size","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"1111","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Music/Omadam Az Rasht Omadam.mp3"}]},"url":"https://callapi.asanak.com/v1/upload/voice"},"status":"Request Entity Too Large","code":413,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:11:17 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"42"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"File too large\",\n    \"success\": false\n}"},{"id":"344a7fab-241d-4e62-97e4-9f9e237cb787","name":"415 - invalid file","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"1111","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Pictures/5e328619bd23a25974a4fc8d_Orange background2 (9).jpg"}]},"url":"https://callapi.asanak.com/v1/upload/voice"},"status":"Unsupported Media Type","code":415,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:10:35 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"51"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Invalid audio file type\",\n    \"success\": false\n}"},{"id":"5185745c-8f4f-41bd-9b35-4b9f40460b61","name":"429 - file limit","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"1111","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Music/Omadam Az Rasht Omadam.mp3"}]},"url":"https://callapi.asanak.com/v1/upload/voice"},"status":"Too Many Requests","code":429,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:11:59 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"46"},{"key":"Keep-Alive","value":"timeout=5, max=248"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"File limit reached\",\n    \"success\": false\n}"},{"id":"0174724a-a615-460d-a9dd-0eabd8b899ff","name":"500 - error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"1111","type":"text"},{"key":"file","type":"file","src":"/C:/Users/Sazgar/Music/Omadam Az Rasht Omadam.mp3"}]},"url":"https://callapi.asanak.com/v1/upload/voice"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:14:56 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Internal Server Error\",\n    \"success\": false\n}"}],"_postman_id":"ea2217c2-1335-44fa-8b53-0bec6d47ae09"},{"name":"get voice file list","id":"c056eb6b-e042-420a-bdd8-daf0260b3de0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/call/voice-list","urlObject":{"path":["v1","call","voice-list"],"host":["https://callapi.asanak.com"],"query":[],"variable":[]}},"response":[{"id":"69d7ee14-2087-4724-b348-f07ceb3d2632","name":"200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/call/voice-list"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"filename\": \"string\",\n            \"duration\": \"float\"\n        }\n    ],\n    \"error\": \"\"\n}"},{"id":"e394228c-bd12-40f7-b25f-82db3a3cf0ff","name":"401","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/call/voice-list"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"error\": \"Authentication failed\",\r\n    \"success\": false\r\n}"},{"id":"dc27a0d2-00b4-4505-9cf3-8d14799e37d8","name":"403","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/call/voice-list"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"User is not active\",\n    \"success\": false\n}"},{"id":"ca5b3a3b-2b98-4a9e-a9ba-5480b9ecbdef","name":"500","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/call/voice-list"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": \"Internal Server Error\",\r\n    \"success\": false\r\n}"}],"_postman_id":"c056eb6b-e042-420a-bdd8-daf0260b3de0"},{"name":"call by otp","id":"2238188f-8ed3-46d6-a382-87822f53c523","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\",\r\n    \"code\":\"OTP_CODE\",\r\n    \"destination\": \"09121234567\"\r\n}"},"url":"https://callapi.asanak.com/v1/call/otp","urlObject":{"path":["v1","call","otp"],"host":["https://callapi.asanak.com"],"query":[],"variable":[]}},"response":[{"id":"d12b14ab-e0c6-4bac-b466-87c146d89a9a","name":"200 - ok","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user1","type":"text"},{"key":"password","value":"1234","type":"text"},{"key":"code","value":"14852","type":"text"},{"key":"destination","value":"09125658060","type":"text"}]},"url":"https://callapi.asanak.com/v1/call/otp"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:08:06 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"93"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"call_id\": \"20250526a0603d28c975823ef39bf4624daa3504d097f751d10303ad581707cb\"\n}"},{"id":"746d5b5a-0756-4cf1-a65d-1af242f465fa","name":"400 - validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user1","type":"text"},{"key":"password","value":"1234","type":"text"},{"key":"code","value":"14852","type":"text","disabled":true},{"key":"destination","value":"09125658060","type":"text"}]},"url":"https://callapi.asanak.com/v1/call/otp"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:17:06 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"77"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Code parameter is required and must valid number.\",\n    \"success\": false\n}"},{"id":"a14c4a4b-8df1-4ea1-be4d-b9c0f6f2c76c","name":"400 - validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user1","type":"text"},{"key":"password","value":"1234","type":"text"},{"key":"code","value":"14852121","type":"text"},{"key":"destination","value":"09125658060","type":"text"}]},"url":"https://callapi.asanak.com/v1/call/otp"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:17:55 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"78"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Code parameter should not be longer than 6 digits.\",\n    \"success\": false\n}"},{"id":"d42b6f2f-725f-496b-bf17-5068bf02852a","name":"400 - validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user1","type":"text"},{"key":"password","value":"1234","type":"text"},{"key":"code","value":"1234","type":"text"},{"key":"destination","value":"09125658060","type":"text","disabled":true}]},"url":"https://callapi.asanak.com/v1/call/otp"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:34:07 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"67"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Destination number is not valid mobile.\",\n    \"success\": false\n}"},{"id":"7cb35b2e-e10b-4d25-a4d4-caf67b3ba4a0","name":"401 - auth","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user1","type":"text"},{"key":"password","value":"12341","type":"text"},{"key":"code","value":"1234","type":"text"},{"key":"destination","value":"09125658060","type":"text"}]},"url":"https://callapi.asanak.com/v1/call/otp"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:36:00 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Authentication failed\",\n    \"success\": false\n}"},{"id":"d3d39a89-083b-47e9-ae8d-853be18df801","name":"500 - error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user1","type":"text"},{"key":"password","value":"1234","type":"text"},{"key":"code","value":"1234","type":"text"},{"key":"destination","value":"09125658060","type":"text"}]},"url":"https://callapi.asanak.com/v1/call/otp"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:40:16 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Internal Server Error\",\n    \"success\": false\n}"}],"_postman_id":"2238188f-8ed3-46d6-a382-87822f53c523"},{"name":"call by voice file","id":"7ad79f33-ca86-4fad-a952-e26748a32bc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\",\r\n    \"file_id\":\"FILE_ID\",\r\n    \"destination\": \"DESTINATIONS\"\r\n}"},"url":"https://callapi.asanak.com/v1/call/voice-file","urlObject":{"path":["v1","call","voice-file"],"host":["https://callapi.asanak.com"],"query":[],"variable":[]}},"response":[{"id":"9788e1d9-b30e-4704-8867-ca3b5f0d2616","name":"200 - ok","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"multipart/form-data","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"username","value":"user3","type":"text"},{"key":"password","value":"1111","type":"text"},{"key":"file_id","value":"voice_bef30d09683411e6c0ccd","type":"text"},{"key":"destination[]","value":"09121002030","type":"text"},{"key":"destination[]","value":"09152363485","type":"text"}]},"url":"http://apicallservice.test/v1/call/voice-file"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 07:02:14 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"162"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"call_id\": [\n        \"202505263202c51b4191389bb657ead650079f0cad5717b6189a99b79ea17294\",\n        \"20250526c66b4abcc63daae3899943b0fa251c2957e6b73024a32321a0f672fd\"\n    ]\n}"},{"id":"92cedb2e-28fd-4d0d-a112-9139bc69b3d9","name":"400 - validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"file_id\":\"\",\r\n    \"destination\": \"09121234567, 09121234568\"\r\n}"},"url":"https://callapi.asanak.com/v1/call/voice-file"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 08:05:24 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"File parameter is required.\",\n    \"success\": false\n}"},{"id":"571d5c90-da50-49b9-bba2-641bf29c5b39","name":"400 - validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"file_id\":\"voice_6834107f3be5b\",\r\n    \"destination\": \"\"\r\n}"},"url":"https://callapi.asanak.com/v1/call/voice-file"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 08:06:14 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"67"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Destination number is not valid mobile.\",\n    \"success\": false\n}"},{"id":"bea16a97-3ea2-42a8-8260-b51315618502","name":"400 - validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"file_id\":\"voice_6834107f3be5b33\",\r\n    \"destination\": \"09121234567, 09121234568\"\r\n}"},"url":"https://callapi.asanak.com/v1/call/voice-file"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 08:07:00 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"File id is not valid.\",\n    \"success\": false\n}"},{"id":"ddf0922f-c167-4cb3-83d8-b5c0c916688f","name":"401 - auth","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"12345\",\r\n    \"file_id\":\"voice_6834107f3be5b\",\r\n    \"destination\": \"09121234567, 09121234568\"\r\n}"},"url":"https://callapi.asanak.com/v1/call/voice-file"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 08:06:37 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Authentication failed\",\n    \"success\": false\n}"},{"id":"3f420fc9-e50e-4e74-b372-f2ad2ec76df6","name":"500 - error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"file_id\":\"voice_6834107f3be5b33\",\r\n    \"destination\": \"09121234567, 09121234568\"\r\n}"},"url":"https://callapi.asanak.com/v1/call/voice-file"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 08:10:08 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Internal Server Error\",\n    \"success\": false\n}"}],"_postman_id":"7ad79f33-ca86-4fad-a952-e26748a32bc8"},{"name":"report call status","id":"5785a2c7-1ea4-46c9-931e-3923d445b377","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\",\r\n    \"call_id\":\"CALL_ID\"\r\n}"},"url":"https://callapi.asanak.com/v1/report/callstatus","urlObject":{"path":["v1","report","callstatus"],"host":["https://callapi.asanak.com"],"query":[],"variable":[]}},"response":[{"id":"13566f38-125a-4057-973a-c2a7da271e71","name":"200 - ok","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"call_id\":\"20250527b169f36bd56f7aee06ea1d503063d248daf5ce099fa51ea1c25b5e38,20250526a0603d28c975823ef39bf4624daa3504d097f751d10303ad581707cb\"\r\n}"},"url":"https://callapi.asanak.com/v1/report/callstatus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 May 2025 13:30:48 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"37"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"report\": [\n        1000,\n        1000\n    ]\n}"},{"id":"7bc69cc0-d3c5-4e08-b969-3980026a01e6","name":"200 - invalid","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"call_id\":\"test\"\r\n}"},"url":"https://callapi.asanak.com/v1/report/callstatus"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 May 2025 13:33:17 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"32"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"report\": [\n        1004\n    ]\n}"},{"id":"c5561933-69ca-45e2-a9e7-3220782d3001","name":"400 - validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\"\r\n}"},"url":"https://callapi.asanak.com/v1/report/callstatus"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 May 2025 13:35:30 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"58"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"call_id parameter is required.\",\n    \"success\": false\n}"},{"id":"5a507a8f-104b-4c8f-8d50-5042984dc207","name":"400 - validation","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"call_id\":\"\"\r\n}"},"url":"https://callapi.asanak.com/v1/report/callstatus"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 May 2025 13:35:55 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"54"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"call_id list is not valid.\",\n    \"success\": false\n}"},{"id":"cbf29418-a3ad-41f9-b608-30d6c30e5b9b","name":"401 - auth","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"12345\",\r\n    \"file_id\":\"voice_6834107f3be5b\",\r\n    \"destination\": \"09121234567, 09121234568\"\r\n}"},"url":"https://callapi.asanak.com/v1/report/callstatus"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 08:06:37 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Authentication failed\",\n    \"success\": false\n}"},{"id":"ee952987-c372-46ee-b688-8227f414da85","name":"403 - account","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"call_id\":\"\"\r\n}"},"url":"https://callapi.asanak.com/v1/report/callstatus"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 27 May 2025 13:37:09 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"46"},{"key":"Keep-Alive","value":"timeout=5, max=250"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"User is not active\",\n    \"success\": false\n}"},{"id":"b4d6e26e-d071-4be7-846a-f47c21174868","name":"500 - error","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"user1\",\r\n    \"password\":\"1234\",\r\n    \"file_id\":\"voice_6834107f3be5b33\",\r\n    \"destination\": \"09121234567, 09121234568\"\r\n}"},"url":"https://callapi.asanak.com/v1/report/callstatus"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 May 2025 08:10:08 GMT"},{"key":"Server","value":"Apache/2.4.54 (Win64) OpenSSL/1.1.1l PHP/7.4.26"},{"key":"X-Powered-By","value":"PHP/7.4.26"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"close"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Internal Server Error\",\n    \"success\": false\n}"}],"_postman_id":"5785a2c7-1ea4-46c9-931e-3923d445b377"},{"name":"get credit","id":"f46e7d2b-8e2a-42e1-9cf1-3f1ba8bd5c3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/report/credit","urlObject":{"path":["v1","report","credit"],"host":["https://callapi.asanak.com"],"query":[],"variable":[]}},"response":[{"id":"9e49ac67-29ac-41d7-91a3-d29fc3fd5f5e","name":"200","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/report/credit"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n  \"success\": true,\r\n  \"credit\": 124390700,\r\n  \"error\": \"\"\r\n}"},{"id":"bf3155fd-8dbc-46aa-b6db-1d8554c18d7f","name":"401","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/report/credit"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\r\n    \"error\": \"Authentication failed\",\r\n    \"success\": false\r\n}"},{"id":"ab082c78-9af4-4296-ab52-9e7b634dd8cd","name":"403","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/report/credit"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"User is not active\",\n    \"success\": false\n}"},{"id":"9ae106d3-3dd0-4126-8244-efac6c70890b","name":"500","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"USERNAME\",\r\n    \"password\":\"PASSWORD\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://callapi.asanak.com/v1/report/credit"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"error\": \"Internal Server Error\",\r\n    \"success\": false\r\n}"}],"_postman_id":"f46e7d2b-8e2a-42e1-9cf1-3f1ba8bd5c3e"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"a0851be3-4e75-4949-ba76-99be9ae1132c"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"95f9457f-8055-4fcd-90a0-9a6b0dfe9695"}}],"variable":[{"key":"API_BASE_URL","value":"https://callapi.asanak.com","type":"default"}]}