Trying to push a canned response to a chat participant using the Python SDK. The agent sends text fine, but when I try to send the canned response payload, the API returns a 400 Bad Request. The interaction ID is valid. Here’s the snippet and error:
resp = client.conversations_api.post_conversations_messages(interaction_id, body=payload)
{"code": "invalidRequestPayload", "message": "Unsupported message type for canned response"}
Is the endpoint wrong for canned responses?