Wrap-up code not sticking on POST /api/v2/interactions

  • does anyone know why my post-call wrap-up code gets ignored? i’m hitting /api/v2/interactions/{id} with a PUT after the interaction ends.
  • the payload includes wrapUpCode in the outbound object, but the analytics still show empty.
  • i get a 200 OK, so the request succeeds. the code works fine for internal notes, just not the wrap-up.
  • here’s the snippet:
{ "outbound": { "wrapUpCode": { "name": "Quality Check" } } }
  • am i missing a specific endpoint flag or is the interaction state locked too early?

It depends, but generally you’re hitting the wrong endpoint for post-call updates.

POST /api/v2/interactions/{id} - 200 OK but analytics empty

use the platformClient.AnalyticsApi instead of raw HTTP calls for this stuff. it’s way less headache.