I'm new to asana API and need help in creating webhooks to track activities in asana. a simple example using NodeJS would be fine. thank you.
Check this out: https://github.com/Asana/node-asana
A JavaScript client (for both Node and browser) for the Asana API v1.0.
Install with npm:
npm install asana --save
Browser Include the latest release directly from GitHub.
<script src="https://github.com/Asana/node-asana/releases/download/<LATEST_RELEASE>/asana-min.js"></script>
OR
Download the latest distribution in releases. Make sure to serve it from your webserver. Include it on the client from a SCRIPT tag.
Usage To do anything, you'll need always an instance of an Asana.Client configured with your preferred authentication method and other options.
The most minimal example would be as follows:
const asana = require('asana');
const client = asana.Client.create().useAccessToken('my_access_token');
client.users.me().then(function(me) {
console.log(me);
});