We’ve got a script that auto-assigns wrap-up codes based on interaction duration. It works for updates, but I can’t figure out the endpoint for setting the final code after the call hangs up. I’m trying to set the wrap-up code for the conversation, but it keeps coming back with a 405 Method Not Allowed. The docs are vague on post-interaction mutations.
Here’s the JSON I’m sending:
{
"wrapup": {
"code": "SOLD"
}
}
What’s the correct endpoint to patch the wrap-up status?