Set Conversation Owner
set_conversation_ownerSet who answers a customer's text conversation. owner 'ai' (the default): Kai replies. 'human': Kai stays quiet and the business owner answers. 'external': Kai stays quiet and the business's own system answers; it receives the sms.received webhook and replies with send_message or POST /v1/messages. With external_reply_timeout_seconds (external only, 60 to 86400), Kai answers a message nothing replied to in that time. Messages are always stored and sms.received always fires. Pass conversation_id for one conversation, or phone for every conversation the business has with that customer. Re-sending the same owner changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | ||
| phone | No | The customer's number (E.164): every conversation the business has with it. | |
| business_id | No | Required when the account has more than one business and only phone is given. | |
| conversation_id | No | One conversation. Pass this or phone. | |
| external_reply_timeout_seconds | No | owner 'external' only: Kai answers when nothing replied in this many seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| error | No | Present when success is false | |
| owner | No | ||
| success | Yes | Whether the tool completed successfully | |
| owner_set_at | No | ||
| conversations | No | ||
| conversation_id | No | ||
| external_reply_timeout_seconds | No |