Space APIs are available on both desktop and mobile. They return data only when the current app is inside a space. If the app is not in a space, these methods return
null.Space information
kintone.space.get()
kintone.space.get()
Returns information about the space the current app belongs to.FunctionParametersNone.Return valueReturns a space object, or
Available pages
null if the app is not in a space.| Property | Type | Description |
|---|---|---|
id | string | The space ID. |
name | string | The space name. |
isPrivate | boolean | true if the space is private. |
isGuest | boolean | true if this is a guest space. |
useMultiThread | boolean | true if the space uses multiple threads. |
fixedMember | boolean | true if the space has a fixed member list. |
coverType | string | Cover image type: "BLOB", "PRESET", or "URL". |
coverKey | string | The cover image key or URL depending on coverType. |
coverUrl | string | The cover image URL. |
body | string | The space body HTML. |
creator | object | The user who created the space (code and name). |
modifier | object | The user who last modified the space (code and name). |
memberCount | string | The number of space members. |
roleCount | string | The number of roles defined in the space. |
threadCount | string | The number of threads in the space. |
- Any page within an app that belongs to a space
kintone.space.getPermissions()
kintone.space.getPermissions()
Returns the current user’s permissions for the space the app belongs to.FunctionParametersNone.Return valueReturns a permissions object, or
Available pages
null if the app is not in a space.| Property | Type | Description |
|---|---|---|
hasReadPermission | boolean | true if the user can view the space. |
hasEditPermission | boolean | true if the user can edit the space. |
hasAdminPermission | boolean | true if the user has administrative access to the space. |
- Any page within an app that belongs to a space
Related pages
- App APIs — Read app configuration and metadata
- System APIs — Check system features and permissions
- REST API: Spaces — Manage spaces via REST