ReferenceAppsConciergeClient

Create support conversation and stream

Create a new support conversation and stream the response

POST
/apps/bivariant.concierge/modules/client/actions/conversation.create-stream
AuthorizationBearer <token>

Bearer token authentication. Use your API key as the bearer token.

In: header

Header Parameters

X-Bivariant-Space-Idstring

Space ID

X-Bivariant-Guest-Account-Id?string

Guest Account ID

Conversation creation input

brandId?string

The ID of the brand to create the conversation for.

live?boolean

Whether the conversation is a voice conversation.

message?string

The message content of the first message in the conversation. This is optional. If not provided, the conversation will be created without any messages.

roomIdstring

The ID of the room to create the conversation in.

title?string

The title of the conversation.

Response Body

curl -X POST "https://eu1.api.bivariant.com/v1/apps/bivariant.concierge/modules/client/actions/conversation.create-stream" \  -H "X-Bivariant-Space-Id: string" \  -H "X-Bivariant-Guest-Account-Id: string" \  -H "Content-Type: application/json" \  -d '{    "roomId": "string"  }'
{
  "aiRole": 0,
  "attachments": [
    {
      "contentType": "string",
      "kind": "string",
      "metadata": [
        0
      ],
      "name": "string",
      "payload": [
        0
      ]
    }
  ],
  "content": "string",
  "done": true,
  "error": "string",
  "messageId": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}