Plugins You can find out about all the publicly available Grails plugins.

Api Toolkit

  • Authors: Owen Rubel
2 votes
compile ":api-toolkit:2.31"

 Documentation  Source  Issues


The Grails API Toolkit is a complete set of API tools that automates alot of the tasks needed to build your API like api docs, batch processing, generated headers, encoding and more. This also abstracts the API away from the Controller/model with a more universal API Object that can be defined with roles, rules and definitions for handling the request and response at the front controller.


grails install-plugin api-toolkit



IMPORTANT : Please make sure to install and configure Spring Security 2.0> prior to installation.

Release Notes

Example Code



Some of the features in the apitoolkit include:
  • API Automation
  • Minimal setup: no controller annotations,extension; works with existing controllers
  • Automated Batching
  • Automated type conversion based on REQUEST (JSON/XML)
  • API Object
  • Apidoc Generation
  • API Chaining
  • improved perfomance
  • integrated spring security for setting roles on your APIs, docs and hooks
For usage, please see