ReferenceAppsConciergeClient
Post message and stream
Post a new message in a support conversation and stream the response
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
Message creation input
attachments?array<MessageAttachment>
contentstring
The message content
conversationIdstring
ID of the conversation to post the message to
roomIdstring
ID of the room to post the message to
Response Body
curl -X POST "https://eu1.api.bivariant.com/v1/apps/bivariant.concierge/modules/client/actions/message.post-stream" \ -H "X-Bivariant-Space-Id: string" \ -H "X-Bivariant-Guest-Account-Id: string" \ -H "Content-Type: application/json" \ -d '{ "content": "string", "conversationId": "string", "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"
}