PATCH /api/v2/conversations/participants not updating custom attributes mid-call

Hey everyone,

I’m hitting a wall with the Conversations API. I need to update a custom participant attribute mid-conversation to track WFM adherence flags. I’m using the PATCH endpoint, but the response comes back with a 200 OK and the old values.

Here is the JSON payload I’m sending:

{
 "customAttributes": {
 "wfm_adherence_check": "true"
 }
}

I’ve tried:

  • Using the correct conversation ID and participant ID
  • Setting the Content-Type header to application/json
  • Checking the participant state is active

The attribute isn’t showing up in the real-time analytics. Is there a specific way to format the customAttributes object for mid-conversation updates? I feel like I’m missing something obvious.

Are you sending the If-Match header? The API requires it for updates. Also, the 200 OK usually means the request succeeded, but the response body might just reflect the state before the patch applied. Check the Location header or do a subsequent GET to verify the change persisted.