I have not used audio connector so my answer will just be based on the doc (https://help.mypurecloud.com/articles/configure-and-activate-audio-connector-in-genesys-cloud/ and https://developer.genesys.cloud/devapps/audiohook/introduction) and Faisal's previous answer.
And listen on that address.
Original Message:
Sent: 11-07-2025 10:03
From: francois-regis plagnol
Subject: Connect to OpenAI's real-time API using an audio connector.
Hello @Faisal Yousuf and @Jerome Saint-Marc,
I've masked all sensitive information below with XXXX for security reasons.
I'm facing an issue when trying to connect Genesys Cloud Audio Connector to a third-party WebSocket endpoint hosted on AWS API Gateway.
My setup
Region: EU (Frankfurt) – apps.mypurecloud.de
Integration: [FRP] Audio Connector
Base Connection URI:
wss://XXXXXXXXXXXX.execute-api.eu-central-1.amazonaws.com/production
API Key: pgl_XXXXXXXXXXXXXXXXXXXXXXXXXXXX
Client Secret: left empty (no HMAC signature configured yet)
Architect flow: Call Audio Connector action with Connector ID = "YYYY" where "YYYYYYYYYYYYYYYYYYYY" = "https://apps.mypurecloud.de/directory/#/admin/integrations/apps/audio-connector/YYYYYYYYYYYYYYYYYYYY/details
What works
When testing manually from the command line using wscat, the WebSocket connection is successful and confirmed by my AWS Lambda logs:
The $connect event appears in CloudWatch with a 200 response, confirming the endpoint and authentication are working properly.
What fails
However, when using the same configuration in Genesys Architect, the Call Audio Connector action fails immediately with the following error message:
In addition, no $connect event appears in my CloudWatch logs during these failed attempts - it seems Genesys Cloud does not initiate the WebSocket connection at all.
My questions
Is a Client Secret (HTTP Message Signing) required for Genesys Cloud to establish the connection, or should a simple X-API-KEY header be sufficient?
If the Client Secret is optional, what could prevent Genesys from even attempting the connection while wscat connects successfully?
Are there known limitations or special requirements when using AWS API Gateway WebSocket endpoints as the Audio Connector target?
Thank you very much for your help and clarification.
Best regards,
François-Régis PLAGNOL
------------------------------
francois-regis plagnol
Consultant
Original Message:
Sent: 09-30-2025 03:00
From: Faisal Yousuf
Subject: Connect to OpenAI's real-time API using an audio connector.
Hi Yonezawa Takuya,
Genesys Cloud uses the HTTP Message Signing protocol for authenticating Audio Connector / Audio Hook connections. When Genesys Cloud connects to your Audio Connector WebSocket server, it generates an HMAC using SHA-256 based on the KeyId and Secret Key you configure in the Audio Connector integration credentials. For the sample GitHub implementation, the key is hardcoded, so to make it work you just need to ensure the KeyId and Secret in your integration match exactly what's set in the secretservice file. In production, you'd typically manage keys securely with a proper key management service.
The connectorID parameter in an Architect flow simply appends to your WebSocket URL so you can route to different bots or experiences from the same middleware. For example, if your integration is configured with wss://audio-connector-websocket-mw and you set connectorID = Test, Genesys Cloud will open a connection at:
Your middleware can then use this value to start the correct bot experience.
Reference URLs
https://developer.genesys.cloud/devapps/audiohook/security#client-authentication
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-message-signatures-11
------------------------------
Faisal Yousuf
Manager, Customer Success & Services AI Solution Team
Original Message:
Sent: 09-25-2025 20:14
From: Yonezawa Takuya
Subject: Connect to OpenAI's real-time API using an audio connector.
Hello,
Thank you for your response.
I understand that an intermediate server/gateway is required.
I am trying to test the sample you provided.
Within that, I would appreciate clarification on two points if possible.
①4. Configure Genesys Cloud Integration
"Ensure that credentials align with the secret key defined in ./src/services/secret-service.ts."
→Where do I obtain this secret key? Is it separate from the API Key?
②5. Architect Flow Setup
"Add a Call Audio Connector action to the flow."
→I assume the Connector ID is required for the Audio Connector action. What exactly is this Connector ID?
------------------------------
Yonezawa Takuya
Original Message:
Sent: 09-12-2025 05:28
From: Jerome Saint-Marc
Subject: Connect to OpenAI's real-time API using an audio connector.
Hello,
As Cameron recently explained in this other post, "the Audio Connector has specific requirements for the connection and message format"
AudioConnector is based on the use of the AudioHook Protocol. You can find information on the "About Audio Connector" page. It contains a link to the AudioHook Protocol specification. You'll need an intermediate server/gateway (code) so the two sides can communicate.
A great blog, with a code example, was recently published by Faisal, one of our colleagues. I'd suggest to have a look at it as it will likely help you connecting Genesys Cloud with a 3rd party system: Audio Connector: Sample Integration with OpenAI Realtime Voice API
Regards,
------------------------------
Jerome Saint-Marc
Senior Development Support Engineer
Original Message:
Sent: 09-12-2025 00:48
From: Yonezawa Takuya
Subject: Connect to OpenAI's real-time API using an audio connector.
I want to connect to OpenAI's real-time API using an audio connector.
What I implemented in Genesys Cloud was:
Installing the "AudioConnector" integration and configuring the API Key with the key obtained from OpenAI. I did not configure any other integrations.
I set up the task "Call Audio Connector" in Architect, configuring the integration and connector ID (setting the integration ID as the connector ID), but an error occurs.
The error is of type: NoResourceError.
If anyone has connected to OpenAI using an audio connector, please share your experience in the comments.
#Architect
#Integrations
------------------------------
Yonezawa Takuya
------------------------------