Twist

App · 14 actions

Read workspaces, channels, threads, comments, and messages in Twist.

Actions

ActionWhat it does
Get channelRead one channel’s details.
Get commentRead one thread comment.
Get current userRead the Twist account that approved this connection.
Get default workspaceRead your default Twist workspace.
Get threadRead the details of a thread.
Get workspaceRead the details for one workspace.
List channelsShow channels you can access in a workspace.
List commentsShow comments in a thread.
List conversation messagesShow the messages in a conversation.
List conversationsShow your conversations in one workspace.
List public channelsFind public channels in a workspace.
List threadsShow threads in a channel and optionally filter by date.
List workspace usersShow the people in one workspace.
List workspacesShow workspaces you can access.

Get channel

Read one channel’s details.

Inputs

ChannelchannelnumberRequired
Use the channel ID from List channels.From 1 to 9007199254740991.

Outputs

dataobject
The response from Twist.
Example output
{
  "data": {
    "id": 1,
    "name": "example"
  }
}

Get comment

Read one thread comment.

Inputs

CommentcommentnumberRequired
Use the comment ID from List comments.From 1 to 9007199254740991.

Outputs

dataobject
The response from Twist.
Example output
{
  "data": {
    "content": "example",
    "id": 1
  }
}

Get current user

Read the Twist account that approved this connection.

Inputs

None.

Outputs

dataobject
The response from Twist.
Example output
{
  "data": {
    "id": 1,
    "name": "example"
  }
}

Get default workspace

Read your default Twist workspace.

Inputs

None.

Outputs

dataobject
The response from Twist.
Example output
{
  "data": {
    "id": 1,
    "name": "example"
  }
}

Get thread

Read the details of a thread.

Inputs

ThreadthreadnumberRequired
Use the thread ID from List threads.From 1 to 9007199254740991.

Outputs

dataobject
The response from Twist.
Example output
{
  "data": {
    "content": "example",
    "id": 1,
    "title": "example"
  }
}

Get workspace

Read the details for one workspace.

Inputs

WorkspaceworkspacenumberRequired
Choose the workspace.From 1 to 9007199254740991.

Outputs

dataobject
The response from Twist.
Example output
{
  "data": {
    "id": 1,
    "name": "example"
  }
}

List channels

Show channels you can access in a workspace.

Inputs

WorkspaceworkspacenumberRequired
Choose the workspace.From 1 to 9007199254740991.

Outputs

datalist
The response from Twist.
Example output
{
  "data": [
    {
      "id": 1,
      "name": "example"
    }
  ]
}

List comments

Show comments in a thread.

Inputs

ThreadthreadnumberRequired
Use the thread ID from List threads.From 1 to 9007199254740991.
Limitlimitnumber
Set the number of results to return.From 1 to 500.

Outputs

datalist
The response from Twist.
Example output
{
  "data": [
    {
      "content": "example",
      "id": 1
    }
  ]
}

List conversation messages

Show the messages in a conversation.

Inputs

ConversationconversationnumberRequired
Use the conversation ID from List conversations.From 1 to 9007199254740991.
Limitlimitnumber
Set the number of results to return.From 1 to 500.

Outputs

datalist
The response from Twist.
Example output
{
  "data": [
    {
      "content": "example",
      "id": 1
    }
  ]
}

List conversations

Show your conversations in one workspace.

Inputs

WorkspaceworkspacenumberRequired
Choose the workspace.From 1 to 9007199254740991.
Limitlimitnumber
Set the number of results to return.From 1 to 500.

Outputs

datalist
The response from Twist.
Example output
{
  "data": [
    {
      "id": 1
    }
  ]
}

List public channels

Find public channels in a workspace.

Inputs

WorkspaceworkspacenumberRequired
Choose the workspace.From 1 to 9007199254740991.

Outputs

datalist
The response from Twist.
Example output
{
  "data": [
    {
      "id": 1,
      "name": "example"
    }
  ]
}

List threads

Show threads in a channel and optionally filter by date.

Inputs

ChannelchannelnumberRequired
Use the channel ID from List channels.From 1 to 9007199254740991.
Limitlimitnumber
Set the number of results to return.From 1 to 500.
Newer thannewer_thandate and time
Only return threads created after this date and time.
Older thanolder_thandate and time
Only return threads created before this date and time.
Before IDbefore_idnumber
Continue paging before this thread ID.From 1 to 9007199254740991.

Outputs

datalist
The response from Twist.
Example output
{
  "data": [
    {
      "content": "example",
      "id": 1,
      "title": "example"
    }
  ]
}

List workspace users

Show the people in one workspace.

Inputs

WorkspaceworkspacenumberRequired
Choose the workspace.From 1 to 9007199254740991.

Outputs

datalist
The response from Twist.
Example output
{
  "data": [
    {
      "id": 1,
      "name": "example"
    }
  ]
}

List workspaces

Show workspaces you can access.

Inputs

None.

Outputs

datalist
The response from Twist.
Example output
{
  "data": [
    {
      "id": 1,
      "name": "example"
    }
  ]
}

On this page