workers

Create Private Chat

Open a new private chat on this worker with its first message.

The path's worker_id is the parent; the response's worker_id is the chat. Sends into the chat named by chat_id, opening it if needed: a retry with the same message_id dedupes, while a new message_id is a second message in that chat. Later messages go through POST /worker/{worker_id}/messages with the returned worker_id.

post/worker/{worker_id}/private-chats

Path parameters

worker_idstring required

Request body

chat_idstring uuid required
message_idstring uuid required
messagestring required

Response

Successful Response

worker_idstring required
message_idstring required

Changes

Changed in 1 of the 64 revisions of this API.1

Of the 64 revisions, 9 have no diff computed.