# Feature Request: Get Spaces API

**URL:** <https://forum.kintone.dev/t/feature-request-get-spaces-api/319>\
**Category:** General\
**Created:** [May 15, 2020, 5:24pm UTC](https://forum.kintone.dev/t/feature-request-get-spaces-api/319 "2020-05-15T17:24:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [May 15, 2020, 5:24pm UTC](https://forum.kintone.dev/t/feature-request-get-spaces-api/319/1 "2020-05-15T17:24:39Z")

</div>

Get Apps returns an app’s spaceId, but does not indicate whether it is a guest space. Get Space requires that I know in advance whether a space is public or guest, because the URL is different in each case. It would be convenient if there were a Get Spaces API that returned information for all spaces in one call.

As it stands now, I have to assume that a space is public, call Get Space accordingly, then if that fails, issue the call again with a modified URL. I have to redundantly include the spaceId as part of the URL and as an argument.

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [May 18, 2020, 12:49am UTC](https://forum.kintone.dev/t/feature-request-get-spaces-api/319/2 "2020-05-18T00:49:20Z")

</div>

Hello John!

Can you tell us little bit more about your case? Where are you trying to do it from? From a guest space? Or a (public) space?

Thank you

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [May 20, 2020, 7:02pm UTC](https://forum.kintone.dev/t/feature-request-get-spaces-api/319/3 "2020-05-20T19:02:10Z")

</div>

I’m working on a .NET library that provides a common SQL-based interface to multiple data providers, including Kintone. The library can be used in a console or desktop app, with user/password supplied via a connection string. The library uses Get Apps to derive a list of “tables” that the authenticated user has access to. If the library references a table by name, and the corresponding spaceId is not null, there is no way to determine whether it is in a guest space other than the brute force method described in the last paragraph of my original post.

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [May 21, 2020, 4:27pm UTC](https://forum.kintone.dev/t/feature-request-get-spaces-api/319/4 "2020-05-21T16:27:37Z")

</div>

Hello John,

&nbsp;

When executing the API from an external service, It is difficult to determine in advance that it is a guest space.

&nbsp;

※When acquiring space information, the URI is different for space and guest space.

&nbsp;

For this reason, we have to assume that it is a space, as you have done, and if you run the API and get an error, the only way to deal with it is to switch the URI.

&nbsp;

Get Space:

[https://developer.kintone.io/hc/en-us/articles/115006107968](https://forum.kintone.dev/hc/en-us/articles/115006107968)

&nbsp;

Sorry about the inconvenience.

&nbsp;

Sean

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [May 21, 2020, 6:06pm UTC](https://forum.kintone.dev/t/feature-request-get-spaces-api/319/5 "2020-05-21T18:06:37Z")

</div>

I can live with the workaround. Thanks for your reply.

---

<div class="post-metadata">

**Author:** ![legacy\_user](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/legacy_user/32/25_2.png) [@legacy\_user](https://forum.kintone.dev/u/legacy_user)\
**Post date:** [May 22, 2020, 12:31am UTC](https://forum.kintone.dev/t/feature-request-get-spaces-api/319/6 "2020-05-22T00:31:35Z")

</div>

John, thanks for sharing your use-case.

Sorry we couldn’t help out due to specification limitations - I’ve shared your scenario with our Kintone dev team!

---

<div class="post-metadata">

**Author:** ![ThaiHoc-Nguyen](https://avatars.discourse-cdn.com/v4/letter/t/71c47a/32.png) [@ThaiHoc-Nguyen](https://forum.kintone.dev/u/ThaiHoc-Nguyen)\
**Post date:** [March 27, 2024, 8:27am UTC](https://forum.kintone.dev/t/feature-request-get-spaces-api/319/7 "2024-03-27T08:27:34Z")

</div>

I also face the same situation. It will be nice if Kintone improve this inconvenient feature.
