Trying to push typing indicators and read receipts from a custom web widget using the Guest API. The initial message sends fine, but the subsequent typing and read events seem to drop silently. No error returned, just no reaction on the CXone side.
Here’s the JSON payload for the typing event:
{
"from": { "id": "guest-12345", "name": "Test User" },
"to": { "id": "queue-id-abc" },
"type": "typing",
"text": "",
"timestamp": "2023-10-27T15:30:00Z"
}
I’m hitting POST /api/v2/interactions/messages with this. Status is 200 OK. But the agent never sees the “typing” animation. Same thing for read receipts-sending a read type with the message ID of the last received message. The API accepts it, but the UI doesn’t update.
Am I missing a required field in the payload? Or is this endpoint strictly for inbound messages only and I need to use a different method for status updates?