Chatwork

App · 19 actions

Read chats and task lists, send messages, and watch rooms for new activity.

Actions

ActionWhat it does
Create a taskCreate a task in a selected Chatwork chat.
Delete a messageDelete a message in a selected Chatwork chat.
Edit a messageEdit a message in a selected Chatwork chat.
Get a chatGet a chat in the selected chat.
Get a chat fileGet a chat file by ID.
Get a chat invite linkGet a chat invite link in the selected chat.
Get a messageGet a message by ID.
Get a taskGet a task by ID.
Get my Chatwork profileGet my Chatwork profile for the connected account.
Get my unread countsGet my unread counts for the connected account.
List chat filesList chat files in the selected chat.
List chat membersList chat members in the selected chat.
List chat tasksList chat tasks in the selected chat.
List chatsList chats for the connected account.
List contactsList contacts for the connected account.
List messagesList messages in the selected chat.
List my tasksList my tasks for the connected account.
Send a messageSend a message in a selected Chatwork chat.
Set task statusSet task status in a selected Chatwork chat.

Create a task

Create a task in a selected Chatwork chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.
TasktasktextRequired
What needs to be done.
AssigneesassigneeslistRequired
Enter the Chatwork account IDs to assign.
Due atdue_atdate and time
The due date and time.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "task_ids": [
      1
    ]
  }
}

Delete a message

Delete a message in a selected Chatwork chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.
Message IDmessage_idtextRequired
The message id.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "message_id": "example"
  }
}

Edit a message

Edit a message in a selected Chatwork chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.
Message IDmessage_idtextRequired
The message id.
MessagemessagetextRequired
The full replacement message.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "message_id": "example"
  }
}

Get a chat

Get a chat in the selected chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "last_update_time": 1,
    "name": "example",
    "room_id": 1,
    "type": "example"
  }
}

Get a chat file

Get a chat file by ID.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.
File IDfile_idnumberRequired
The file id.At least 1.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "file_id": 1,
    "filename": "example",
    "filesize": 1,
    "upload_time": 1
  }
}

Get a chat invite link in the selected chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "code": "example",
    "public": 1,
    "url": "example"
  }
}

Get a message

Get a message by ID.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.
Message IDmessage_idtextRequired
The message id.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "account": {
      "account_id": 1,
      "avatar_image_url": "example",
      "chatwork_id": "example",
      "name": "example"
    },
    "body": "example",
    "message_id": "example",
    "send_time": 1,
    "update_time": 1
  }
}

Get a task

Get a task by ID.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.
Task IDtask_idnumberRequired
The task id.At least 1.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "account": {
      "account_id": 1,
      "avatar_image_url": "example",
      "chatwork_id": "example",
      "name": "example"
    },
    "body": "example",
    "limit_time": 1,
    "status": "example",
    "task_id": 1
  }
}

Get my Chatwork profile

Get my Chatwork profile for the connected account.

Inputs

None.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "account_id": 1,
    "avatar_image_url": "example",
    "chatwork_id": "example",
    "name": "example"
  }
}

Get my unread counts

Get my unread counts for the connected account.

Inputs

None.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "mention_num": 1,
    "mytask_num": 1,
    "unread_num": 1
  }
}

List chat files

List chat files in the selected chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.

Outputs

datalist
The response from Chatwork.
Example output
{
  "data": [
    {
      "file_id": 1,
      "filename": "example",
      "filesize": 1,
      "upload_time": 1
    }
  ]
}

List chat members

List chat members in the selected chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.

Outputs

datalist
The response from Chatwork.
Example output
{
  "data": [
    {
      "account_id": 1,
      "avatar_image_url": "example",
      "chatwork_id": "example",
      "name": "example"
    }
  ]
}

List chat tasks

List chat tasks in the selected chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.

Outputs

datalist
The response from Chatwork.
Example output
{
  "data": [
    {
      "account": {
        "account_id": 1,
        "avatar_image_url": "example",
        "chatwork_id": "example",
        "name": "example"
      },
      "body": "example",
      "limit_time": 1,
      "status": "example",
      "task_id": 1
    }
  ]
}

List chats

List chats for the connected account.

Inputs

None.

Outputs

datalist
The response from Chatwork.
Example output
{
  "data": [
    {
      "last_update_time": 1,
      "name": "example",
      "room_id": 1,
      "type": "example"
    }
  ]
}

List contacts

List contacts for the connected account.

Inputs

None.

Outputs

datalist
The response from Chatwork.
Example output
{
  "data": [
    {
      "account_id": 1,
      "avatar_image_url": "example",
      "chatwork_id": "example",
      "name": "example"
    }
  ]
}

List messages

List messages in the selected chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.

Outputs

datalist
The response from Chatwork.
Example output
{
  "data": [
    {
      "account": {
        "account_id": 1,
        "avatar_image_url": "example",
        "chatwork_id": "example",
        "name": "example"
      },
      "body": "example",
      "message_id": "example",
      "send_time": 1,
      "update_time": 1
    }
  ]
}

List my tasks

List my tasks for the connected account.

Inputs

None.

Outputs

datalist
The response from Chatwork.
Example output
{
  "data": [
    {
      "account": {
        "account_id": 1,
        "avatar_image_url": "example",
        "chatwork_id": "example",
        "name": "example"
      },
      "body": "example",
      "limit_time": 1,
      "status": "example",
      "task_id": 1
    }
  ]
}

Send a message

Send a message in a selected Chatwork chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.
MessagemessagetextRequired
The message to send.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "message_id": "example"
  }
}

Set task status

Set task status in a selected Chatwork chat.

Inputs

Roomroom_idnumberRequired
The room id.At least 1.
Task IDtask_idnumberRequired
The task id.At least 1.
StatusstatustextRequired
Mark the task open or done.One of: open, done.

Outputs

dataobject
The response from Chatwork.
Example output
{
  "data": {
    "task_id": 1
  }
}

On this page