{"id":143,"date":"2023-01-12T10:54:49","date_gmt":"2023-01-12T03:54:49","guid":{"rendered":"https:\/\/voicecloud.vn\/knowledgebase\/?post_type=docs&#038;p=143"},"modified":"2025-01-08T10:58:47","modified_gmt":"2025-01-08T03:58:47","slug":"document-api","status":"publish","type":"docs","link":"https:\/\/wiki.voicecloud.vn\/?docs=document-api","title":{"rendered":"Document API"},"content":{"rendered":"\n<p>CRM s\u1ebd thi\u1ebft k\u1ebf link Webhook theo d\u1ea1ng URL ho\u1eb7c JSON \u0111\u1ec3 nh\u1eadn API :<\/p>\n\n\n\n<p>D\u01b0\u1edbi \u0111\u00e2y l\u00e0 c\u00e1c v\u00ed d\u1ee5 theo d\u1ea1ng URL tham kh\u1ea3o :<br><\/p>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">CU\u1ed8C G\u1eccI \u0110\u1ebeN<\/h1>\n\n\n\n<p>Khi c\u00f3 cu\u1ed9c g\u1ecdi v\u00e0o t\u1ed5ng \u0111\u00e0i s\u1ebd \u0111\u1ed5 chu\u00f4ng t\u1edbi m\u00e1y nh\u00e2n vi\u00ean (v\u00ed d\u1ee5 extension 101) :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\nhttps:\/\/{CRM_URL}\/api\/callcenter\/call_in?phone=0938363739&amp;queue=999&amp;extension=101&amp;callid=5e012a75-121b-4c10-bdb4-c4b235b6a677&amp;event=ANSWER&amp;did=19002028\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3:<\/p>\n\n\n\n<ol>\n<li>{CRM_URL} : Do CRM cung c\u1ea5p&nbsp;<\/li>\n\n\n\n<li>phone : S\u1ed1 \u0111i\u1ec7n tho\u1ea1i g\u1ecdi \u0111\u1ebfn<\/li>\n\n\n\n<li>queue : Nh\u00f3m tr\u1ef1c c\u1ee7a s\u1ed1 n\u1ed9i b\u1ed9 ( N\u1ebfu C\u00f3 )<\/li>\n\n\n\n<li>extension : S\u1ed1 n\u1ed9i b\u1ed9 c\u1ee7a agent<\/li>\n\n\n\n<li>callid : ID c\u1ee7a cu\u1ed9c g\u1ecdi<\/li>\n\n\n\n<li>event : Tr\u1ea1ng th\u00e1i cu\u1ed9c g\u1ecdi ( RING, ANSWER )<\/li>\n\n\n\n<li>did : S\u1ed1 \u0111i\u1ec7n tho\u1ea1i t\u1ed5ng \u0111\u00e0i<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\"><span style=\"font-size: 14pt;\">&nbsp;<\/span>K\u1ebeT TH\u00daC CU\u1ed8C G\u1eccI<\/h1>\n\n\n\n<p>\u0110\u00e2y l\u00e0 s\u1ef1 ki\u1ec7n b\u00e1o cho CRM bi\u1ebft l\u00e0 k\u1ebft th\u00fac cu\u1ed9c g\u1ecdi :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{CRM_URL}\/api\/callcenter\/hangup?callid=5e012a75-121b-4c10-bdb4-c4b235b6a677\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{CRM_URL} : do CRM cung c\u1ea5p<\/li>\n\n\n\n<li>callid : ID c\u1ee7a cu\u1ed9c g\u1ecdi<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">&nbsp;TH\u00d4NG TIN CU\u1ed8C G\u1eccI<\/h1>\n\n\n\n<p>Khi k\u1ebft th\u00fac cu\u1ed9c g\u1ecdi th\u00ec t\u1ed5ng \u0111\u00e0i c\u00f3 th\u1ec3 tr\u1ea3 v\u1ec1 th\u00f4ng tin chi ti\u1ebft cu\u1ed9c g\u1ecdi :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{CRM_URL}\/api\/callcenter\/calldata?callid=5e012a75-121b-4c10-bdb4-c4b235b6a677&amp;calldate=2024-03-01 13:15:40&amp;duration=50&amp;billsec=37&amp;status=ANSWER&amp;did=19002028&amp;extension=101&amp;phone=0938363739&amp;direction=Inbound&amp;recordingfile=https:\/\/portal.voicecloud.vn\/play_audio\/data\/5e012a75-121b-4c10-bdb4-c4b235b6a677\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{CRM_URL} : Do CRM cung c\u1ea5p<\/li>\n\n\n\n<li>callid : ID c\u1ee7a cu\u1ed9c g\u1ecdi<\/li>\n\n\n\n<li>calldate : Th\u1eddi gian b\u1eaft \u0111\u1ea7u th\u1ef1c hi\u1ec7n cu\u1ed9c g\u1ecdi ( \u0111\u1ecbnh d\u1ea1ng y-m-d h:m:s )<\/li>\n\n\n\n<li>duration : Th\u1eddi gian b\u1eaft \u0111\u1ea7u cu\u1ed9c g\u1ecdi<\/li>\n\n\n\n<li>billsec : Th\u1eddi gian b\u1eaft \u0111\u1ea7u tho\u1ea1i<\/li>\n\n\n\n<li>status : Tr\u1ea1ng th\u00e1i cu\u1ed9c g\u1ecdi ( ANSWER, BUSY, \u2026)<\/li>\n\n\n\n<li>did : S\u1ed1 \u0111i\u1ec7n tho\u1ea1i t\u1ed5ng \u0111\u00e0i<\/li>\n\n\n\n<li>extension : S\u1ed1 n\u1ed9i b\u1ed9 c\u1ee7a agent<\/li>\n\n\n\n<li>phone : S\u1ed1 \u0111i\u1ec7n tho\u1ea1i kh\u00e1ch h\u00e0ng<\/li>\n\n\n\n<li>direction : H\u01b0\u1edbng cu\u1ed9c g\u1ecdi ( <strong>Inbound <\/strong>ho\u1eb7c <strong>Outbound <\/strong>)<\/li>\n\n\n\n<li>recordingfile : \u0110\u01b0\u1eddng d\u1eabn file ghi \u00e2m cu\u1ed9c g\u1ecdi<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">CU\u1ed8C G\u1eccI NH\u1ee0<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{CRM_URL}\/api\/callcenter\/calldata?callid=5e012a75-121b-4c10-bdb4-c4b235b6a677&amp;holdtime=60&amp;status=ABANDON&amp;queue=999&amp;phone=0938363739\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{CRM_URL} : Do CRM cung c\u1ea5p<\/li>\n\n\n\n<li>callid : ID c\u1ee7a cu\u1ed9c g\u1ecdi<\/li>\n\n\n\n<li>holdtime : Th\u1eddi gian ch\u1edd c\u1ee7a kh\u00e1ch ( gi\u00e2y )<\/li>\n\n\n\n<li>status : Tr\u1ea1ng th\u00e1i cu\u1ed9c g\u1ecdi ( ABANDON )<\/li>\n\n\n\n<li>queue : T\u00ean nh\u00f3m tr\u1ef1c<\/li>\n\n\n\n<li>phone : S\u1ed1 \u0111i\u1ec7n tho\u1ea1i kh\u00e1ch h\u00e0ng<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">AGENT KH\u00d4NG TR\u1ea2 L\u1edcI<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{CRM_URL}\/api\/callcenter\/calldata?callid=5e012a75-121b-4c10-bdb4-c4b235b6a677&amp;status=NOANSWER&amp;queue=999&amp;extension=101&amp;phone=0938363739\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{CRM_URL} : Do CRM cung c\u1ea5p<\/li>\n\n\n\n<li>callid : ID c\u1ee7a cu\u1ed9c g\u1ecdi<\/li>\n\n\n\n<li>status : Tr\u1ea1ng th\u00e1i cu\u1ed9c g\u1ecdi ( NOANSWER )<\/li>\n\n\n\n<li>queue : T\u00ean nh\u00f3m tr\u1ef1c<\/li>\n\n\n\n<li>extension : S\u1ed1 n\u1ed9i b\u1ed9 c\u1ee7a agent<\/li>\n\n\n\n<li>phone : S\u1ed1 \u0111i\u1ec7n tho\u1ea1i kh\u00e1ch h\u00e0ng<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">CU\u1ed8C G\u1eccI RA<\/h1>\n\n\n\n<p>\u0110\u1ed3ng b\u1ed9 d\u1eef li\u1ec7u cho CRM bi\u1ebft c\u00f3 cu\u1ed9c g\u1ecdi ra t\u1eeb T\u1ed5ng \u0110\u00e0i :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{CRM_URL}\/api\/callcenter\/init?extension=101&amp;phone=0938363739&amp;callid=5e012a75-121b-4c10-bdb4-c4b235b6a677&amp;event=ANSWER\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{CRM_URL} : Do CRM cung c\u1ea5p<\/li>\n\n\n\n<li>extension : S\u1ed1 n\u1ed9i b\u1ed9 c\u1ee7a agent<\/li>\n\n\n\n<li>phone : S\u1ed1 \u0111i\u1ec7n tho\u1ea1i g\u1ecdi ra<\/li>\n\n\n\n<li>callid : ID c\u1ee7a cu\u1ed9c g\u1ecdi<\/li>\n\n\n\n<li>event : Tr\u1ea1ng th\u00e1i cu\u1ed9c g\u1ecdi ( RING, ANSWER )<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">C\u1eacP NH\u1eacT TR\u1ea0NG TH\u00c1I REAL-TIME C\u1ee6A AGENT<\/h1>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{CRM_URL}\/api\/Agent\/ChangeStatus?extension=101&amp;status=talk\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{CRM_URL} : Do CRM cung c\u1ea5p<\/li>\n\n\n\n<li>extension : S\u1ed1 n\u1ed9i b\u1ed9 c\u1ee7a agent<\/li>\n\n\n\n<li>status : Tr\u1ea1ng th\u00e1i c\u1ee7a agent (*)<\/li>\n<\/ol>\n\n\n\n<p><span style=\"font-size: 14pt;\">(*)&nbsp;Gi\u00e1 tr\u1ecb tr\u1ea1ng th\u00e1i Extension<\/span><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Gi\u00e1 tr\u1ecb<\/strong><\/td><td><strong>M\u00f4 t\u1ea3<\/strong><\/td><\/tr><tr><td>off<\/td><td>Agent (phone) ch\u01b0a online<\/td><\/tr><tr><td>on<\/td><td>Agent (phone) s\u1eb5n s\u00e0ng<\/td><\/tr><tr><td>pause<\/td><td>Agent (phone) t\u1ea1m ngh\u1ec9<\/td><\/tr><tr><td>ring<\/td><td>Agent (phone) \u0111ang ring<\/td><\/tr><tr><td>talk<\/td><td>Agent (phone) \u0111ang talk<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"has-text-align-center has-medium-font-size\"><strong><span style=\"font-size: 24pt;\">API T\u1eea T\u1ed4NG \u0110\u00c0I<\/span><\/strong><span style=\"font-size: 14pt;\">&nbsp;<\/span><\/p>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">S\u1ef0 KI\u1ec6N CLICK2CALL<\/h1>\n\n\n\n<p>CRM ch\u1ea1y \u0111\u01b0\u1eddng d\u1eabn n\u00e0y method GET ki\u1ec3u d\u1eef li\u1ec7u URL :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{PBX_URL}\/api\/CallControl\/dial\/from_number\/{extension}\/to_number\/{phone}\/key\/{key}\/domain\/{domain}\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :&nbsp;<\/p>\n\n\n\n<ol>\n<li>{PBX_URL} : Do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>api\/CallControl\/dial : T\u00ean ph\u01b0\u01a1ng th\u1ee9c g\u1ecdi API c\u1ee7a h\u1ec7 th\u1ed1ng.<\/li>\n\n\n\n<li>extension : S\u1ed1 n\u1ed9i b\u1ed9 mu\u1ed1n g\u1ecdi. ( v\u00ed d\u1ee5 : 101 )<\/li>\n\n\n\n<li>phone : S\u1ed1 kh\u00e1ch h\u00e0ng mu\u1ed1n g\u1ecdi. ( v\u00ed d\u1ee5 : 0938363739 )<\/li>\n\n\n\n<li>key : Kh\u00f3a c\u1ee7a c\u00f4ng ty do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>domain : T\u00ean mi\u1ec1n c\u1ee7a c\u00f4ng ty do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\"><span style=\"font-size: 14pt;\">&nbsp;<\/span>KI\u1ec2M TRA TR\u1ea0NG TH\u00c1I EXTENSION<\/h1>\n\n\n\n<p>CRM ch\u1ea1y \u0111\u01b0\u1eddng d\u1eabn n\u00e0y method POST ki\u1ec3u d\u1eef li\u1ec7u JSON :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{PBX_URL}\/api\/Agent\/status\/format\/json\n<\/pre><\/div>\n\n\n<p><span style=\"font-size: 14pt;\">&#8212;-<\/span><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nData :\n{\n  &quot;key&quot; : &quot;98589afb123863cf4d5cd4ec2c41072&quot;,\n  &quot;list&quot; :\n   &#x5B;\n    {&quot;ext&quot; : &quot;100&quot;},\n    {&quot;ext&quot; : &quot;200&quot;}\n   ]\n}\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{PBX_URL} : Do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>api\/Agent\/status\/format\/json : T\u00ean ph\u01b0\u01a1ng th\u1ee9c g\u1ecdi API c\u1ee7a h\u1ec7 th\u1ed1ng.<\/li>\n\n\n\n<li>key : Kh\u00f3a c\u1ee7a c\u00f4ng ty do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>ext : Extension mu\u1ed1n ki\u1ec3m tra.<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">S\u1ef0 KI\u1ec6N SPY CALL<\/h1>\n\n\n\n<p>CRM ch\u1ea1y \u0111\u01b0\u1eddng d\u1eabn n\u00e0y method POST ki\u1ec3u d\u1eef li\u1ec7u JSON :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{PBX_URL}\/api\/Agent\/spy\/format\/json\n<\/pre><\/div>\n\n\n<p><span style=\"font-size: 14pt;\">&#8212;-<\/span><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nData :\n{\n &quot;key&quot; : &quot;98589afb123863cf4d5cd4ec2c41072&quot;,\n &quot;src&quot; : &quot;100&quot;,\n &quot;dst&quot; : &quot;101&quot;,\n &quot;mode&quot; : &quot;whisper&quot;\n}\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{PBX_URL} : Do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>api\/Agent\/spy\/format\/json : T\u00ean ph\u01b0\u01a1ng th\u1ee9c g\u1ecdi API c\u1ee7a h\u1ec7 th\u1ed1ng.<\/li>\n\n\n\n<li>key : Kh\u00f3a c\u1ee7a c\u00f4ng ty do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>src : Extension ng\u01b0\u1eddi th\u1ef1c hi\u1ec7n.<\/li>\n\n\n\n<li>dst : Extension ng\u01b0\u1eddi b\u1ecb nghe.<\/li>\n\n\n\n<li><span style=\"font-size: 14pt;\">mode :<\/span>\n<ul>\n<li>whisper : ch\u1ec9 nghe<\/li>\n\n\n\n<li>threeway : n\u00f3i v\u1edbi c\u1ea3 hai<\/li>\n\n\n\n<li>caller : n\u00f3i v\u1edbi ng\u01b0\u1eddi g\u1ecdi ( caller )<\/li>\n\n\n\n<li>callee : n\u00f3i v\u1edbi ng\u01b0\u1eddi nghe<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">S\u1ef0 KI\u1ec6N L\u1ea4Y DANH S\u00c1CH EXTENSION TRONG QUEUE<\/h1>\n\n\n\n<p>CRM ch\u1ea1y \u0111\u01b0\u1eddng d\u1eabn n\u00e0y method POST ki\u1ec3u d\u1eef li\u1ec7u JSON :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{PBX_URL}\/api\/Agent\/all_members\/format\/json\n<\/pre><\/div>\n\n\n<p><span style=\"font-size: 14pt;\">&#8212;-<\/span><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nData :\n{\n &quot;key&quot; : &quot;98589afb123863cf4d5cd4ec2c41072&quot;\n}\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{PBX_URL} : Do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>api\/Agent\/all_members\/format\/json : T\u00ean ph\u01b0\u01a1ng th\u1ee9c g\u1ecdi API c\u1ee7a h\u1ec7 th\u1ed1ng.<\/li>\n\n\n\n<li>key : Kh\u00f3a c\u1ee7a c\u00f4ng ty do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">THAY \u0110\u1ed4I TR\u1ea0NG TH\u00c1I EXTENSION TRONG QUEUE<\/h1>\n\n\n\n<p>CRM ch\u1ea1y \u0111\u01b0\u1eddng d\u1eabn n\u00e0y method POST ki\u1ec3u d\u1eef li\u1ec7u JSON :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{PBX_URL}\/api\/Agent\/update_status\n<\/pre><\/div>\n\n\n<p><span style=\"font-size: 14pt;\">&#8212;<\/span><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nData :\n{\n &quot;key&quot; : &quot;98589afb123863cf4d5cd4ec2c41072&quot;,\n &quot;exten&quot; : &quot;100&quot;,\n &quot;status&quot; : &quot;0&quot;\n}\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{PBX_URL} : Do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>api\/Agent\/update_status : T\u00ean ph\u01b0\u01a1ng th\u1ee9c g\u1ecdi API c\u1ee7a h\u1ec7 th\u1ed1ng.<\/li>\n\n\n\n<li>key : Kh\u00f3a c\u1ee7a c\u00f4ng ty do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>exten : S\u1ed1 extension mu\u1ed1n thay \u0111\u1ed5i.<\/li>\n\n\n\n<li>status : Tr\u1ea1ng th\u00e1i c\u1ee7a extension. ( 0 : unpaused , 1 : paused )<\/li>\n<\/ol>\n\n\n\n<h1 class=\"has-vivid-cyan-blue-color has-text-color\" style=\"font-size:24px\">L\u1ea4Y D\u1eee LI\u1ec6U CU\u1ed8C G\u1eccI<\/h1>\n\n\n\n<p>CRM ch\u1ea1y \u0111\u01b0\u1eddng d\u1eabn n\u00e0y method POST ki\u1ec3u d\u1eef li\u1ec7u JSON :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nhttps:\/\/{DATA_URL}\/internal\/Reports\/cdr\/format\/json\n<\/pre><\/div>\n\n\n<p><span style=\"font-size: 14pt;\">&#8212;<\/span><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nData :\n{\n &quot;key&quot; : &quot;98589afb123863cf4d5cd4ec2c41072&quot;,\n &quot;callid&quot; : &quot;fb80cc79-e179-1234-92d7-04748b9bb475&quot;,\n &quot;startdate&quot; : &quot;2022-09-23&quot;,\n &quot;enddate&quot; : &quot;2022-09-23&quot;\n}\n<\/pre><\/div>\n\n\n<p>Trong \u0111\u00f3 :<\/p>\n\n\n\n<ol>\n<li>{DATA_URL} : Do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>internal\/Reports\/cdr\/format\/json : T\u00ean ph\u01b0\u01a1ng th\u1ee9c g\u1ecdi API c\u1ee7a h\u1ec7 th\u1ed1ng.<\/li>\n\n\n\n<li>key : Kh\u00f3a c\u1ee7a c\u00f4ng ty do t\u1ed5ng \u0111\u00e0i cung c\u1ea5p.<\/li>\n\n\n\n<li>callid : ID c\u1ee7a cu\u1ed9c g\u1ecdi.<\/li>\n\n\n\n<li>startdate &#8211; enddate : Kho\u1ea3ng th\u1eddi gian. ( Format : YYYY-MM-DD )<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>CRM s\u1ebd thi\u1ebft k\u1ebf link Webhook theo d\u1ea1ng URL ho\u1eb7c JSON \u0111\u1ec3 nh\u1eadn API : D\u01b0\u1edbi \u0111\u00e2y l\u00e0 c\u00e1c v\u00ed d\u1ee5 theo d\u1ea1ng URL tham kh\u1ea3o : CU\u1ed8C G\u1eccI \u0110\u1ebeN Khi c\u00f3 cu\u1ed9c g\u1ecdi v\u00e0o t\u1ed5ng \u0111\u00e0i s\u1ebd \u0111\u1ed5 chu\u00f4ng t\u1edbi m\u00e1y nh\u00e2n vi\u00ean (v\u00ed d\u1ee5 extension 101) : Trong \u0111\u00f3: &nbsp;K\u1ebeT TH\u00daC CU\u1ed8C G\u1eccI [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ub_ctt_via":""},"doc_category":[13],"doc_tag":[],"_links":{"self":[{"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=\/wp\/v2\/docs\/143"}],"collection":[{"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=143"}],"version-history":[{"count":84,"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=\/wp\/v2\/docs\/143\/revisions"}],"predecessor-version":[{"id":1704,"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=\/wp\/v2\/docs\/143\/revisions\/1704"}],"wp:attachment":[{"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=143"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_category&post=143"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wiki.voicecloud.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}