Skip to main content
PUT
/
v1
/
conversation
/
{conversation_id}
/
speak
Speak
curl --request PUT \
  --url https://api.trugen.ai/v1/v1/conversation/{conversation_id}/speak \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "text": "Hello, Hi from team trugen."
}
'
{
  "message": "Agent is speaking the provided text."
}

Authorizations

x-api-key
string
header
required

Path Parameters

conversation_id
string
required

The unique identifier of the active conversation.

Example:

"conv_abc123"

Body

application/json
text
string
required

The text the agent should speak in the conversation.

Example:

"Hello, Hi from team trugen."

Response

The agent has spoken the provided text.

message
string
Example:

"Agent is speaking the provided text."