integrating the Genesys Cloud Web Messaging Guest API into our custom frontend application to handle typing indicators and read receipts. The objective is to provide real-time feedback to agents regarding the guest’s activity. We have successfully established the conversation channel and can send standard messages without issue. However, when attempting to push typing events via the documented endpoint, we encounter a persistent HTTP 405 Method Not Allowed error.
The request is being constructed as follows:
POST /api/v2/conversations/webmessaging/{conversationId}/typing
token: <valid_access_token>
content-type: application/json
{
"participantId": "<guest_participant_id>"
}
The documentation suggests that the typing sub-resource should accept a POST request to indicate that the user is currently composing a message. We have verified that the conversationId and participantId are valid by cross-referencing them with the active conversation state retrieved via the GET endpoint. The token possesses the necessary webmessaging:conversation:read and webmessaging:conversation:write scopes.
Interestingly, the same payload structure works perfectly for the read receipt endpoint (/api/v2/conversations/webmessaging/{conversationId}/read). This discrepancy leads us to believe there might be a specific constraint or a different required format for the typing indicator resource that is not explicitly detailed in the standard reference. We have also attempted to include a timestamp field in the payload, but the 405 response remains unchanged.
Has anyone successfully implemented the typing indicator endpoint? We are unsure if the API versioning affects this specific resource or if we are missing a required header parameter. The error response body is empty, which makes debugging difficult. We are using the standard REST endpoints rather than the SDK for this specific integration to maintain low-level control over the event lifecycle.