Twist
Node: twist · Full type: n8n-nodes-base.twist · Version: 1
Credentials
twistOAuth2Api (alias: @twist)
CREDENTIAL @twist = twistOAuth2Api "My Twist"
Operations
Resource: channel
archive
| Parameter |
Type |
Default |
Details |
channelId |
string |
"" |
required |
create
| Parameter |
Type |
Default |
Details |
workspaceId |
options |
"" |
required |
name |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: color, description, public, temp_id, user_ids |
delete
| Parameter |
Type |
Default |
Details |
channelId |
string |
"" |
required |
get
| Parameter |
Type |
Default |
Details |
channelId |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
workspaceId |
options |
"" |
required |
returnAll |
boolean |
false |
|
limit |
number |
50 |
|
filters |
collection |
{} |
keys: archived |
unarchive
| Parameter |
Type |
Default |
Details |
channelId |
string |
"" |
required |
update
| Parameter |
Type |
Default |
Details |
channelId |
string |
"" |
required |
updateFields |
collection |
{} |
keys: color, description, name, public |
create
| Parameter |
Type |
Default |
Details |
threadId |
string |
"" |
required |
content |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: actionsUi, binaryProperties, direct_mentions, mark_thread_position, recipients, temp_id, ... |
delete
| Parameter |
Type |
Default |
Details |
commentId |
string |
"" |
required |
get
| Parameter |
Type |
Default |
Details |
commentId |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
threadId |
string |
"" |
required |
returnAll |
boolean |
false |
|
limit |
number |
50 |
|
filters |
collection |
{} |
keys: as_ids, to_obj_index, newer_than_ts, older_than_ts, order_by, from_obj_index |
update
| Parameter |
Type |
Default |
Details |
commentId |
string |
"" |
required |
updateFields |
collection |
{} |
keys: actionsUi, binaryProperties, content, direct_mentions |
Resource: messageConversation
create
| Parameter |
Type |
Default |
Details |
workspaceId |
options |
"" |
required |
conversationId |
options |
"" |
required |
content |
string |
"" |
|
additionalFields |
collection |
{} |
keys: actionsUi, binaryProperties, direct_mentions |
delete
| Parameter |
Type |
Default |
Details |
id |
string |
"" |
required |
get
| Parameter |
Type |
Default |
Details |
id |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
workspaceId |
options |
"" |
required |
conversationId |
options |
"" |
required |
additionalFields |
collection |
{} |
keys: to_obj_index, limit, order_by, from_obj_index |
update
| Parameter |
Type |
Default |
Details |
id |
string |
"" |
required |
updateFields |
collection |
{} |
keys: actionsUi, binaryProperties, content, direct_mentions |
Resource: thread
create
| Parameter |
Type |
Default |
Details |
channelId |
string |
"" |
required |
title |
string |
"" |
required |
content |
string |
"" |
required |
additionalFields |
collection |
{} |
keys: actionsUi, binaryProperties, direct_mentions, recipients, send_as_integration, temp_id |
delete
| Parameter |
Type |
Default |
Details |
threadId |
string |
"" |
required |
get
| Parameter |
Type |
Default |
Details |
threadId |
string |
"" |
required |
getAll
| Parameter |
Type |
Default |
Details |
channelId |
string |
"" |
required |
returnAll |
boolean |
false |
|
limit |
number |
50 |
|
filters |
collection |
{} |
keys: as_ids, filter_by, newer_than_ts, older_than_ts |
update
| Parameter |
Type |
Default |
Details |
threadId |
string |
"" |
required |
updateFields |
collection |
{} |
keys: actionsUi, binaryProperties, content, direct_mentions, title |
Parameter Details
additionalFields children:
| Parameter |
Type |
Default |
Details |
color |
options |
0 |
6, 1, 4, 0, 7, 9, 5, 11, ... (12 total) |
description |
string |
"" |
|
public |
boolean |
false |
|
temp_id |
number |
-1 |
|
user_ids |
multiOptions |
[] |
|
filters children:
| Parameter |
Type |
Default |
Details |
archived |
boolean |
false |
|
updateFields children:
| Parameter |
Type |
Default |
Details |
color |
options |
0 |
6, 1, 4, 0, 7, 9, 5, 11, ... (12 total) |
description |
string |
"" |
|
name |
string |
"" |
|
public |
boolean |
false |
|
Example
NODE "twist" @twist AS "Twist" {
resource: "channel",
operation: "get",
name: {{ $json.name }},
channelId: {{ $json.channelId }},
threadId: {{ $json.threadId }}
}