reply
Post a reply to a Twist thread or conversation. Optionally specify recipients, groups, or audience to control who gets notified.
Instructions
Post a reply to a thread (as a comment) or conversation (as a message). Thread replies notify everyone who has interacted with the thread by default unless specific user recipients, groups, or a notifyAudience are provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | No | Optional array of group IDs to notify (only for thread replies). Use get-groups to discover group IDs before passing them here. | |
| content | Yes | The content of the reply. | |
| targetId | Yes | The ID of the thread or conversation to reply to. | |
| recipients | No | Optional array of user IDs to notify (only for thread replies). If omitted with no groups and no notifyAudience, thread replies default to notifying everyone who has interacted with the thread. | |
| targetType | Yes | The type of object to reply to: thread (posts a comment) or conversation (posts a message). | |
| notifyAudience | No | Optional broader audience to notify in addition to recipients and groups (only for thread replies). 'channel' notifies everyone in the channel; 'thread' notifies everyone who has interacted with the thread. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| groups | No | ||
| content | Yes | ||
| created | Yes | ||
| replyId | Yes | ||
| success | Yes | ||
| replyUrl | Yes | ||
| targetId | Yes | ||
| recipients | No | ||
| targetType | Yes | ||
| notifyAudience | No |