Trying to send a canned response programmatically. The POST to /api/v2/conversations/v1/chats/{id}/messages with this payload fails with 400 Bad Request. No useful details in the error body. Tried changing the type to text too. Same result.
{
"type": "agent",
"text": "Testing"
}
What is missing?