Endpoints
Get Space — GET /k/v1/space.json
Get Space — GET /k/v1/space.json
Retrieves information about a space.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | Integer | Yes | The space ID. |
Response
| Parameter | Type | Description |
|---|---|---|
id | String | The space ID. |
name | String | The name of the space. |
isPrivate | Boolean | Whether the space is private. |
creator | Object | The user who created the space. |
modifier | Object | The user who last modified the space. |
memberCount | String | The number of members in the space. |
coverType | String | The cover image type (PRESET or FILE). |
coverKey | String | The key of the cover image. |
coverUrl | String | The URL of the cover image. |
body | String | The HTML body of the space. |
useMultiThread | Boolean | Whether multi-thread is enabled. |
isGuest | Boolean | Whether the space is a guest space. |
attachedApps | Array | Apps attached to the space. |
threadIds | Array | IDs of threads in the space. |
fixedMember | Boolean | Whether the member list is fixed. |
showAnnouncement | Boolean | Whether the announcement section is shown. |
showThreadList | Boolean | Whether the thread list is shown. |
showAppList | Boolean | Whether the app list is shown. |
showMemberList | Boolean | Whether the member list is shown. |
showRelatedLinkList | Boolean | Whether the related links list is shown. |
Example
Add Space From Template — POST /k/v1/template/space.json
Add Space From Template — POST /k/v1/template/space.json
Creates a new space from an existing space template.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | Integer | Yes | The ID of the space template to use. |
name | String | Yes | The name of the new space. |
members | Array | Yes | An array of member objects to add to the space. |
isPrivate | Boolean | Whether the space is private. | |
isGuest | Boolean | Whether the space is a guest space. | |
fixedMember | Boolean | Whether to fix the member list (prevent members from joining or leaving on their own). |
Response
| Parameter | Type | Description |
|---|---|---|
id | String | The ID of the newly created space. |
Example
Update Space Body — PUT /k/v1/space/body.json
Update Space Body — PUT /k/v1/space/body.json
Delete Space — DELETE /k/v1/space.json
Delete Space — DELETE /k/v1/space.json
Get Space Members — GET /k/v1/space/members.json
Get Space Members — GET /k/v1/space/members.json
Retrieves the list of members in a space.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | Integer | Yes | The space ID. |
Response
| Parameter | Type | Description |
|---|---|---|
members | Array | A list of member objects. |
members[].entity | Object | The entity (user, group, or organization). |
members[].entity.type | String | The entity type: USER, GROUP, or ORGANIZATION. |
members[].entity.code | String | The code of the entity. |
members[].isAdmin | Boolean | Whether the member is a space administrator. |
members[].includeSubs | Boolean | Whether sub-organizations are included (for ORGANIZATION type). |
Example
Update Space Members — PUT /k/v1/space/members.json
Update Space Members — PUT /k/v1/space/members.json
Updates the member list of a space. This replaces the existing member list with the provided list.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | Integer | Yes | The space ID. |
members | Array | Yes | The new list of members. Each object must include an entity property. |
members[].entity | Object | Yes | The entity to add. |
members[].entity.type | String | Yes | The entity type: USER, GROUP, or ORGANIZATION. |
members[].entity.code | String | Yes | The code of the entity. |
members[].isAdmin | Boolean | Whether to grant space administrator rights. | |
members[].includeSubs | Boolean | Whether to include sub-organizations (ORGANIZATION type only). |
Response
An empty JSON object is returned.Example
Add Thread Comment — POST /k/v1/space/thread/comment.json
Add Thread Comment — POST /k/v1/space/thread/comment.json
Adds a comment to a thread in a space.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
space | Integer | Yes | The space ID. |
thread | Integer | Yes | The thread ID. |
comment | Object | Yes | The comment to post. |
comment.text | String | The text body of the comment. | |
comment.mentions | Array | Users to mention in the comment. | |
comment.files | Array | Files to attach to the comment. |
Response
| Parameter | Type | Description |
|---|---|---|
id | String | The comment ID of the newly created comment. |
Example
Add Thread — POST /k/v1/space/thread.json
Add Thread — POST /k/v1/space/thread.json
Update Thread — PUT /k/v1/space/thread.json
Update Thread — PUT /k/v1/space/thread.json
Add Guests — POST /k/v1/guests.json
Add Guests — POST /k/v1/guests.json
Creates guest user accounts in Kintone. Guest users can only access the guest spaces they are invited to.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
guests | Array | Yes | A list of guest user objects to create. |
guests[].name | String | Yes | The display name of the guest user. |
guests[].code | String | Yes | The email address used as the login name. |
guests[].password | String | Yes | The login password for the guest user. |
guests[].timezone | String | Yes | The timezone for the guest user (e.g., Asia/Tokyo). |
guests[].locale | String | The locale setting (e.g., en, ja). | |
guests[].image | String | The file key of a profile image (from Upload File API). | |
guests[].surNameReading | String | Phonetic reading of the surname. | |
guests[].givenNameReading | String | Phonetic reading of the given name. | |
guests[].company | String | The guest’s company name. | |
guests[].division | String | The guest’s division or department. | |
guests[].phone | String | The guest’s phone number. | |
guests[].callto | String | The guest’s Skype name. |
Response
An empty JSON object is returned.Example
Update Guest Members — PUT /k/guest/{spaceId}/v1/space/guests.json
Update Guest Members — PUT /k/guest/{spaceId}/v1/space/guests.json
Updates the guest members of a guest space. This replaces the current guest member list.
This endpoint uses a different base path than other space endpoints. Replace
{spaceId} in the URL with the ID of the guest space.Request
| Parameter | Type | Required | Description |
|---|---|---|---|
guests | Array | Yes | A list of guest user login names (email addresses) to add to the space. |
Response
An empty JSON object is returned.Example
Related pages
- Authentication — Set up request authentication.
- JS API Space APIs — Manage spaces from within Kintone customizations.
- Files — Upload files for use as space cover images or comment attachments.
- Plug-ins — Install and manage Kintone plug-ins.