Trying to set wrap-up codes programmatically after a voice interaction ends. I’m calling PUT /api/v2/conversations/voice/{conversationId} with the wrapupCode in the payload. It returns a 400 Bad Request saying the field is immutable or invalid.
{
"wrapupCode": {
"id": "abc-123"
}
}
Is there a specific endpoint for this? Or do I need to use the internal flow data action instead?