Skip to main content
These endpoints let you create, read, update, and delete spaces, manage space members and threads, and work with guest users.

Endpoints

Retrieves information about a space.

Request

ParameterTypeRequiredDescription
idIntegerYesThe space ID.

Response

ParameterTypeDescription
idStringThe space ID.
nameStringThe name of the space.
isPrivateBooleanWhether the space is private.
creatorObjectThe user who created the space.
modifierObjectThe user who last modified the space.
memberCountStringThe number of members in the space.
coverTypeStringThe cover image type (PRESET or FILE).
coverKeyStringThe key of the cover image.
coverUrlStringThe URL of the cover image.
bodyStringThe HTML body of the space.
useMultiThreadBooleanWhether multi-thread is enabled.
isGuestBooleanWhether the space is a guest space.
attachedAppsArrayApps attached to the space.
threadIdsArrayIDs of threads in the space.
fixedMemberBooleanWhether the member list is fixed.
showAnnouncementBooleanWhether the announcement section is shown.
showThreadListBooleanWhether the thread list is shown.
showAppListBooleanWhether the app list is shown.
showMemberListBooleanWhether the member list is shown.
showRelatedLinkListBooleanWhether the related links list is shown.

Example

curl -X GET 'https://{subdomain}.kintone.com/k/v1/space.json?id=1' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json'
Creates a new space from an existing space template.

Request

ParameterTypeRequiredDescription
idIntegerYesThe ID of the space template to use.
nameStringYesThe name of the new space.
membersArrayYesAn array of member objects to add to the space.
isPrivateBooleanWhether the space is private.
isGuestBooleanWhether the space is a guest space.
fixedMemberBooleanWhether to fix the member list (prevent members from joining or leaving on their own).

Response

ParameterTypeDescription
idStringThe ID of the newly created space.

Example

curl -X POST 'https://{subdomain}.kintone.com/k/v1/template/space.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 1,
    "name": "New Project Space",
    "members": [
      { "entity": { "type": "USER", "code": "user1" }, "isAdmin": true }
    ],
    "isPrivate": false
  }'
Updates the body (HTML content) of a space.

Request

ParameterTypeRequiredDescription
idIntegerYesThe space ID.
bodyStringYesThe HTML content to set as the space body.

Response

An empty JSON object is returned.

Example

curl -X PUT 'https://{subdomain}.kintone.com/k/v1/space/body.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 1,
    "body": "<b>Welcome to the project space!</b>"
  }'
Deletes a space and all of its data, including threads, comments, and attached apps.
This action is permanent and cannot be undone. All threads, comments, and app associations within the space will be deleted.

Request

ParameterTypeRequiredDescription
idIntegerYesThe space ID.

Response

An empty JSON object is returned.

Example

curl -X DELETE 'https://{subdomain}.kintone.com/k/v1/space.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{"id": 1}'
Retrieves the list of members in a space.

Request

ParameterTypeRequiredDescription
idIntegerYesThe space ID.

Response

ParameterTypeDescription
membersArrayA list of member objects.
members[].entityObjectThe entity (user, group, or organization).
members[].entity.typeStringThe entity type: USER, GROUP, or ORGANIZATION.
members[].entity.codeStringThe code of the entity.
members[].isAdminBooleanWhether the member is a space administrator.
members[].includeSubsBooleanWhether sub-organizations are included (for ORGANIZATION type).

Example

curl -X GET 'https://{subdomain}.kintone.com/k/v1/space/members.json?id=1' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json'
Updates the member list of a space. This replaces the existing member list with the provided list.

Request

ParameterTypeRequiredDescription
idIntegerYesThe space ID.
membersArrayYesThe new list of members. Each object must include an entity property.
members[].entityObjectYesThe entity to add.
members[].entity.typeStringYesThe entity type: USER, GROUP, or ORGANIZATION.
members[].entity.codeStringYesThe code of the entity.
members[].isAdminBooleanWhether to grant space administrator rights.
members[].includeSubsBooleanWhether to include sub-organizations (ORGANIZATION type only).

