build-link
Generate valid Twist URLs for threads, comments, conversations, or messages by providing a workspace ID and optional IDs for specific items.
Instructions
Build valid Twist URLs for threads, comments, conversations, or messages. Provide workspace_id and either (conversation_id + optional message_id) OR (thread_id + optional channel_id + optional comment_id).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fullUrl | No | Whether to return a full URL (with https://twist.com) or relative path. | |
| threadId | No | The thread ID (for thread/comment links). | |
| channelId | No | The channel ID (for thread links in channels). | |
| commentId | No | The comment ID (for specific comment links within a thread). | |
| messageId | No | The message ID (for specific message links within a conversation). | |
| workspaceId | Yes | The workspace ID. | |
| conversationId | No | The conversation ID (for direct message links). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| type | Yes | ||
| params | Yes | ||
| linkType | Yes |