Open Messaging API rejecting 'quick_reply' payload with 400 Bad Request

Hey folks,

Trying to send a structured card with quick replies via the Genesys Cloud Open Messaging API. I’m hitting POST /api/v2/conversations/messaging/conversations/{conversationId}/messages but getting a 400 Bad Request. The error message just says Invalid message format which isn’t super helpful.

Here’s the payload I’m sending:

{
 "from": {
 "id": "bot-id-123"
 },
 "text": "Please select an option:",
 "cards": [
 {
 "type": "quick_reply",
 "options": [
 { "label": "Sales", "value": "sales" },
 { "label": "Support", "value": "support" }
 ]
 }
 ]
}

I’ve checked the docs and it looks right. The from ID matches the bot configured in the channel. I’m using the standard OAuth2 token for the integration user. If I remove the cards array and just send plain text, it works fine. So it’s definitely the structured data causing the issue.

Am I missing a required field in the card object? Or is quick_reply not actually supported in the current API version? The docs are a bit sparse on examples for this specific card type.

Anyone else hit this wall?

The quick_reply object needs a type field set to text or postback, otherwise the parser chokes. Try adding "type": "postback" inside the action object.