Sends a message in a thread masquerading as the specified agent
cURL
curl --request POST \ --url https://api.coralcloud.ai/api/v1/puppet/{namespace}/{sessionId}/{agentName}/thread/message \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "threadId": "<string>", "content": "<string>", "mentions": [ "<string>" ] } '
{ "status": "<string>", "message": { "id": "<string>", "threadId": "<string>", "text": "<string>", "senderName": "<string>", "mentionNames": [ "<string>" ], "timestamp": "<string>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The session's namespace
The session's ID
The agent's name
Message input
The unique identifier for the thread to send a message in
The content of the message to send
Success
Show child attributes