Search code examples
javascriptnode.jspodio

get all items from podio api


I want to fetch items of app from podio in node js here is the code that am using to get items,

 podio.authenticateWithCredentials(username, password, function () {
        podio.request('GET', '/item/app/{app_id}/filters').then(function (responseData) {
          console.log(responseData);
          res.send(responseData);
        }).catch(function (e) {
          console.log('0-0-0-0', e);
          res.send(e);
        });
      });

an i always get this error

"No matching operation could be found. The path '/item/app/{app_id}/filters' was not found.."

is there any solutions ?


Solution

  • only replace {app_id} with the app id To get the app id and token:

    Go to your app on Podio Click the little wrench in the sidebar Select the "Developer" option near the bottom On the following page you can get the app id and token

    enter image description here