Examples

Articles

Create a Category
PHP $endpoint = 'https://app.knowledgeowl.com/api/head/category.json'; //base data you will most likely be using for all calls $stdData = array( _authbykey => '[[API KEY]]', project_id => '[[Know...
Get a List of Articles Based on a Word in the URL
This is the Source of an article that generates a list of all articles with "events" in the URL. Fancy stuff! <ul class="list-unstyled article-list"> <li class="hide dummy-li"><a> <...
Pull and update article HTML
PHP Example public function updateArticleHtml() { $agent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"; $articleID = "{{ARTICLE ID}}"; $endPoint = "https://app.knowledgeowl.com/api/head/arti...
Upload File to the Library
PHP Example: $ch=curl_init(); $callurl = "https://app.knowledgeowl.com/api/head/file.pson?_method=POST"; $postFields = array( '_authbykey' => '{API Key}', 'file&#...