Logo

How can we help?

How to retrieve data from NinjaCat's Restful API

The NinjaCat API is an additional subscription option that can be made available to agencies upon request. Speak to your Customer Success Manager in order to have this subscription option enabled for your agency.

This API integration will allow you to grab any data from a Shinobi template and use the result data set in any other platform or API that you wish to integrate with for your agency.

At a very high level, the process looks something like this:

  1. Set up your NinjaCat Shinobi template that contains all of the data that you want to grab from NinjaCat. See Shinobi Documentation for more information on how to create report templates.
  2. Integrate with NinjaCat's Restful API. Once the API option is turned on for your agency and your API token is created, you can access the API documentation from your Agency setup screen:
    1.png

  3. Use the API to make a request to generate a report for the template, account and data range.
  4. Ask the API whether the report is complete (use exponential backoffs).
  5. Once finished - retrieve the report from NinjaCat.
  6. Send the data from this report to any other data source or API that you wish to use with your agency.

For further information on this API, consult the API documentation from your NinjaCat interface.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.