Trying to send a quick reply card via the Open Messaging API POST /api/v2/conversations/messaging/{conversationId}/messages. The text message works fine, but adding the quickReply structure returns a 400.
Here’s the payload I’m sending:
{
"to": [
{
"id": "channel-uuid",
"type": "channel"
}
],
"type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"content": {
"type": "card",
"body": {
"type": "text",
"text": "Select an option"
},
"quickReply": {
"action": {
"type": "postback",
"payload": "option_1"
},
"title": "Option 1"
}
}
}
The error response just says Invalid content type. I’ve checked the Swagger spec for MessagingMessageCreateRequest, but the nested quickReply object isn’t clearly defined under content. Is the type field on the root message object conflicting with the card structure? Or is quickReply only supported on specific channel types like WhatsApp?