Caseblocks Logo

Documentation // Javascript SDK

Javascript SDK

CaseBlocks provides a library of functions to be called from it’s internal Javascript execution environment.  These functions can be called from various places including WebHooks, when a case record is saved or updated, when a Service Level is triggered, from a Bulk Job or from a scheduled job.

Installation

As with any NPM package:

npm install caseblocks --save

Initialization

The Caseblocks object, which is the main proxy with the Caseblocks REST API, has to first be initialized with the proper parameters:

const Caseblocks = require('caseblocks')

Caseblocks.setup("http://yourpathtocaseblocks.com:8080", "your_user_token")

The user token may be found in the User settings section of the Caseblocks web interface.

Popular Articles

Sorry. No data so far.

Contact

Still having issues or have a question that is not covered here get in touch and we’ll be able to get you on the right track in no time at all.

Email: [email protected] Call: +44 141 632 8395 Did you see our help page?