API Access Keys

<< <%SKIN-STRTRANS-SYNTOC%> >>

Navigation:  Programming Interface >

API Access Keys

The Content Grabber API can be restricted to certain groups of agents. An access key can be mapped to a directory of agents, and the key will then need to be specified with all API calls to access agents in that directory.

 

The API Access screen can be opened from the Application menu in the Content Grabber editor.

 

apiAccess

 

The option API key required can be set to require a key for all API access.

 

A key can be assigned the following access to agents.

 

Run - the key provides access to run agents and view agent statuses.

Data - the key provides access to data extracted by agents.

Schedule - the key provides access to schedule agents.

Full - the key provides full access to agents.

 

If an access key is specified with an API call, Content Grabber will determine the agent's path from the key, so only the agent's name should be specified, not the full agent path.

 

Example:

 

http://localhost:8004/ContentGrabber/RunAgentReturnJson?key=cbac266dc49547f4b142bc41d929eb0f&agent=linkedin