Example for the circuit-sdk. The example shows how to logon to circuit, register for events, lookup a conversation, send a message, attach files to a message, send a comment.
- Register an account on circuitsandbox.net if you didn't yet
- Register two bots on the sandbox (OAuth 2.0 Client Credentials)
- Update config.json accordingly
git clone https://github.com/circuit/node-sdk-example.git
cd node-sdk-example
npm install
node indexHint: pipe the logs to bunyan to get a nicer console output:
node index | node_modules/.bin/bunyan