AI Powered Business Process Automation

API

Example Code:

https://gitlab.trueinteraction.com/snippets/1

Account Configuration

Account Feature

Under Account Management, edit the desired account and check the Api box in the Features section. Then click save.

User Settings

On the users page in the admin section, edit the desired user and check the Api access checkbox, then click Save.

API Usage

Getting an API token

Api keys are user specific. Once the API feature is enabled for the account and API access is granted for the user, a user can log in, click on their name in the upper left hand corner, select the User Settings link, which will take them to an overview of their settings.

The user can then click the Generate Token button to (re)generate their API token. This token will be used with every API request.

Making an API request

Usage in brief is: https://URL/api/v1/query?token=<token id>&search=<search string>&cdg=<collection document group>&page=<page number>&per_page=<results per page>

Responses are in JSON format.

Example usage would be:


curl 'https://your-account.synaptik.co/api/v1/query?token=68f986b69efe97acf0529254ffd3e1fd'

{"meta"=>{"token_expires_in_hours"=>626.07, "records_found"=>810, "records_per_page"=>10, "current_page"=>0, "total_pages"=>81},
 "records"=>
  [{"_id"=>{"$oid"=>"5a26d040fe14da334d4d8bbd"},
    "account_id"=>"59ea0f0ae138232cc46db9b8",
    "collection_document_group"=>"upload_group",
    "created_at"=>"2017-12-05T16:58:40.702Z",
    "link"=>"http://thehackernews.com/2014/01/rakabulle-advance-file-binder-from.html",
    "text_search_field"=>"Rakabulle, Advance File Binder from DarkComet RAT Developer",
    "title"=>"Rakabulle, Advance File Binder from DarkComet RAT Developer",
    "updated_at"=>"2017-12-22T16:41:40.445Z",
    "user_id"=>2},
   {"_id"=>{"$oid"=>"5a26d041fe14da334d4d8bbe"},
    "account_id"=>"59ea0f0ae138232cc46db9b8",
    "collection_document_group"=>"upload_group",
    "created_at"=>"2017-12-05T16:58:41.891Z",
    "link"=>"http://thehackernews.com/search/label/Nanonore%20RAT",
    "text_search_field"=>"Nanonore RAT | Hacking | Cyber Security",
    "title"=>"Nanonore RAT | Hacking | Cyber Security",
    "updated_at"=>"2017-12-22T16:41:40.459Z",
    "user_id"=>2},
etc...

API

Send us an email to let us know you’d like access to the Synaptik API. We’ll get in touch and get you connected.

SUBMIT YOUR INFORMATION

Reduce your OpEx by more than $20MM per year with automated ETL and artificial intelligence.

READ INDUSTRY INSIGHTS