Trying to push a flag from our CRM into Genesys Cloud during an active voice call. Using the Python SDK to hit POST /api/v2/conversations/voice/{conversationId}/participants/{participantId}. The auth works fine, I get the IDs from the webhook payload. But the update fails immediately.
Here’s the request body I’m sending:
{
"attributes": {
"priority": "high"
}
}
Response is a 400 Bad Request with this error:
{
"code": "invalid_request_body",
"message": "Invalid participant update request."
}
The conversation is definitely live. I’ve tried removing the attributes key and just sending an empty object, but it still errors. Is there a specific format required for the attributes object on voice conversations?