create_conversation_message
Send messages to Carbon Voice conversations by providing a transcript or attachment. Reply as a thread using a parent_id or create new messages in existing conversations.
Instructions
Sends a message to an existing conversation or any type with a conversation_id. To reply as a thread, included a message_id for "parent_id". You must provide a transcript or attachment.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
from_message_id | No | Message ID to be used as a base for the new message. (Optional only when from_message_type is NewMessage) | |
from_message_type | No | From Message type | NewMessage |
id | Yes | ||
links | No | Array of links to be attached to the message | |
transcript | No | The Message transcript will be used to generate audio using text-to-speech |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"from_message_id": {
"description": "Message ID to be used as a base for the new message. (Optional only when from_message_type is NewMessage)",
"type": "string"
},
"from_message_type": {
"default": "NewMessage",
"description": "From Message type",
"enum": [
"PreRecorded",
"NewMessage",
"Forward"
],
"type": "string"
},
"id": {
"type": "string"
},
"links": {
"description": "Array of links to be attached to the message",
"items": {
"type": "string"
},
"type": "array"
},
"transcript": {
"description": "The Message transcript will be used to generate audio using text-to-speech",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}