Broken Workspace? Can't get ID.
AnsweredI need to get the workspace ID to perform queries with the PHP API. I can't get it anywhere from Podio from what I can tell.
I tried to call the space_url API to get the Workspace ID from the URL (https://podio.com/proxitelecomcom/affaires) but even that is returning a "not_found" error. I changed the Workspace name (from "leads" to "affaires") a few weeks ago, not sure if that has to do with anything.
Could you please lookup why the API call isn't working, and give me the Workspace ID in the meantime so I can move on with my coding?
Thanks
-
I'm not in front of my computer right now but you can use the API reference area to call some of these APIs and test out how to get the workspace ID.
There should be a API where you can get the workspace from the workspace URL but definitely know the API to get an app from an app URL will then give you the space ID.
Patrick Steil
http://www.PodioTools.com -
Try plugging in your URL on this page
https://developers.podio.com/doc/spaces/get-space-by-url-22481
-
Thanks for your suggestion Patrick but I did use the space_url API to get the ID and it returns a not_found error like below:
{"error_parameters"=>{}, "error_detail"=>nil, "error_propagate"=>false, "request"=>{"url"=>"http://api.podio.com/space/url", "query_string"=>"url=https%3A%2F%2Fpodio.com%2Fproxitelecomcom%2Faffaires", "method"=>"GET"}, "error_description"=>"Object not found", "error"=>"not_found"}
I know the URL is good it leads me to my workspace... This is why I think my slug change broke my Workspace. Mind you it works well but I'm guessing something has not been updated somewhere and the API can't find it by URL.
-
Hi,
You can resolve space URLs (and many other URLs) at https://developers.podio.com/doc/reference/resolve-url-66839423
All the best,
Andreas
Please sign in to leave a comment.
Comments
6 comments