Agents

Send a message in your private chat with an agent

Changed on

Starts a turn in the signed-in member's private chat with the agent, or returns the existing turn for the same clientMessageId. Pass a unique clientMessageId and message, then read the reply with getPersonalAgentStandingChat until the turn finishes.

post/v1/personal-agents/{id}/standing-chat

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string required

Request body

object required
clientMessageId, string required
message, string required
references, ConversationReference[]
handBack, boolean

True when the person had control of the agent's browser or computer: the agent gets it back before this turn starts.

Response

Turn accepted or returned from an earlier request.

object required
turn, object required

Changes

    • info

      added the new optional request property handBack

    • info

      added the optional property turn/desktop to the response with the status

    • info

      added the optional property turn/outputs to the response with the status