Response

An empty JSON object is returned.

Example

curl -X PUT 'https://{subdomain}.kintone.com/k/v1/space/members.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 1,
    "members": [
      { "entity": { "type": "USER", "code": "user1" }, "isAdmin": true },
      { "entity": { "type": "GROUP", "code": "group1" }, "isAdmin": false }
    ]
  }'
Adds a comment to a thread in a space.

Request

ParameterTypeRequiredDescription
spaceIntegerYesThe space ID.
threadIntegerYesThe thread ID.
commentObjectYesThe comment to post.
comment.textStringThe text body of the comment.
comment.mentionsArrayUsers to mention in the comment.
comment.filesArrayFiles to attach to the comment.

Response

ParameterTypeDescription
idStringThe comment ID of the newly created comment.

Example

curl -X POST 'https://{subdomain}.kintone.com/k/v1/space/thread/comment.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "space": 1,
    "thread": 3,
    "comment": {
      "text": "This is a comment."
    }
  }'
Adds a new thread to a space.

Request

ParameterTypeRequiredDescription
spaceIntegerYesThe space ID.
nameStringYesThe name of the thread.

Response

ParameterTypeDescription
idStringThe thread ID of the newly created thread.
nameStringThe name of the thread.

Example

curl -X POST 'https://{subdomain}.kintone.com/k/v1/space/thread.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "space": 1,
    "name": "Discussion Thread"
  }'
Updates the name or body of a thread in a space.

Request

ParameterTypeRequiredDescription
idIntegerYesThe thread ID.
nameStringThe new name of the thread.
bodyStringThe HTML content to set as the thread body.

Response

An empty JSON object is returned.

Example

curl -X PUT 'https://{subdomain}.kintone.com/k/v1/space/thread.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": 3,
    "name": "Updated Thread Name",
    "body": "<b>Thread body content</b>"
  }'
Creates guest user accounts in Kintone. Guest users can only access the guest spaces they are invited to.

Request

ParameterTypeRequiredDescription
guestsArrayYesA list of guest user objects to create.
guests[].nameStringYesThe display name of the guest user.
guests[].codeStringYesThe email address used as the login name.
guests[].passwordStringYesThe login password for the guest user.
guests[].timezoneStringYesThe timezone for the guest user (e.g., Asia/Tokyo).
guests[].localeStringThe locale setting (e.g., en, ja).
guests[].imageStringThe file key of a profile image (from Upload File API).
guests[].surNameReadingStringPhonetic reading of the surname.
guests[].givenNameReadingStringPhonetic reading of the given name.
guests[].companyStringThe guest’s company name.
guests[].divisionStringThe guest’s division or department.
guests[].phoneStringThe guest’s phone number.
guests[].calltoStringThe guest’s Skype name.

Response

An empty JSON object is returned.

Example

curl -X POST 'https://{subdomain}.kintone.com/k/v1/guests.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "guests": [
      {
        "name": "Jane Smith",
        "code": "[email protected]",
        "password": "password",
        "timezone": "America/New_York",
        "locale": "en"
      }
    ]
  }'
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

ParameterTypeRequiredDescription
guestsArrayYesA list of guest user login names (email addresses) to add to the space.

Response

An empty JSON object is returned.

Example

curl -X PUT 'https://{subdomain}.kintone.com/k/guest/1/v1/space/guests.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "guests": ["[email protected]", "[email protected]"]
  }'
Deletes guest user accounts from Kintone.
Deleting a guest user permanently removes their account and all access to guest spaces. This action cannot be undone.

Request

ParameterTypeRequiredDescription
guestsArrayYesA list of guest user login names (email addresses) to delete.

Response

An empty JSON object is returned.

Example

curl -X DELETE 'https://{subdomain}.kintone.com/k/v1/guests.json' \
  -H 'X-Cybozu-Authorization: {AuthorizationCode}' \
  -H 'Content-Type: application/json' \
  -d '{
    "guests": ["[email protected]"]
  }'
  • 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.

Build docs developers (and LLMs) love