Skip to content
Twist logo

Connectors / Communication · HTTP Connector

Automate Twist with Tray.ai

Create a thread, add a comment and create a channel in Twist, and start a workflow when Twist sends “Workspace user added”.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.

See all connectors

What can you do with Twist on Tray.ai?

Twist is a team messaging app from Doist that organises conversations into channel threads instead of a live chat stream, alongside direct messages. Tray.ai connects to Twist through the HTTP Connector, so your workflows can call the Twist API alongside the rest of your stack.

  • Create a thread in the incidents channel when your monitoring tool raises an alert.
  • When Twist sends “Thread added”, create a matching task in your project management tool.
  • Add a comment to the release thread when a deployment finishes in your CI system.
  • Add a workspace user when a new hire starts in your HR system.
Connects through
HTTP Connector
Authentication
OAuth 2.0 or a bearer token
Base URL
https://api.twist.com/api/v3

Set it up

Connect Twist to Tray.ai

Each step uses Twist's own API details, from its documentation.

Step 1

Sign in to Twist with OAuth 2.0

Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Twist. Sign in once and every step reads the token from there.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.twist.com/api/v3 as the base URL. Or paste a cURL example from Twist's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List threads”

It's one of 26 documented actions, under Threads. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Twist events

Give Twist the URL of a Tray.ai webhook trigger. “Workspace user added” can then start a workflow, and so can 8 other events.

What the Twist API covers

6 resources and 26 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Threads

  • List threads
  • Create a thread
  • Update a thread
  • Remove a thread
  • Close a thread

Comments

  • List comments
  • Add a comment
  • Update a comment
  • Remove a comment

Channels

  • List channels
  • Create a channel
  • Update a channel
  • Archive a channel
  • Add a channel user

Conversations

  • Get or create a conversation
  • Add a message
  • Update a message
  • Archive a conversation

Workspaces

  • Get a workspace
  • Add a workspace
  • Update a workspace
  • Add a workspace user

Groups

  • Create a group
  • Update a group
  • Add a user to a group
  • Remove a group

Events Twist can send to a Tray.ai webhook trigger

  • Workspace user added
  • Channel added
  • Channel updated
  • Thread added
  • Thread updated
  • Comment added
  • Comment updated
  • Message added
  • Group added

Checked against Twist's own documentation on 2026-10-22

developer.twist.com/v3

Frequently asked questions

What can a Tray.ai workflow do in Twist?

+

The Twist API documents 26 actions across 6 resources (Threads, Comments, Channels, Conversations, Workspaces, Groups). For example: List threads; List comments; List channels. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Twist?

+

The Twist API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Twist events can start a Tray.ai workflow?

+

Twist sends 9 events to a webhook URL, for example: Workspace user added; Channel added; Channel updated; Thread added; Thread updated; Comment added; Comment updated; Message added. A Tray.ai webhook trigger receives them and starts a workflow.

See Twist working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.