Text - Append to Existing Conversation
PUT {{base_url}}/v1/process/text/{{conversation_id}}
Append Text Conversation
The PUT Async Text API allows you to process any text payload to append the transcription of the previous conversation.
It can be useful in cases where you have new information like chats, emails, or messages which keep generating for a single entity. Using this API, you can add all the new entity data to the existing conversationId
The `conversationId` of the conversation processed from any channels (Realtime, Audio/Video Files or Text Content) are allowed.
Learn More about Async Text API
Request Body
JSON body with an array of messages.
Response
In response, conversationId
and jobId are returned.
jobId
can be used to get updates on the job status.
conversationId
can be used with the Conversation API to get all the insights, topics and processed messages, etc.
Request Body
{"messages"=>[{"payload"=>{"content"=>"Hi Steve, it was great chatting with you! I was really impressed with your recruitment philosophy. I will set up meetings with two students for the internship positions that match your screening criteria over next week. Hope you have a great weekend."}, "from"=>{"userId"=>"natalia@example.com", "name"=>"Natalia"}}, {"payload"=>{"content"=>"Thanks Natalia. It was great talking with you as well. Looking forward."}, "from"=>{"userId"=>"steve@abccorp.com", "name"=>"Steve"}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-api-key | string |