Guest API typing indicators returning 400 Bad Request

We’re trying to implement typing indicators for our webchat guests using the Guest API. The conversation is established, but when we POST to /api/v2/conversations/webchat/messages with the typing flag, it fails. The payload looks correct, but the server isn’t having it. Here’s the JSON we’re sending:

{
 "from": {"id": "guest-id-123"},
 "to": {"id": "conversation-id"},
 "typing": true
}

It returns a 400 error. Is there a specific scope or format we’re missing?

payload structure’s off. you need to wrap that in a messages array and set the type. also, to needs the specific participant ID, not the conversation ID.

{
 "messages": [{
 "from": { "id": "guest-id-123" },
 "to": { "id": "agent-participant-id" },
 "type": "typing"
 }]
}

check the participant ID in the conversation object.