How to create Live Chat button using REST API

You can add live chat button via PHP and LiveAgent REST API:
 
<?php
$ch = curl_init();
$curl_post_data = array(
        /* These are mandatory params */
        'name' => 'MyButton4',
        'provide' => 'BFC',
        'departmentid' => 'dep1',
        'rtype' => 'C',
        'usecode' => 'N',
        'status' => 'A',
        'apikey' => '<YOUR_API_KEY>',
        /* ...and these are optional */
        'contactwidgetid' => '',
        'kb_id' => 'kb1',
        'description' => 'desc',
        'language' => 'en-US',
        'last_display_time' => '2015-09-08 04:08:54',
        'last_display_url' => '',
        'onlinecode' => '<div style="bottom: 30px;left: 50%; margin-left: -100px;z-index: 999997; position: fixed;"><div style="position:static; text-align:center; display: {$display};"><div style="display:inline-block; width:200px; height:104px; position:relative; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABoCAYAAAC0RL9wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5j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b0BWVlY6AoTcO+YOhbC2PtUeVgaIGB5SYsO2zN5fn3zyyZbMzMz/rqysLGWjGwYbv2fVgQMH/qbT6apTU1M3sCFL7b2ibZS6Fot/qMK8FkK+nPMnYuPhus4KmrXCvB38LG5/APnhw4fjJ02adJYFtdbYmx/Gg5OBdvv/X4ABAPa9nLwRrqh0AAAAAElFTkSuQmCC) no-repeat left top;"><div style="position:static; padding:30px 15px 0 100px; font-size:23px; font-weight:bold; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:25px; color:#ffffff;">Live<br/>Chat</div><div style="position:absolute; top:20px; left:26px; width:50px; height:50px; text-align:center; line-height:50px; vertical-align:middle; overflow:hidden;"><img style="max-width:100%; max-height:100%;" src="//localhost/LA/LiveAgent/LiveAgent/server/themes/install/_common_templates/img/cwpresets/button-icon-woman.png" title="We are online, you can chat with us." alt="We are online, you can chat with us."/></div><div onClick="(event.target || event.srcElement).parentNode.parentNode.style.display = \'none\'; if (event.stopPropagation) {event.stopPropagation();} else {event.cancelBubble = true;} if (event.preventDefault) {event.preventDefault();}LiveAgent.instance.getWidget(\'{$buttonid}\').closeBubble();" style="position:absolute; top:22px; right:10px; width:15px; height:15px; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZ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EIpPgGEP9AUwgDF6EafgPxZYAAAwBmLis5xe1NdQAAAABJRU5ErkJggg==) no-repeat center center;"></div></div></div></div><div style="bottom: 0px;left: 50%; margin-left: -125px;z-index: 999997; position: fixed;"><!-- CollapsableDoubleBubbleTextFloatingBottom --><div style="position:relative; display:inline-block; text-align:center; box-shadow:0 0 2px #666666; -moz-box-shadow:0 0 2px #666666; -webkit-box-shadow:0 0 2px #666666; white-space:nowrap; border-radius:4px 4px 0 0; -moz-border-radius:4px 4px 0 0; -webkit-border-radius:4px 4px 0 0; font-size:13px; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:26px; color:#ffffff; cursor:pointer; height:28px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; padding:2px 2px 0; background:#ffffff;"><div style="position:static; line-height:26px; height:26px; padding:0 10px 0 25px; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5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J0H7/YIVnIRC8W9YqBM051F4OsBS3UliRFUdLKCQ5PdjAIh+QPR0Lsypd9BLoD1VfTXFVVu7vjwtn3IuOBRz2CMCKKp3gX+ajelkBNbK5p2kbrwwH26wN4TgDv4BCCODqLvKgfs7MgOxtCVNH6x1F/8xM9y8Gw7x+ByP9418XCuRti2krMsqzm82cvNG6rl1udJiSFzHNGYwFu18PeVh+N1x1ckZcxmZxaLxQKT//eiGKxuCYl+MqO+x1epg1m0FJ6Y0h2TuPq+Zv0f1JC8O9GjKJcLs/SuCXCbVqQSaYt4UGMRILPI95vAQYAudMDTk0AKscAAAAASUVORK5CYII=) no-repeat 6px 6px #3d3d3d; font-size:13px; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:26px; color:#ffffff;">We are online, you can chat with us.</div></div></div></div>',
        'onlinecode_ieold' => '<div style="bottom: 30px;left: 50%; margin-left: -100px;z-index: 999997; position: fixed;"><div style="position:static; text-align:center; display: {$display};"><div style="display:inline-block; width:200px; height:104px; position:relative; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABoCAYAAAC0RL9wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy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e9xEgIvahBx05cuR/hAAhjvl3pD2UnZ3FvRUcD0gWKEDaYIwDNyMTYJShoP3www9rWVXt1JlZ+H7xj71nz/j4+N8Sp1ON94xvvy1YsGAKa0Y4UqGnALGmFkEg9L1y5coGApLbXl5ekayt6nC/mNyFe0bTb0BWVlY6AoTcO+YOhbC2PtUeVgaIGB5SYsO2zN5fn3zyyZbMzMz/rqysLGWjGwYbv2fVgQMH/qbT6apTU1M3sCFL7b2ibZS6Fot/qMK8FkK+nPMnYuPhus4KmrXCvB38LG5/APnhw4fjJ02adJYFtdbYmx/Gg5OBdvv/X4ABAPa9nLwRrqh0AAAAAElFTkSuQmCC) no-repeat left top;"><div style="position:static; padding:30px 15px 0 100px; font-size:23px; font-weight:bold; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:25px; color:#ffffff;">Live<br/>Chat</div><div style="position:absolute; top:20px; left:26px; width:50px; height:50px; text-align:center; line-height:50px; vertical-align:middle; overflow:hidden;"><img style="max-width:100%; max-height:100%;" src="//localhost/LA/LiveAgent/LiveAgent/server/themes/install/_common_templates/img/cwpresets/button-icon-woman.png" title="We are online, you can chat with us." alt="We are online, you can chat with us."/></div><div onClick="(event.target || event.srcElement).parentNode.parentNode.style.display = \'none\'; if (event.stopPropagation) {event.stopPropagation();} else {event.cancelBubble = true;} if (event.preventDefault) {event.preventDefault();}LiveAgent.instance.getWidget(\'{$buttonid}\').closeBubble();" style="position:absolute; top:22px; right:10px; width:15px; height:15px; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkF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DSu5DU+gLZaszAYmXSJIgDS5YFILAC0agM0AMAyAOQJK4A8QqSPw9QHwEphibBhSFIAYTkuAFIL6IpvA+TCG6YpAb9dEUKyL5Aa4Y3TPXgPgflG0D0wAKOiM0hTA3gvzgBzUQpOEfiCGMzTNQP2xEskEIpPgGEP9AUwgDF6EafgPxZYAAAwBmLis5xe1NdQAAAABJRU5ErkJggg==) no-repeat center center;"></div></div></div></div><div style="bottom: 0px;left: 50%; margin-left: -125px;z-index: 999997; position: fixed;"><!-- CollapsableDoubleBubbleTextFloatingBottom --><div style="position:relative; display:inline-block; text-align:center; box-shadow:0 0 2px #666666; -moz-box-shadow:0 0 2px #666666; -webkit-box-shadow:0 0 2px #666666; white-space:nowrap; border-radius:4px 4px 0 0; -moz-border-radius:4px 4px 0 0; -webkit-border-radius:4px 4px 0 0; font-size:13px; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:26px; color:#ffffff; cursor:pointer; height:28px; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; padding:2px 2px 0; background:#ffffff;"><div style="position:static; line-height:26px; height:26px; padding:0 10px 0 25px; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZX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iDU2fNe8VHy5ieM5FIxhGLc/hugEHbReOTjS8vd5GA/rBard5nJJxRDWXzbuUOZhanoBgyQkZjIAADp68yOB0X315ZcN6PY0JPXpBIVDozP4nUJRlDo4chC+DDI0lAEo4YI4rBYcwBzY9NZLRsSSLTS5nrOsJ0H7/YIVnIRC8W9YqBM051F4OsBS3UliRFUdLKCQ5PdjAIh+QPR0Lsypd9BLoD1VfTXFVVu7vjwtn3IuOBRz2CMCKKp3gX+ajelkBNbK5p2kbrwwH26wN4TgDv4BCCODqLvKgfs7MgOxtCVNH6x1F/8xM9y8Gw7x+ByP9418XCuRti2krMsqzm82cvNG6rl1udJiSFzHNGYwFu18PeVh+N1x1ckZcxmZxaLxQKT//eiGKxuCYl+MqO+x1epg1m0FJ6Y0h2TuPq+Zv0f1JC8O9GjKJcLs/SuCXCbVqQSaYt4UGMRILPI95vAQYAudMDTk0AKscAAAAASUVORK5CYII=) no-repeat 6px 6px #3d3d3d; font-size:13px; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:26px; color:#ffffff;">We are online, you can chat with us.</div></div></div></div>',
        'offlinecode' => '<div style="bottom: 0px;left: 50%; margin-left: -117px;z-index: 999997; position: fixed;"><div style="position:relative; display:inline-block; text-align:center; box-shadow:0 0 2px #666666; -moz-box-shadow:0 0 2px #666666; -webkit-box-shadow:0 0 2px #666666; white-space:nowrap; border-radius:4px 4px 0 0; -moz-border-radius:4px 4px 0 0; -webkit-border-radius:4px 4px 0 0; font-size:13px; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:26px; color:#ffffff; cursor:pointer; height:26px; padding:2px 2px 0; background:#ffffff;"><div style="line-height:26px; height:26px; padding:0 10px 0 25px; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpb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bj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmUxGH0AAAHbSURBVHjaXFJPSxtBHH2z7q7LbHbVwNo9lWAu0jYh/jkpPZdCLSrkE+SUu5Z6yNliTr1UesiXkNLQUy+FUjy0i9SDgiAIbRGrTUhMYtzpm7CpoQOPmXm/92bebxgopTAER454Y9v2qe/7KgzD02w2+zafzxdGdSIRQwixMynl5rO5OTydmcF9z8NZq4XPFxc4bDRgSlmt1+svBtqBU4jtbDr9cntpCfNSYtIwYLHYJy7jGFG3i3dCQKTTr2q12pYg/8CzrO+vCwU8cV14ukghNGhWRJPrjzc32M/l4AXBQ5Om8qLvY/HqCqlmE4oC1esBt7fA2Bhg20jRmOf+68kJ3EymbLLptcfMPkWh0iIt7vcHZkExTHNgniIf8uDxlZU103GcIOANZqeDWDeJu6FGZh3JbbdhSxkYUsrzHzypQbKXNB8nwjjZa17X/7ANXnJuuK67tz8xgTOS3UTwPzSv65cLC2zR3tOm3U4mg0+87RcL7QTXI2vNf3EczK6u6rS7RhRFB24QVKPlZby3LByR/Z3E0bPef6BBbmwgNT1dLRaLB/9+RKlU2nGU2uxEEe4dH8Pj47QY+5qRHq2vDw13P2I4KpVKgXHLxHM+UMimf+oedCQavg11fwUYABEhxQ4NMTEeAAAAAElFTkSuQmCC) no-repeat 6px 6px #3d3d3d; font-size:13px; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:26px; color:#ffffff;">Sorry, we are offline. Message us.</div></div></div></div>',
        'offlinecode_ieold' => '<div style="bottom: 0px;left: 50%; margin-left: -117px;z-index: 999997; position: fixed;"><div style="position:relative; display:inline-block; text-align:center; box-shadow:0 0 2px #666666; -moz-box-shadow:0 0 2px #666666; -webkit-box-shadow:0 0 2px #666666; white-space:nowrap; border-radius:4px 4px 0 0; -moz-border-radius:4px 4px 0 0; -webkit-border-radius:4px 4px 0 0; font-size:13px; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:26px; color:#ffffff; cursor:pointer; height:26px; padding:2px 2px 0; background:#ffffff;"><div style="line-height:26px; height:26px; padding:0 10px 0 25px; background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpFNDM0RDg4RUYyQUFFMTExOEQxMUQ5NUFFMjFDNkUxRiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDozQkY1RDI4Q0I1NjMxMUUxQUZFM0QwMzc0NkI1N0UxOSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozQkY1RDI4QkI1NjMxMUUxQUZFM0QwMzc0NkI1N0UxOSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M1IFdpbmRvd3MiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5Q0M0N0U1NzYxQjVFMTExQTBDN0IyOTREMTI1Q0E5QSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFNDM0RDg4RUYyQUFFMTExOEQxMUQ5NUFFMjFDNkUxRiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmUxGH0AAAHbSURBVHjaXFJPSxtBHH2z7q7LbHbVwNo9lWAu0jYh/jkpPZdCLSrkE+SUu5Z6yNliTr1UesiXkNLQUy+FUjy0i9SDgiAIbRGrTUhMYtzpm7CpoQOPmXm/92bebxgopTAER454Y9v2qe/7KgzD02w2+zafzxdGdSIRQwixMynl5rO5OTydmcF9z8NZq4XPFxc4bDRgSlmt1+svBtqBU4jtbDr9cntpCfNSYtIwYLHYJy7jGFG3i3dCQKTTr2q12pYg/8CzrO+vCwU8cV14ukghNGhWRJPrjzc32M/l4AXBQ5Om8qLvY/HqCqlmE4oC1esBt7fA2Bhg20jRmOf+68kJ3EymbLLptcfMPkWh0iIt7vcHZkExTHNgniIf8uDxlZU103GcIOANZqeDWDeJu6FGZh3JbbdhSxkYUsrzHzypQbKXNB8nwjjZa17X/7ANXnJuuK67tz8xgTOS3UTwPzSv65cLC2zR3tOm3U4mg0+87RcL7QTXI2vNf3EczK6u6rS7RhRFB24QVKPlZby3LByR/Z3E0bPef6BBbmwgNT1dLRaLB/9+RKlU2nGU2uxEEe4dH8Pj47QY+5qRHq2vDw13P2I4KpVKgXHLxHM+UMimf+oedCQavg11fwUYABEhxQ4NMTEeAAAAAElFTkSuQmCC) no-repeat 6px 6px #3d3d3d; font-size:13px; font-family:Arial,Verdana,Helvetica,sans-serif; line-height:26px; color:#ffffff;">Sorry, we are offline. Message us.</div></div></div></div>',
        'attributes' => '[{"name":"chat_button_bg_color","section":"chat","value":"476B77"},{"name":"chat_visitormessage_color","section":"chat","value":"909DA2"},{"name":"chat_window_height","section":"chat","value":"450"},{"name":"chat_action","section":"chat","value":"C"},{"name":"leaving_mess_status","section":"chat","value":"Y"},{"name":"embedded_position","section":"chat","value":"BR"},{"name":"chat_custom_css","section":"chat","value":""},{"name":"chat_agentmessage_bg_color","section":"chat","value":"FFFFFF"},{"name":"chat_visitormessage_bg_color","section":"chat","value":"FFFFFF"},{"name":"chat_status_bg_color","section":"chat","value":"98A8AD"},{"name":"chat_window_width","section":"chat","value":"350"},{"name":"chat_agentmessage_color","section":"chat","value":"000000"},{"name":"chat_button_color","section":"chat","value":"FFFFFF"},{"name":"window_position","section":"chat","value":"C"},{"name":"chat_design","section":"chat","value":"musho"},{"name":"chat_border_color","section":"chat","value":"FFFFFF"},{"name":"chat_border_bg_color","section":"chat","value":"000000"},{"name":"chat_not_available_action","section":"chat","value":"F"},{"name":"chat_status_color","section":"chat","value":"000000"},{"name":"chat_type","section":"chat","value":"E"},{"name":"chat_welcome_message","section":"chat","value":""},{"name":"chat_title","section":"chat","value":"Welcome"},{"name":"button_type","section":"button","value":"11"},{"name":"online_button_encoded_bg_image","section":"button","value":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAABoCAYAAAC0RL9wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2RpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk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x80AAR3LM78S9ilUplsfCeyQyqX7Zs2SxWgBw7et82+mzaAqowpckSWGVmQJWzbY5gSnsSWfPZ2TNAuJBvv6+//nolJ2hqtboyOjp6NPqyHdUe9xEgIvahBx05cuR/hAAhjvl3pD2UnZ3FvRUcD0gWKEDaYIwDNyMTYJShoP3www9rWVXt1JlZ+H7xj71nz/j4+N8Sp1ON94xvvy1YsGAKa0Y4UqGnALGmFkEg9L1y5coGApLbXl5ekayt6nC/mNyFe0bTb0BWVlY6AoTcO+YOhbC2PtUeVgaIGB5SYsO2zN5fn3zyyZbMzMz/rqysLGWjGwYbv2fVgQMH/qbT6apTU1M3sCFL7b2ibZS6Fot/qMK8FkK+nPMnYuPhus4KmrXCvB38LG5/APnhw4fjJ02adJYFtdbYmx/Gg5OBdvv/X4ABAPa9nLwRrqh0AAAAAElFTkSuQmCC"},{"name":"online_button_text","section":"button","value":"We are online, you can chat with us."},{"name":"online_button_imageurl","section":"button","value":"//localhost/LA/LiveAgent/LiveAgent/server/themes/install/_common_templates/img/cwpresets/button-icon-woman.png"},{"name":"online_button_bubble_text","section":"button","value":"Live<br/>Chat"},{"name":"offline_button_text","section":"button","value":"Sorry, we are offline. Message us."},{"name":"offline_button_position","section":"button","value":"50"},{"name":"online_button_position","section":"button","value":"50"},{"name":"show_kb_suggestions","section":"contactForm","value":"N"},{"name":"online_form_border_color","section":"contactForm","value":"464646"},{"name":"form_department_choose","section":"contactForm","value":"N"},{"name":"online_form_department_choose","section":"contactForm","value":"N"},{"name":"form_content_color","section":"contactForm","value":"464646"},{"name":"form_border_color","section":"contactForm","value":"464646"},{"name":"online_form_content_color","section":"contactForm","value":"464646"},{"name":"online_form_content_bg_color","section":"contactForm","value":"F6F6F6"},{"name":"online_form_button_bg_color","section":"contactForm","value":"FF7C22"},{"name":"form_status_bg_color","section":"contactForm","value":"EAEAEA"},{"name":"contact_form_design","section":"contactForm","value":"modern"},{"name":"online_kb_suggestions_parent_entry_id","section":"contactForm","value":"0"},{"name":"online_form_confirm_message","section":"contactForm","value":"Please stand by, you will be redirected to operator shortly..."},{"name":"kb_suggestions_parent_entry_id","section":"contactForm","value":"0"},{"name":"form_button_bg_color","section":"contactForm","value":"FF7C22"},{"name":"online_form_border_bg_color","section":"contactForm","value":"F6F6F6"},{"name":"online_form_custom_css","section":"contactForm","value":""},{"name":"form_custom_css","section":"contactForm","value":""},{"name":"kb_suggestions_treepath","section":"contactForm","value":"0"},{"name":"form_status_color","section":"contactForm","value":"000000"},{"name":"online_contact_form_design","section":"contactForm","value":"modern"},{"name":"form_border_bg_color","section":"contactForm","value":"F6F6F6"},{"name":"online_show_kb_suggestions","section":"contactForm","value":"N"},{"name":"form_content_bg_color","section":"contactForm","value":"F6F6F6"},{"name":"online_kb_suggestions_treepath","section":"contactForm","value":"0"},{"name":"kb_suggestions_kb_id","section":"contactForm","value":"kb_defa"},{"name":"form_form_color","section":"contactForm","value":"464646"},{"name":"form_form_bg_color","section":"contactForm","value":"F6F6F6"},{"name":"online_form_title","section":"contactForm","value":"Welcome"},{"name":"online_form_form_color","section":"contactForm","value":"464646"},{"name":"online_form_button_color","section":"contactForm","value":"FFFFFF"},{"name":"online_form_window_height","section":"contactForm","value":"490"},{"name":"online_form_logourl","section":"contactForm","value":"//localhost/LA/LiveAgent/LiveAgent/server/themes/install/_common_templates/img/default-contactwidget-logo.png"},{"name":"online_kb_suggestions_kb_id","section":"contactForm","value":"kb_defa"},{"name":"form_title","section":"contactForm","value":"Welcome"},{"name":"online_form_window_width","section":"contactForm","value":"500"},{"name":"form_window_width","section":"contactForm","value":"500"},{"name":"form_window_height","section":"contactForm","value":"490"},{"name":"online_form_status_bg_color","section":"contactForm","value":"EAEAEA"},{"name":"online_form_form_bg_color","section":"contactForm","value":"F6F6F6"},{"name":"form_button_color","section":"contactForm","value":"FFFFFF"},{"name":"form_logourl","section":"contactForm","value":"//localhost/LA/LiveAgent/LiveAgent/server/themes/install/_common_templates/img/default-contactwidget-logo.png"},{"name":"online_form_status_color","section":"contactForm","value":"000000"},{"name":"form_confirm_message","section":"contactForm","value":"Thanks for your question. We\'ll send you an answer via email to {$conversationOwnerEmail}"}]',
);
curl_setopt($ch,CURLOPT_URL,"<URL_OF_YOUR_INSTALLATION>/api/widgets");
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $curl_post_data);
$curl_response=curl_exec($ch);
if ($curl_response === false) {
    $info = curl_getinfo($ch);
    curl_close($ch);
    die("error occured during curl exec. Additioanl info: " . var_export($info));
}
curl_close($ch);

$result = json_decode($curl_response);

//integration code of chat button is here
echo $result->response->integration_code

?>

 

From now you can use the integration code of new button to show live chat button on your website.

New integration code was stored in the result: $result->response->integration_code
×