Trying to hit a simple internal API from a CXone Studio SNIPPET action. I’ve got the proxy set up and the endpoint looks right, but the response variable is coming back empty every time. No error, just nothing. Here’s the snippet code:
GetRESTProxy("MyProxy", "GET", "/api/status", "", "", "response");
The proxy is configured with basic auth and the correct base URL. I’ve checked the logs and the request seems to go out, but response stays null.
- Using CXone Studio v2
- Proxy target is
https://internal-api.example.com - GET /api/status works fine in Postman
- Response format is JSON
What am I missing in the SNIPPET syntax?