Podio developer api
I am using podio api to get list of file..
Authentication is working fine..I am getting access token, refresh token, user id.
But when I call the api to get files..it shows error..
I tried a lot things, but its not working for me.
06:38 PM
{"errorparameters":{},"error_detail":null,"error_propagate":false,"request":{"url":"http:\/\/api.podio
.com\/file","query_string":"=1444914230142","method":"GET"},"errordescription":"Invalid filter key ","error":"Invalid filter key _"}
Getting this error response
-
I am using this url to get all files...
-
I also tried using sendbox url, which shows on below page to get files...
-
Below is my code to get files...I am getting access token successfully
$('.projects').click(function () {
var data = {"authenticity_token" : token,
"query_param[limit]" : "20",
"query_param[sort_by]" : "name",
"query_param[sort_desc]" : true,
"uri" : "/file/",
"utf8" : "✓"
}
var url = "https://developers.podio.com/doc/process_request";
$.ajax({
url: url,
type: 'POST',
dataType: "JSON",
data : data,
cache: false,
headers: {
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
'Accept' : '/'
},
success: function(data) {
// var string = JSON.stringify(data, null, "\t");
// $('#files textarea').text(string);
// $('#well-files').val(url);
},
error: function() {} }); });
-
Hi dipen,
You should be using the url
https://api.podio.com
instead ofhttps://developers.podio.com/doc/process_request
.If you're using Javascript, consider taking a look at podio-js (a Javascript client for Podio).
Best,
Andreas -
I have also used above API URL..but It was not working..
Does PODIO provide http api like ASANA and Slack provides? -
Please check out the developer documentation: https://developers.podio.com/
Please sign in to leave a comment.
Comments
11 comments