Convert Work Chat
POST /work/chats/{chat_id}/convert
POST
/work/chats/{chat_id}/convert
Turn a chat into a private channel named name, history intact. PERSONAL KEY ONLY.
201 with channel, chatId, agentIds, copiedMessages and duplicate. 404 for a chat that is not the caller’s,
409 when the name is taken or the chat was already converted, 422 for a name that cannot be a channel name.
Authorizations
Parameters
Path Parameters
chat_id
required
Chat id
string
Chat id
Header Parameters
Idempotency-Key
Request Body required
Responses
201
Successful Response
object
data
required
A Work channel, chat, output, task, decision or activity document, as the app returns it.
object
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string